Twinhan 20310 DVB-C/CI, udev problem

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

 



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

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

  Powered by Linux