[linux-dvb] cx88-dvb modprobe failure

Sid Boyce sboyce at blueyonder.co.uk
Mon Jun 4 00:30:52 CEST 2007


Sid Boyce wrote:
> Sid Boyce wrote:
>> Michael Krufky wrote:
>>>>> On 6/1/07, Sid Boyce <sboyce at blueyonder.co.uk> wrote:
>>>>>> Sid Boyce wrote:
>>>>>>
>>>>>> Note:- This is from the x86 box, no insmod option.
>>>>>>
>>>>> ====================================================================================
>>>>>>>> It was being autodected for around 2 years and until quite recently,
>>>>>>>> on the x86 box. January 20th. and 24th., but not in the following
>>>>>>>> message log. It doesn't appear in 20070410 or 20070415. Can't figure
>>>>>>>> out which kernel was in use then as they have been removed, but I
>>>>>>>> think up to 2.6.21-rc and the earliest I have around is 2007-05-03
>>>>>>>> 22:04 2.6.21-git4.
>>>>>>>>  # bzcat /var/log/messages-20070403.bz2 |less
>>>>>>>> Jan 20 03:37:45 barrabas kernel: CORE cx88[0]: subsystem: 17de:08a6,
>>>>>>>> board: KWorld/VStream XPert DVB-T [card=14]
>>>>>>>> Jan 20 03:37:45 barrabas kernel: cx88[0]/2: cx2388x based dvb card
>>>>>>>> Jan 20 03:37:45 barrabas kernel: DVB: registering new adapter
>>>>> (cx88[0]).
>>>>>>>> Jan 20 03:37:45 barrabas kernel: DVB: registering frontend 0 (Zarlink
>>>>>>>> MT352 DVB-T)...
>>>>>>>> Ditto for 24th. January.
>>>>>>>>
>>> Markus Rechberger wrote:
>>>> On 6/1/07, Markus Rechberger <mrechberger at gmail.com> wrote:
>>>>> There is an entry for this device in cx88-cards.c
>>>>>
>>>>>      1257       },{
>>>>>
>>>>>      1258               .subvendor = 0x17de,
>>>>>
>>>>>      1259               .subdevice = 0x08a6,
>>>>>
>>>> 0x08a4 isn't in the list though;
>>>>
>>>>>      1260               .card      = CX88_BOARD_KWORLD_DVB_T,
>>>>>
>>>>>      1261       },{
>>>>>
>>>>> Markus
>>>>>
>>> Thank you, Markus...  but please don't top-post.
>>>
>>> Anyway, You're right, 17de:08a6 IS supported for autodetection, and is inside
>>> cx88-cards.c ...  The strange thing is, Sid's original post had the subsystem
>>> 17de:08a4 ( http://linuxtv.org/pipermail/linux-dvb/2007-May/018339.html ) ...
>>> Why did the subsystem ID change between posts?
>>>
>>> Sid, is this the same card used in both instances, or is it a different card?
>>>
>> It certainly is, I moved it from the XP2800+ box to the 64-bit AM2 box 
>> and lspci now says.
>> 01:08.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video 
>> and Audio Decoder (rev 05)
>> 01:08.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and 
>> Audio Decoder (rev 05)
>>
>> 01:08.0 Class 0400: 14f1:8800 (rev 05)
>> 01:08.2 Class 0480: 14f1:8800 (rev 05)
>>
>> Something relating to PCI-IDS from openSUSE did cross my mind. At some 
>> stage it looks like the x86 also failed to autodetect the card after a 
>> pci-ids change.
>> # rpm -ql pciutils-ids|less
>> /usr/bin/merge-pciids
>> /usr/bin/merge-pciids.pl
>> /usr/share/pci.ids
>> /usr/share/pci.ids.d
>>
>> # grep -i kworld /usr/share/pci.ids
>>                  1131 0000  KWorld V-Stream Studio TV Terminator
>>                  17de 08a1  KWorld/VStream XPert DVB-T with cx22702
>>                  17de 08a6  KWorld/VStream XPert DVB-T
>>                  17de 08b2  KWorld DVB-S 100
>>                  17de 08a6  KWorld/VStream XPert DVB-T
>>
>> Regards
>> Sid.
>>
> 
> I changed cards.c in new kernel 2.6.22-rc3-git6 to read
>                .subvendor = 0x17de,
>                  .subdevice = 0x08a4,
>                  .card      = CX88_BOARD_KWORLD_DVB_T,
> 
> I also commented out the "options card=14" in /etc/modprobe.conf.local
> Still only registers VBI devices.
> # dmesg|grep cx8
> cx2388x cx88-mpeg Driver Manager version 0.0.6 loaded
> CORE cx88[0]: subsystem: 17de:08a4, board: KWorld/VStream XPert DVB-T 
> [card=14,autodetected]
> cx88[0]: Test OK
> input: cx88 IR (KWorld/VStream XPert D as /class/input/input5
> cx88[0]/0: found at 0000:01:08.0, rev: 5, irq: 18, latency: 32, mmio: 
> 0xfb000000
> cx88[0]/0: registered device video1 [v4l2]
> cx88[0]/0: registered device vbi0
> cx88[0]/0: found at 0000:01:08.2, rev: 5, irq: 18, latency: 32, mmio: 
> 0xfa000000
> cx88[0]/0: registered device video2 [v4l2]
> cx88[0]/0: registered device vbi1
> cx8802_register_driver() ->registering driver type=dvb access=shared
> cx8802_register_driver() ->registering driver type=dvb access=shared
> cx8802_register_driver() ->registering driver type=dvb access=shared
> cx8802_register_driver() ->registering driver type=dvb access=shared
> 
> Regards
> Sid.

Here is some more stuff from last year on the x86 box, found on the 
precious HD in the box. It worked fine back then also. The difference I 
see between this and the latest boot.msg is that now 2 cx88 devices are 
registered video1/vbi1 and video2/vbi2 and only one in the 2006 dmesg.

2006 dmesg
===========
Linux version 2.6.17-rc1-git11 (root at barrabas) (gcc version 4.1.0 (SUSE 
Linux)) #2 PREEMPT Sat Apr 15 13:43:58 BST 2006
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [APCM] -> GSI 21 (level, 
high) -> IRQ 193
PCI: Setting latency timer of device 0000:00:0d.0 to 64
cx2388x dvb driver version 0.0.5 loaded
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[193] 
MMIO=[e7084000-e70847ff]  Max Packet=[2048]  IR/IT contexts=[4/4]
CORE cx88[0]: subsystem: 17de:08a6, board: KWorld/VStream XPert DVB-T 
[card=14,autodetected]
TV tuner 4 at 0x1fe, Radio tuner -1 at 0x1fe
input: cx88 IR (KWorld/VStream XPert D as /class/input/input5
ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
ACPI: PCI Interrupt 0000:01:08.2[A] -> Link [APC3] -> GSI 18 (level, 
high) -> IRQ 209
cx88[0]/2: found at 0000:01:08.2, rev: 5, irq: 209, latency: 32, mmio: 
0xe5000000
cx88[0]/2: cx2388x based dvb card
DVB: registering new adapter (cx88[0]).
DVB: registering frontend 0 (Zarlink MT352 DVB-T)...
cx2388x v4l2 driver version 0.0.5 loaded
ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [APC3] -> GSI 18 (level, 
high) -> IRQ 209
cx88[0]/0: found at 0000:01:08.0, rev: 5, irq: 209, latency: 32, mmio: 
0xe4000000
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx2388x blackbird driver version 0.0.5 loaded

Latest boot.msg
=================
<6>CORE cx88[0]: subsystem: 17de:08a4, board: KWorld/VStream XPert DVB-T 
[card=14,autodetected]
<6>TV tuner 4 at 0x1fe, Radio tuner -1 at 0x1fe
<6>cx88[0]: Test OK
<6>input: cx88 IR (KWorld/VStream XPert D as /class/input/input5
<6>cx88[0]/0: found at 0000:01:08.0, rev: 5, irq: 18, latency: 32, mmio: 
0xfb000000
<6>cx88[0]/0: registered device video1 [v4l2]
<6>cx88[0]/0: registered device vbi0
<6>ACPI: PCI Interrupt 0000:01:08.2[A] -> Link [APC3] -> GSI 18 (level, 
low) -> IRQ 18
<6>cx88[0]/0: found at 0000:01:08.2, rev: 5, irq: 18, latency: 32, mmio: 
0xfa000000
<6>cx88[0]/0: registered device video2 [v4l2]
<6>cx88[0]/0: registered device vbi1

  # l /dev/video*
lrwxrwxrwx  1 root root      6 2007-06-02 01:43 /dev/video -> video0
crw-rw----+ 1 root video 81, 0 2007-06-02 01:43 /dev/video0
crw-rw----+ 1 root video 81, 1 2007-06-02 01:43 /dev/video1
crw-rw----+ 1 root video 81, 2 2007-06-02 01:43 /dev/video2

I have a gspca webcam attached which must be video0.
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support 
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks




More information about the linux-dvb mailing list