[PD] hid/linux: event permission with udev

IOhannes m zmoelnig zmoelnig at iem.at
Wed Dec 6 15:01:48 CET 2006


Roman Haefeli wrote:
> 
> this sounds so easy, but it is not, at least for me. although this might
> be off-topic, i'd like to ask the list, how to do this step-by-step,
> since everyone, who uses [hid] on a linux-box, is confronted with that
> question. the ugly solution i am using for now, is to change the
> permissions manually each time i boot the computer and want to use a
> joystick.

adding this line to /etc/udev/permissions.rules (on a debian system)
KERNEL=="event[0-9]*", MODE="0664",     GROUP="games"

should give you rw-rw-r permissions (and the group will be set to "games")
choose your own group and mode.

this is something you i have guessed by just looking at the /etc/udev/
directory and the contents of some files therein. i do not doubt that
there is lot of information available in the net.


mfgadr
IOhannes




More information about the Pd-list mailing list