Re: Twinhan 20310 DVB-C/CI, udev problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A little bit more info: dmesg reveals:

Linux video capture interface: v1.00
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
bt878_probe: card id=[0x11822],[ Twinhan VisionPlus DVB ] has DVB functions.
bt878(0): Bt878 (rev 17) at 00:09.1, irq: 10, latency: 32, memory: 0xec800000


Is this card being supported? Or did I end up with an unsupported card version?

Why do I not get any message that it is loading the dvb_bt8xx driver?

Thank you and best regards,

Z.

======

Zoilo Gomez wrote:

I am trying to get a Twinhan 20310 (budget DVB-C/CI) working under Linux-2.6.17.5 on a Gentoo platform (udev).

The card show up as:

00:09.0 Multimedia video controller: Brooktree Corporation Unknown device 016e (rev 11)
   Subsystem: Twinhan Technology Co. Ltd Unknown device 0001
   Flags: bus master, fast devsel, latency 32, IRQ 10
   Memory at ed000000 (32-bit, prefetchable) [size=4K]
   Capabilities: [44] Vital Product Data
   Capabilities: [4c] Power Management version 2

00:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
   Subsystem: Twinhan Technology Co. Ltd VisionPlus DVB Card
   Flags: bus master, fast devsel, latency 32, IRQ 10
   Memory at ec800000 (32-bit, prefetchable) [size=4K]
   Capabilities: [44] Vital Product Data
   Capabilities: [4c] Power Management version 2

After compiling and installing my kernel, I downloaded mercure + v4l-dvb sources, and compiled / installed those as well; they do link properly against my 2.6.17.5 kernel.

Now if I run 'make insmod' in the v4l-dvb directory, all the drivers get loaded, but no '/dev/dvb/' directory pops up. However, a directory '/dev/v4l' does show up, with video0 device inside. 'make rmmod' nicely removes the v4l-directory as expected.

In /etc/udev/ruled.d/50-udev.rules, there is a line:
SUBSYSTEM=="dvb", PROGRAM="/etc/udev/scripts/dvb.sh %k", NAME="%c"

And the script /etc/udev/scripts/dvb.sh contains:
#!/bin/sh -e
echo $1 | sed -e 's#^dvb\([0-9]\)\.\([^0-9]*\)\([0-9]\)#dvb/adapter\1/\2\3#'
exit 0

It seems that all is in accordance with: http://www.linuxtv.org/cgi-bin/viewcvs.cgi/dvb-kernel/linux/Documentation/dvb/udev.txt?rev=1.1&view=markup.

Checking udev-output (after enabling udev-debugging) reveals that the udev-rule for SUBSYSTEM="dvb*" is not matching: the output in the log files says: "udev_rules_get_run: rule applied, 'dvb-bt8xx' is ignored".

I am somewhat stuck at this point. It seems to me that everything is going fine, except that udev cannot match the dvb-rule when the driver is being loaded.... And I do not understand why this rule does not match. How can I get more debugging info?

Or perhaps this is a well-known problem, with an easy fix? ;)

Thank you and best regards,

Z.

_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb




_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux