summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2006-05-27 18:05:40 +0000
committerlaforge <laforge@e0336214-984f-0b4b-a45f-81c69e1f0ede>2006-05-27 18:05:40 +0000
commit5c16b1315c2b99f7946dd39b17d18a56ea02b5dc (patch)
tree285161ec63c1d0aca8cfa859f28f4904437da721
parentd6c151e66d34f3c0b2ff297da7e3f3f59ba4656f (diff)
add information about our own udev rules file to README
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1805 e0336214-984f-0b4b-a45f-81c69e1f0ede
-rw-r--r--README3
-rw-r--r--etc/udev/librfid.rules2
2 files changed, 4 insertions, 1 deletions
diff --git a/README b/README
index b479c16..b4439af 100644
--- a/README
+++ b/README
@@ -52,6 +52,9 @@ In order to use the reader, you will need to set the permissions of the respecti
/proc/bus/usb or /sys/bus/usb files (or run the application as root, if you
trust my code, which you shouldn't).
+If you run udev, just use the 'etc/udev/librfid.rules' udev rulefile, which should
+change the group of the usb device to 'users'.
+
3.2 (old) OpenCT backend
This backend has the advantage that it will allow you to use the contact-based
diff --git a/etc/udev/librfid.rules b/etc/udev/librfid.rules
index 71de902..a33dace 100644
--- a/etc/udev/librfid.rules
+++ b/etc/udev/librfid.rules
@@ -8,6 +8,6 @@ ACTION!="add", GOTO="librfid_rules_end"
SUBSYSTEM!="usb_device", GOTO="librfid_rules_end"
# Omnikey 5121
-SYSFS{idVendor}=="076b", SYSFS{idProduct}=="5121", MODE="664", GROUP="laforge"
+SYSFS{idVendor}=="076b", SYSFS{idProduct}=="5121", MODE="664", GROUP="users"
LABEL="librfid_rules_end"
personal git repositories of Harald Welte. Your mileage may vary