Permalink
Browse files

Update udev rules. closes #6

  • Loading branch information...
1 parent 1875a2d commit a6d9f7648a2a06488490af0e8771cedd6fec2e81 Barnaby Gray committed Jan 4, 2013
Showing with 6 additions and 7 deletions.
  1. +6 −0 udev/99wmr100.rules
  2. +0 −7 udev/wmr100.rules
View
@@ -0,0 +1,6 @@
+# udev rule to create nodes with correct membership and permissions for
+# all PTP cameras; must be run before udev.rules
+#
+
+ACTION=="add", SUBSYSTEM=="usb_device", SYSFS{idProduct}=="ca01", SYSFS{idVendor}=="0fde", \
+ MODE="0660", GROUP="weather"
View
@@ -1,7 +0,0 @@
-# udev rule to create nodes with correct membership and permissions for
-# all PTP cameras; must be run before udev.rules
-#
-
-ACTION=="add", SUBSYSTEM=="usb_device", ATTRS{idProduct}=="ca01", ATTRS{idVendor}=="0fde", \
- PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", \
- NAME="%c", MODE="0660", GROUP="weather"

0 comments on commit a6d9f76

Please sign in to comment.