Simplified the comedi rules for usbdux(fast). Also fixed the coldplug problem: the...
authorBernd Porr <Bernd.Porr@f2s.com>
Sun, 9 Nov 2008 21:42:41 +0000 (21:42 +0000)
committerBernd Porr <Bernd.Porr@f2s.com>
Sun, 9 Nov 2008 21:42:41 +0000 (21:42 +0000)
etc/udev/90-comedi.rules

index 901938f3cdc6cef940969cba86b549c68b56a3ab..c30af2031c1c9656c80e7a48045261aefbd767d3 100644 (file)
@@ -1,11 +1,5 @@
-ACTION!="add", GOTO="usbdux_end"
-SUBSYSTEM=="usb_device", GOTO="usbdux_rules_real"
-SUBSYSTEM=="usb", GOTO="usbdux_rules_real"
-BUS!="usb", GOTO="usbdux_end"
-LABEL="usbdux_rules_real"
-SYSFS{idVendor}=="13d8", SYSFS{idProduct}=="0001", RUN+="/lib/udev/usbdux"
-SYSFS{idVendor}=="13d8", SYSFS{idProduct}=="0002", RUN+="/lib/udev/usbdux"
-SYSFS{idVendor}=="13d8", SYSFS{idProduct}=="0010", RUN+="/lib/udev/usbduxfast"
-LABEL="usbdux_end"
+ACTION=="add", BUS=="usb", SYSFS{idVendor}=="13d8", SYSFS{idProduct}=="0001", RUN+="/lib/udev/usbdux"
+ACTION=="add", BUS=="usb", SYSFS{idVendor}=="13d8", SYSFS{idProduct}=="0002", RUN+="/lib/udev/usbdux"
+ACTION=="add", BUS=="usb", SYSFS{idVendor}=="13d8", SYSFS{idProduct}=="0010", RUN+="/lib/udev/usbduxfast"
 
 KERNEL=="comedi[0-9]*", MODE="0666"