updated udev rules for openbsd autosuspend
authorChristian Pointner <equinox@realraum.at>
Tue, 19 Jul 2011 18:54:50 +0000 (18:54 +0000)
committerChristian Pointner <equinox@realraum.at>
Tue, 19 Jul 2011 18:54:50 +0000 (18:54 +0000)
udev.rules

index 2a99506..4bff711 100644 (file)
@@ -2,4 +2,7 @@
 #
 # copy this to /etc/udev/rules.d/ and change serial number to your needs
 
-SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{serial}=="A40015qH", SYMLINK+="door", OWNER="tuer", GROUP="nogroup"
+SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{serial}=="A6008ifG", SYMLINK+="door", OWNER="tuer", GROUP="nogroup"
+
+# disable autosuspend for OpenPCD
+ACTION=="add", ATTR{idVendor}=="16c0", ATTR{idProduct}=="076b", MODE="664", OWNER="tuer", ATTR{power/autosuspend}="0"