From 9c3e25cddfd600687db5a5eac3b11b7b3859ff77 Mon Sep 17 00:00:00 2001 From: Bernd Porr Date: Sun, 9 Nov 2008 21:42:41 +0000 Subject: [PATCH] Simplified the comedi rules for usbdux(fast). Also fixed the coldplug problem: the script was only called after a hotplug but not at boot time. This should work now. --- etc/udev/90-comedi.rules | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/etc/udev/90-comedi.rules b/etc/udev/90-comedi.rules index 901938f..c30af20 100644 --- a/etc/udev/90-comedi.rules +++ b/etc/udev/90-comedi.rules @@ -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" -- 2.26.2