kbtv and saa card (Philips saa7134)

Danny Pansters danny at ricin.com
Wed Feb 20 22:24:46 UTC 2008


On Wednesday 20 February 2008 23:07:00 Torfinn Ingolfsen wrote:
> Hello,
> I'm trying out the latest kbtv from ports (kbtv-1.2.4_1) with this card:
> saa0 at pci2:1:0:  class=0x048000 card=0x002b11bd chip=0x71341131 rev=0x01
> hdr=0x00 vendor     = 'Philips Semiconductors'
>     device     = 'SAA7134HL Multimedia Capture Device'
>     class      = multimedia
>
> since I had this card lying around.
>
> dmesg shows:
> Feb 20 22:27:06 kg-quiet kernel: saa0: <Phillips SAA7134 AV broadcast
> decoder> mem 0xfddff000-0xfddff3ff irq 21 at device 1.0 on pci2
> Feb 20 22:27:06 kg-quiet kernel: iicbus0: <SAA713x I2C Controller> on saa0
> Feb 20 22:27:06 kg-quiet kernel: iic0: <I2C generic I/O> on iicbus0
>
> But when kbtv tries to tune channels I get lots of these messages in
> /var/log/messages: Feb 20 22:36:23 kg-quiet kernel: iicbus0: START: bus
> error (status 0x9 loop:12) Feb 20 22:39:34 kg-quiet kernel: iicbus0: START:
> bus error (status 0x9 loop:12) Feb 20 22:39:38 kg-quiet last message
> repeated 99 times
> Feb 20 22:39:38 kg-quiet kernel: iicbus0: START: bus error (status 0x9
> loop:13) Feb 20 22:39:38 kg-quiet kernel: iicbus0: START: bus error (status
> 0x9 loop:12) Feb 20 22:39:39 kg-quiet last message repeated 23 times
> Feb 20 22:39:39 kg-quiet kernel: iicbus0: START: bus error (status 0x9
> loop:14) Feb 20 22:39:39 kg-quiet kernel: iicbus0: START: bus error (status
> 0x9 loop:12)
>
> Any hints for debugging?

Does tuning work at all despite the dmesg spam? In the good tradition of 
multimedia, the spam may be normal. I'm not sure if I can ever get rid of the 
spam frankly, maybe once I fold the iic stuff into FreeBSD7's interface, but 
I suspect there will still be spam. Cxm makes similar spam.

I see its a Pinnacle PCTV Stereo card according to the vendor and product ID. 
Are you sure you set the tuner api type correctly in the port options? Do you 
know what tuner it is?

Perhaps you may want to try kbtv2 instead, as that's the codebase I'm 
currently working on.

Amd64 is not tested yet, that's all. On FreeBSD6 I expect it to work.

>
> I am running FreeBSD 6.3-stable (amd64):
> root at kg-quiet# uname -a
> FreeBSD kg-quiet.kg4.no 6.3-STABLE FreeBSD 6.3-STABLE #20: Thu Jan 24
> 00:42:47 CET 2008     root at kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET 
> amd64

Cheers,

Dan


More information about the freebsd-multimedia mailing list