From 5c16b1315c2b99f7946dd39b17d18a56ea02b5dc Mon Sep 17 00:00:00 2001 From: laforge Date: Sat, 27 May 2006 18:05:40 +0000 Subject: 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 --- README | 3 +++ etc/udev/librfid.rules | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3