Hi,

Here is a patch that loads/unloads USB modules in the runvdr script
found in e-tobi and probably Debian packages.
It works since 1 month here, with the Nova-TD-500 PCI card (with onboard
USB), which uses dvb_usb and dvb_usb_dib0700.

Happy new year to everyone ;-)

-- 
NH
--- /usr/sbin/runvdr.orig       2010-01-05 09:24:55.000000000 +0100
+++ /usr/sbin/runvdr    2010-01-05 09:22:33.000000000 +0100
@@ -13,6 +13,9 @@
 {
     MODULES=`lsmod | awk '/^dvb_core/ {gsub(/,/,"\n", $4); print $4}' | tac`
     [ "$MODULES" ] && MODULES="$MODULES dvb_core"
+    # 20091205/NH : get USB modules names too
+    USBMODULES=`lsmod | awk '/^dvb_usb / {gsub(/,/,"\n", $4); print $4}' | tac`
+    [ "$USBMODULES" ] && MODULES="$USBMODULES $MODULES"
 }
 
 # TODO: check if udev handles this on newer systems!?
_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to