[mythtv-users] Mythtv - Hauppauge PCI WinTV card - cx88_blackbird - no such device

richard richard at sheugh.com
Thu Aug 30 09:34:48 UTC 2007


Hi David, 

Thanks for that. The Subject line should now be correct. 

I have added my notes on the problem to this email. Initially 
I thought that because cx88_blackbird did not load this then 
stopped cx88_dvb from loading. With kernel 2.6.22, cx88_dvb 
and related modules are shown to load by dmesg even without 
completion of loading for cx88_blackbird. I hope my notes 
explain things a little better. 

regards

RAL

note of test results for my Hauppauge PCI TV Card

The story thus far:
I run GNU|Linux|Debian|Testing|kernel 2.6.21 AMD64 and 
included the relevant DVB modules with the kernel build.
MythTV 0.20 is installed and detects my card for DVB and for 
analogue signals. However "scan for channels" fails to lock 
to any of the signals. The card is good and signal strength is 
good on at least two channels. 

I ran # apt-get install dvb-utils to install scan. My local 
transmitter was not among the configure files provided so I 
googled and found that the Belfast LUG had uploaded a file. 
For test purposes I commented out all but the strongest 
channel in the configuration file and ran: 
$ scan -vvv ./uk-Divis | tee mychannels.conf
scanning ./uk-Divis
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
main:2247: FATAL: failed to open '/dev/dvb/adapter0/frontend0': 2 
No such file or directory

I'd previously looked at dmesg and noted that at least one 
module was not mentioned there. A google search suggested that 
some modules can fail to load, and as /dev/dvb was entirely 
missing, this seemed the likely cause. 

The relevant part of dmesg is here:

