[MythDora] Autoloading modules in 2.6.20

gchris at bellsouth.net gchris at bellsouth.net
Mon Mar 19 21:25:35 CET 2007


Curious to know how my hardware would respond to the 2.6.20 kernel, I poked around 
the net looking for live CD distros at that level.  Sure enough I found two, one easily 
accessible, the not other not so easy.  I downloaded and burned Backtrack 2 and 
booted it just to see what drivers it would load for my two HD3000s and one PVR-350.  
The distro contains KDE with limited tools but I had a terminal window as well as Kwrite 
and Konqueror so here's what I was able to glean.

bt ~ # uname -r
2.6.20-BT-PwnSauce-NOSMP
bt ~ #  

bt ~ # lsmod
Module                  Size  Used by
ipv6                  227680  10
snd_seq_dummy           3084  0
snd_seq_oss            30720  0
snd_seq_midi_event      5888  1 snd_seq_oss
snd_seq                44016  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6668  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            42048  0
snd_mixer_oss          15232  2 snd_pcm_oss
pcmcia                 31272  0
yenta_socket           24476  0
rsrc_nonstatic         11276  1 yenta_socket
pcmcia_core            34488  3 pcmcia,yenta_socket,rsrc_nonstatic
nls_utf8                1920  1
capability              3468  0
commoncap               5376  1 capability
fuse                   38804  0
lp                      9928  0
parport_pc             24548  1
parport                30408  2 lp,parport_pc
psmouse                35616  0
wlan_scan_sta          12544  1
ath_rate_sample        12288  1
tuner                  63224  0
snd_intel8x0           29636  3
snd_ac97_codec         95276  1 snd_intel8x0
ath_pci                88636  0
wlan                  190916  4 wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal               189776  3 ath_rate_sample,ath_pci
pcspkr                  2432  0
intel_agp              21148  1
sk98lin               155168  0
cx8800                 28972  0
cx8802                 14856  0
ata_generic             5256  0
agpgart                27952  1 intel_agp
cx88xx                 61528  2 cx8800,cx8802
iTCO_wdt                9256  0
serio_raw               5380  0
iTCO_vendor_support     3720  1 iTCO_wdt
shpchp                 30240  0
ehci_hcd               29336  0
ac97_bus                2176  1 snd_ac97_codec
ir_common              26636  1 cx88xx
snd_pcm                68752  4 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
compat_ioctl32          1280  1 cx8800
i2c_i801                7180  0
i2c_algo_bit            7440  1 cx88xx
tveeprom               14112  1 cx88xx
snd_timer              19336  3 snd_seq,snd_pcm
snd                    44644  12 
snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
i2c_core               17680  5 tuner,cx88xx,i2c_i801,i2c_algo_bit,tveeprom
soundcore               5984  2 snd
videodev               25600  2 cx8800,cx88xx
snd_page_alloc          7816  2 snd_intel8x0,snd_pcm
v4l2_common            22144  3 tuner,cx8800,videodev
v4l1_compat            12936  2 cx8800,videodev
btcx_risc               4236  3 cx8800,cx8802,cx88xx
ohci1394               31284  0
video_buf              19848  3 cx8800,cx8802,cx88xx
evdev                   8320  0
ieee1394               84576  1 ohci1394
skge                   35860  0
uhci_hcd               21140  0
nls_iso8859_2           4608  0
nls_iso8859_1           4096  0
nls_cp437               5760  0
aufs                   83888  1
squashfs               44680  10
sqlzma                  3204  1 squashfs
unlzma                  4352  1 sqlzma

## Humm, no cx88-dvb. That's not a good sign.
bt ~ # ls -al /dev/video*
lrwxrwxrwx 1 root root 10 Mar 19 15:06 /dev/video0 -> v4l/video0
lrwxrwxrwx 1 root root 10 Mar 19 15:06 /dev/video1 -> v4l/video1
## Only two videos, but I've got no IVTV so that takes the PVR out of the picture.

bt ~ # ls -al /dev/dvb/adapter*
/bin/ls: /dev/dvb/adapter*: No such file or directory

##Well, no cx88-dvb means no /dev/dvb/adapters
## Let's see how the HD3000s faired in dmesg

