1 |
nerdboy 08/09/08 03:46:34 |
2 |
|
3 |
Modified: 99-gpsd-usb.rules |
4 |
Log: |
5 |
updated motif depend and added udev rule enhancements (see bug 235855) |
6 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.1 x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 sci-geosciences/gpsd/files/99-gpsd-usb.rules |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/files/99-gpsd-usb.rules?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/files/99-gpsd-usb.rules?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/gpsd/files/99-gpsd-usb.rules?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: 99-gpsd-usb.rules |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/files/99-gpsd-usb.rules,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- 99-gpsd-usb.rules 23 Feb 2008 20:03:59 -0000 1.1 |
22 |
+++ 99-gpsd-usb.rules 8 Sep 2008 03:46:33 -0000 1.2 |
23 |
@@ -1,9 +1,19 @@ |
24 |
-# udev rules for the gpsd USB hotplugging (without hotplug) |
25 |
+# udev rules for the gpsd USB hotplugging |
26 |
|
27 |
SUBSYSTEM!="tty", GOTO="gpsd-usb_rules_end" |
28 |
-ACTION!="add", GOTO="gpsd-usb_rules_end" |
29 |
|
30 |
-KERNEL=="ttyUSB[0-9]*", SYMLINK="gps%n", RUN+="/etc/hotplug/usb/gpsd.hotplug add $root/%k" |
31 |
+SYSFS{idVendor}=="067b", SYSFS{idProduct}=="2303", SUBSYSTEM=="tty", ACTION=="add", KERNEL=="ttyUSB[0-9]*", SYMLINK="gps%n", RUN+="/etc/hotplug/usb/gpsd.hotplug add $root/%k" |
32 |
+SYSFS{idVendor}=="067b", SYSFS{idProduct}=="2303", SUBSYSTEM=="tty", ACTION=="remove", KERNEL=="ttyUSB[0-9]*", RUN+="/etc/hotplug/usb/gpsd.hotplug remove $root/%k" |
33 |
+SYSFS{idVendor}=="0403", SYSFS{idProduct}=="6001", SUBSYSTEM=="tty", ACTION=="add", KERNEL=="ttyUSB[0-9]*", SYMLINK="gps%n", RUN+="/etc/hotplug/usb/gpsd.hotplug add $root/%k" |
34 |
+SYSFS{idVendor}=="0403", SYSFS{idProduct}=="6001", SUBSYSTEM=="tty", ACTION=="remove", KERNEL=="ttyUSB[0-9]*", RUN+="/etc/hotplug/usb/gpsd.hotplug remove $root/%k" |
35 |
+SYSFS{idVendor}=="1163", SYSFS{idProduct}=="0100", SUBSYSTEM=="tty", ACTION=="add", KERNEL=="ttyUSB[0-9]*", SYMLINK="gps%n", RUN+="/etc/hotplug/usb/gpsd.hotplug add $root/%k" |
36 |
+SYSFS{idVendor}=="1163", SYSFS{idProduct}=="0100", SUBSYSTEM=="tty", ACTION=="remove", KERNEL=="ttyUSB[0-9]*", RUN+="/etc/hotplug/usb/gpsd.hotplug remove $root/%k" |
37 |
+SYSFS{idVendor}=="067b", SYSFS{idProduct}=="aaa0", SUBSYSTEM=="tty", ACTION=="add", KERNEL=="ttyUSB[0-9]*", SYMLINK="gps%n", RUN+="/etc/hotplug/usb/gpsd.hotplug add $root/%k" |
38 |
+SYSFS{idVendor}=="067b", SYSFS{idProduct}=="aaa0", SUBSYSTEM=="tty", ACTION=="remove", KERNEL=="ttyUSB[0-9]*", RUN+="/etc/hotplug/usb/gpsd.hotplug remove $root/%k" |
39 |
+SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", SUBSYSTEM=="tty", ACTION=="add", KERNEL=="ttyUSB[0-9]*", SYMLINK="gps%n", RUN+="/etc/hotplug/usb/gpsd.hotplug add $root/%k" |
40 |
+SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", SUBSYSTEM=="tty", ACTION=="remove", KERNEL=="ttyUSB[0-9]*", RUN+="/etc/hotplug/usb/gpsd.hotplug remove $root/%k" |
41 |
+#SYSFS{idVendor}=="", SYSFS{idProduct}=="", SUBSYSTEM=="tty", ACTION=="add", KERNEL=="ttyUSB[0-9]*", SYMLINK="gps%n", RUN+="/etc/hotplug/usb/gpsd.hotplug add $root/%k" |
42 |
+#SYSFS{idVendor}=="", SYSFS{idProduct}=="", SUBSYSTEM=="tty", ACTION=="remove", KERNEL=="ttyUSB[0-9]*", RUN+="/etc/hotplug/usb/gpsd.hotplug remove $root/%k" |
43 |
|
44 |
LABEL="gpsd-usb_rules_end" |