summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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