bt ~ # dmesg | egrep 'cx|dvb|tvee'
cx2388x cx88-mpeg Driver Manager version 0.0.6 loaded
CORE cx88[0]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV 
[card=22,autodetected]
cx2388x v4l2 driver version 0.0.6 loaded
cx88[0]/2: cx2388x 8802 Driver Manager
cx88[0]/2: found at 0000:02:09.2, rev: 5, irq: 11, latency: 64, mmio: 0xf6000000
CORE cx88[1]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV 
[card=22,autodetected]
cx88[1]/2: cx2388x 8802 Driver Manager
cx88[1]/2: found at 0000:02:0a.2, rev: 5, irq: 10, latency: 64, mmio: 0xf4000000
cx88[0]/0: found at 0000:02:09.0, rev: 5, irq: 11, latency: 64, mmio: 0xf5000000
tuner 1-0043: chip found @ 0x86 (cx88[0])
tuner 1-0061: chip found @ 0xc2 (cx88[0])
tuner 2-0043: chip found @ 0x86 (cx88[1])
tuner 2-0061: chip found @ 0xc2 (cx88[1])
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0
cx88[1]/0: found at 0000:02:0a.0, rev: 5, irq: 10, latency: 64, mmio: 0xf3000000
cx88[1]/0: registered device video1 [v4l2]
cx88[1]/0: registered device vbi1
cx88[1]/0: registered device radio1
bt ~ #
## Well, it found and setup the analog side of the cards
## Lets try giving the kernel a little help

bt ~ # modprobe cx88-dvb
bt ~ # ls -al /dev/dvb/adapter*
/dev/dvb/adapter0:
total 0
drwxr-xr-x 2 root root     120 Mar 19 15:22 ./
drwxr-xr-x 4 root root      80 Mar 19 15:22 ../
crw-rw---- 1 root video 212, 4 Mar 19 15:22 demux0
crw-rw---- 1 root video 212, 5 Mar 19 15:22 dvr0
crw-rw---- 1 root video 212, 3 Mar 19 15:22 frontend0
crw-rw---- 1 root video 212, 7 Mar 19 15:22 net0

/dev/dvb/adapter1:
total 0
drwxr-xr-x 2 root root      120 Mar 19 15:22 ./
drwxr-xr-x 4 root root       80 Mar 19 15:22 ../
crw-rw---- 1 root video 212, 68 Mar 19 15:22 demux0
crw-rw---- 1 root video 212, 69 Mar 19 15:22 dvr0
crw-rw---- 1 root video 212, 67 Mar 19 15:22 frontend0
crw-rw---- 1 root video 212, 71 Mar 19 15:22 net0
## Thats more like it!

dmesg | egrep 'cx|dvb|tvee'
cx2388x cx88-mpeg Driver Manager version 0.0.6 loaded
CORE cx88[0]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV 
[card=22,autodetected]
cx2388x v4l2 driver version 0.0.6 loaded
cx88[0]/2: cx2388x 8802 Driver Manager
cx88[0]/2: found at 0000:02:09.2, rev: 5, irq: 11, latency: 64, mmio: 0xf6000000
CORE cx88[1]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV 
[card=22,autodetected]
cx88[1]/2: cx2388x 8802 Driver Manager
cx88[1]/2: found at 0000:02:0a.2, rev: 5, irq: 10, latency: 64, mmio: 0xf4000000
cx88[0]/0: found at 0000:02:09.0, rev: 5, irq: 11, latency: 64, mmio: 0xf5000000
tuner 1-0043: chip found @ 0x86 (cx88[0])
tuner 1-0061: chip found @ 0xc2 (cx88[0])
tuner 2-0043: chip found @ 0x86 (cx88[1])
tuner 2-0061: chip found @ 0xc2 (cx88[1])
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0
cx88[1]/0: found at 0000:02:0a.0, rev: 5, irq: 10, latency: 64, mmio: 0xf3000000
cx88[1]/0: registered device video1 [v4l2]
cx88[1]/0: registered device vbi1
cx88[1]/0: registered device radio1
cx2388x dvb driver version 0.0.6 loaded
cx8802_register_driver() ->registering driver type=dvb access=shared
CORE cx88[0]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV [card=22]
cx88[0]/2: cx2388x based dvb card
DVB: registering new adapter (cx88[0]).
CORE cx88[1]: subsystem: 7063:3000, board: pcHDTV HD3000 HDTV [card=22]
cx88[1]/2: cx2388x based dvb card
DVB: registering new adapter (cx88[1]).
bt ~ #
## Looks to me like the HD3000s would be working now if they had their firmware.
## But from this very limited test it looks like 2.6.20 is actually a step
## backward from what 2.6.19 did with the HD3000s.

I'll work on getting the other distro now (Japanese) which is supposed to be based on 
fc6 with a 2.6.20 kernel.

Chris





More information about the mythdora mailing list