If you are using Ubuntu/Xubuntu Jaunty, the udev permissions files have been moved to /lib/udev/rules.d:
https://lists.ubuntu.com/archives/jaunty-changes/2009-January/002619.html
As for the above, you can try adding the group to plugdev, something like
KERNEL=="event[0-9]*", MODE="0666", GROUP="plugdev"
since all users should be in the plugdev group.
I use this technique to open the mouse on my visual application which uses sdl and runs from a basic terminal without X:
KERNEL=="mouse*" GROUP="plugdev"
There is also no need to modify the existing udev rule files since they are read sequentially and can overwrite each other.
So, following the debian udev rule naming convention, if you make a file called 90-puredata.rules and put the event rule
in there, it should override or modify the existing default rule.
Hans, it should be totally possible to ship a pd Ubuntu .deb that can install this automatically as I've done this with my own
tools. I can help with this if needed, I just havent used [hid] much.
Also, udev is really picky ... make sure each rule is on one line or it will fail. You can also use the udev tools to test each script
for parse errors, but I'm at work on a Hardy machine so I can't give you the command right now. The udev admin script changed names
between versions.
--