[linux-dvb] Avermedia 771 DVB-T frontend detection flaky

Richard Holgate rlholgate.lists at googlemail.com
Sat Feb 18 02:24:44 CET 2006


Hi,

I'm having trouble getting kernel 2.6.15 to detect the frontend on my
Avermedia 771 DVB-T tuner card.

The card works correctly under 2.6.12 and 2.6.11 kernels, but 2.6.15 has
never detected it properly. With kernel 2.6.15 the card frontend is never
detected, although after boot I can verify that the remote control does
work.

I notice that if I boot 2.6.15, and then reboot into 2.6.11 or 2.6.12 the
card frontend will at first not be detected by these kernels either.  But if
I then modprobe the card repeatedly it will usually come good. It's as if
kernel 2.6.15 is flipping the hardware into some weird mode, and it takes a
few goes to flip it back and get it working again. Once the frontend is
detected and loaded the card works fine again.

Has something changed in the kernel config for this card? If anyone has it
working reliably with 2.6.15 could you please post your kernel config?

- Or -

Is there a known problem with recent drivers for this card?


FWIW here is dmesg output from my 2.6.15 kernel (which has never detected
the frontend successfully):

bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
PCI: Enabling device 0000:00:13.0 (0004 -> 0006)
PCI: IRQ 0 for device 0000:00:13.0 doesn't match PIRQ mask - try
pci=usepirqmask
PCI: setting IRQ 9 as level-triggered
PCI: Assigned IRQ 9 for device 0000:00:13.0
PCI: Sharing IRQ 9 with 0000:00:13.1
bttv0: Bt878 (rev 17) at 0000:00:13.0, irq: 9, latency: 32, mmio: 0xdd000000
bttv0: detected: AVermedia AverTV DVB-T 771 [card=123], PCI subsystem ID is
1461:0771
bttv0: using: AVerMedia AVerTV DVB-T 771 [card=123,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=0094008f [init]
bttv0: using tuner=4
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: add subdevice "remote0"
bttv0: add subdevice "dvb0"
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
PCI: Enabling device 0000:00:13.1 (0004 -> 0006)
PCI: Found IRQ 9 for device 0000:00:13.1
PCI: Sharing IRQ 9 with 0000:00:13.0
bt878(0): Bt878 (rev 17) at 00:13.1, irq: 9, latency: 32, memory: 0xdc800000
DVB: registering new adapter (bttv0).
mt352_read_register: readreg error (reg=127, ret==-5)
dvb-bt8xx: A frontend driver was not found for device 109e/0878 subsystem
1461/0771
Input: bttv IR (card=123) as /class/input/input2

Here is dmesg from my 2.6.11 kernel, after rebooting from a 2.6.15 kernel.
In this dmesg I've manually modprobed dvb-bt8xx once resulting in failed
detection of the frontend, then rmmod'ed and modprobe'd it several more
times. The second attempt to modprobe has succeeded, and each subsequent
attempt succeeds too. Some comments added inline:

bttv0: Bt878 (rev 17) at 0000:00:13.0, irq: 9, latency: 32, mmio:
0xdd000000       /* Modprobe bttv */
bttv0: detected: AVermedia AverTV DVB-T 771 [card=123], PCI subsystem ID is
1461:0771
bttv0: using: AVerMedia AVerTV DVB-T 771 [card=123,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=0094008f [init]
bttv0: using tuner=4
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: add subdevice "remote0"
bttv0: add subdevice "dvb0"
bt878: AUDIO driver version 0.0.0 loaded       /* Modprobe bt878 */
bt878: Bt878 AUDIO function found (0).
PCI: Enabling device 0000:00:13.1 (0004 -> 0006)
PCI: Found IRQ 9 for device 0000:00:13.1
PCI: Sharing IRQ 9 with 0000:00:13.0
bt878(0): Bt878 (rev 17) at 00:13.1, irq: 9, latency: 32, memory: 0xdc800000
DVB: registering new adapter (bttv0).       /* First modprobe dvb-bt8xx -
fails */
dvb-bt8xx: A frontend driver was not found for device 109e/0878 subsystem
1461/0771
DVB: registering new adapter (bttv0).       /* Second modprobe dvb-bt8xx -
succeeds */
DVB: registering frontend 0 (Zarlink MT352 DVB-T)...
DVB: registering new adapter (bttv0).       /* Third modprobe dvb-bt8xx -
succeeds */
DVB: registering frontend 0 (Zarlink MT352 DVB-T)...
DVB: registering new adapter (bttv0).       /* Fourth modprobe dvb-bt8xx -
succeeds */
DVB: registering frontend 0 (Zarlink MT352 DVB-T)...

 Any help with this would be much appretiated.

Thanks
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20060218/d84e277e/attachment.htm


More information about the linux-dvb mailing list