hi i can access the HID object only as root, or, to be more precise, i can access only as root the device i am trying to get into the HID object. Of course i can chmod 777 /dev/input/eventxx then access the device as user but isn t there an easier workaround ? Simone
If you use udev you can make a rule.. I have one for the CUI (create usb interface) in /etc/udev/rules.d/10-custom.rules
BUS=="usb", KERNEL=="event[0-9]*", SYSFS{product}=="CREATE USB Interface", GROUP="audio", SYMLINK+="input/cui"
and I am in the audio group.. I also create a symlink.. which you may or may not want to do.. You can also put a MODE="0660" or something in there...
-Alex
On Tue, Sep 30, 2008 at 6:06 PM, simone-www. io-lab. org cimo75@gmail.com wrote:
hi i can access the HID object only as root, or, to be more precise, i can access only as root the device i am trying to get into the HID object. Of course i can chmod 777 /dev/input/eventxx then access the device as user but isn t there an easier workaround ? Simone
-- .wmv , .wma , .pps along with all proprietary Windows formats won t be accepted and/or viewed....
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Alex wrote:
If you use udev you can make a rule.. I have one for the CUI (create usb interface) in /etc/udev/rules.d/10-custom.rules
BUS=="usb", KERNEL=="event[0-9]*", SYSFS{product}=="CREATE USB Interface", GROUP="audio", SYMLINK+="input/cui"
and I am in the audio group.. I also create a symlink.. which you may or may not want to do.. You can also put a MODE="0660" or something in there...
i guess it would be nicer to use another group (e.g. "hid") and add yourself to the "hid" group.
fgmasdr IOhannes