From: Harald Welte Date: Sat, 27 May 2006 18:05:40 +0000 (+0000) Subject: add information about our own udev rules file to README X-Git-Url: http://git.rot13.org/?p=librfid;a=commitdiff_plain;h=9a6024c72d85a577023f03a4c68e9c349e1620aa 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 --- 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"