Linux video capture interface: v2.00
input: PC Speaker as /class/input/input2
cx2388x cx88-mpeg Driver Manager version 0.0.6 loaded
CORE cx88[0]: subsystem: 0070:9402, board: Hauppauge WinTV-HVR1100 DVB-T/Hybrid [card=40,autodetected]
TV tuner 63 at 0x1fe, Radio tuner -1 at 0x1fe
cx2388x v4l2 driver version 0.0.6 loaded
cx2388x alsa driver version 0.0.6 loaded
tveeprom 0-0050: Hauppauge model 94009, rev C2A0, serial# 214269
tveeprom 0-0050: MAC address is 00-0D-FE-03-44-FD
tveeprom 0-0050: tuner model is Philips FMD1216ME (idx 100, type 63)
tveeprom 0-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) ATSC/DVB Digital (eeprom 0xf4)
tveeprom 0-0050: audio processor is CX882 (idx 33)
tveeprom 0-0050: decoder processor is CX882 (idx 25)
tveeprom 0-0050: has radio, has IR receiver, has no IR transmitter
cx88[0]: hauppauge eeprom: model=94009
input: cx88 IR (Hauppauge WinTV-HVR110 as /class/input/input3
cx88[0]/2: cx2388x 8802 Driver Manager
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 18
ACPI: PCI Interrupt 0000:01:09.2[A] -> Link [LNKC] -> GSI 18 (level, low) -> IRQ 18
cx88[0]/2: found at 0000:01:09.2, rev: 5, irq: 18, latency: 64, mmio: 0xf8000000
ACPI: PCI Interrupt 0000:01:09.0[A] -> Link [LNKC] -> GSI 18 (level, low) -> IRQ 18
cx88[0]/0: found at 0000:01:09.0, rev: 5, irq: 18, latency: 64, mmio: 0xfa000000
tuner 0-0061: chip found @ 0xc2 (cx88[0])
tuner 0-0061: type set to 63 (Philips FMD1216ME MK3 Hybrid Tuner)
tuner 0-0061: type set to 63 (Philips FMD1216ME MK3 Hybrid Tuner)
tuner 0-0063: chip found @ 0xc6 (cx88[0])
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0
ACPI: PCI Interrupt 0000:01:09.1[A] -> Link [LNKC] -> GSI 18 (level, low) -> IRQ 18
cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
i2c_adapter i2c-1: nForce2 SMBus adapter at 0x2d00
i2c_adapter i2c-2: nForce2 SMBus adapter at 0x2e00
ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 20

And this confirmed the problem:
# modprobe cx88-blackbird
FATAL: Error inserting cx88_blackbird (/lib/modules/2.6.21-2-amd64/kernel/drivers/media/video/cx88/cx88-blackbird.ko): No such device

Removed all the modules and tried again
# modprobe -v  cx88-blackbird
insmod /lib/modules/2.6.21-2-amd64/kernel/drivers/media/video/v4l2-common.ko 
insmod /lib/modules/2.6.21-2-amd64/kernel/drivers/media/video/btcx-risc.ko 
insmod /lib/modules/2.6.21-2-amd64/kernel/drivers/media/video/compat_ioctl32.ko 
insmod /lib/modules/2.6.21-2-amd64/kernel/drivers/media/video/v4l1-compat.ko 
insmod /lib/modules/2.6.21-2-amd64/kernel/drivers/media/video/videodev.ko 
insmod /lib/modules/2.6.21-2-amd64/kernel/drivers/i2c/i2c-core.ko 
insmod /lib/modules/2.6.21-2-amd64/kernel/drivers/media/video/tveeprom.ko 
insmod /lib/modules/2.6.21-2-amd64/kernel/drivers/media/video/video-buf.ko 
insmod /lib/modules/2.6.21-2-amd64/kernel/drivers/i2c/algos/i2c-algo-bit.ko 
insmod /lib/modules/2.6.21-2-amd64/kernel/drivers/media/common/ir-common.ko 
insmod /lib/modules/2.6.21-2-amd64/kernel/drivers/media/video/cx88/cx88xx.ko 
insmod /lib/modules/2.6.21-2-amd64/kernel/drivers/media/video/cx88/cx8800.ko 
insmod /lib/modules/2.6.21-2-amd64/kernel/drivers/media/video/cx2341x.ko 
insmod /lib/modules/2.6.21-2-amd64/kernel/drivers/base/firmware_class.ko 
insmod /lib/modules/2.6.21-2-amd64/kernel/drivers/media/video/cx88/cx8802.ko 
insmod /lib/modules/2.6.21-2-amd64/kernel/drivers/media/video/cx88/cx88-blackbird.ko 
FATAL: Error inserting cx88_blackbird (/lib/modules/2.6.21-2-amd64/kernel/drivers/media/video/cx88/cx88-blackbird.ko): No such device

syslog says this:
cx88[0]/2 : found at 0000:01:09.2, rev:5 irq:18, latency: 64, mmio: 0xf8000000
cx2388x blackbird driver version 0.0.6 loaded
cx8802_register_driver() ->registering driver type=blackbird access=shared
CORE cx88[0]: subsystem: 0070:9402, board: Hauppauge WinTV-HVR1100 DVB/THybrid [card=40]
cx8802 register_driver() ->probe failed err = -19

ran modprobe cx88-dvb
This installed a few modules and created /dev/dvb etc. Scan now gives: 
$ scan -vvv ./uk-Divis | tee mychannels.conf
scanning ./uk-Divis
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 538000000 0 3 9 1 0 0 0
>>> tune to: 538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_AUTO:QAM_16:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE
>>> tuning status == 0x01
>>> tuning status == 0x01
>>> tuning status == 0x01
>>> tuning status == 0x01
>>> tuning status == 0x01
>>> tuning status == 0x01
>>> tuning status == 0x01
>>> tuning status == 0x01
>>> tuning status == 0x01
>>> tuning status == 0x01
WARNING: >>> tuning failed!!!
>>> tune to: 538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_AUTO:QAM_16:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE (tuning failed)
>>> tuning status == 0x01
>>> tuning status == 0x01
>>> tuning status == 0x01
>>> tuning status == 0x01
>>> tuning status == 0x01
>>> tuning status == 0x01
>>> tuning status == 0x01
>>> tuning status == 0x01
>>> tuning status == 0x01
>>> tuning status == 0x01
WARNING: >>> tuning failed!!!
ERROR: initial tuning failed
dumping lists (0 services)
Done.

At this point a bug in the kernel modules seems most likely. 
I compiled and installed Debian|unstable linux-source-2.6.22.
This gave similar results, however with the newer kernel both Mythtv 
(setup) and scan were able to lock to the DVB transmissions and to 
identify channels. But Mythtv (frontend) was still unable to lock 
the DVB channels or to display their picture. Analogue channel 
video was displayed. 

If all else fails it's back to linux-kernel-2.6.18 as that at least 
loads cx88_blackbird and try to progress Mythtv with that. 






More information about the mythtv-users mailing list