<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
Wanted to share how I did it. <br>
So far I've only tried my p/s mouse with [hid] and it works.<br>
<br>
Followed this howto:<br>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<a
 href="http://sourceforge.net/apps/mediawiki/gizmod/index.php?title=HOWTO_-_Setting_Input_Device_Permissions_-_Creating_a_udev_Rule">http://sourceforge.net/apps/mediawiki/gizmod/index.php?title=HOWTO_-_Setting_Input_Device_Permissions_-_Creating_a_udev_Rule</a><br>
<br>
The commands "udevrestart" and "udevcontrol" won't work on Lucid, but a
reboot is enough after completing these procedures in the terminal
(this should work on Ubuntu Jaunty and above)...<br>
<br>
# Creating the "input" group:<br>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span
 class="Apple-style-span"
 style="font-family: sans-serif; font-size: 13px; line-height: 19px;"></span></span><br>
sudo groupadd -f input<br>
<span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span
 class="Apple-style-span"
 style="font-family: sans-serif; font-size: 13px; line-height: 19px;"><br>
<br>
</span></span># Adding the user to this group:<br>
<br>
sudo gpasswd -a username input<br>
<br>
<br>
# Creating the file /etc/udev/rules.d/85-pure-data.rules:<br>
<br>
gksudo gedit /etc/udev/rules.d/85-pure-data.rules<br>
<br>
<br>
# Fill that with:<br>
<br>
KERNEL=="event*",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME="input/%k", MODE:="660", GROUP="input"<br>
KERNEL=="js*",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME="input/%k", MODE:="664", GROUP="input"<br>
<br>
<br>
# Then reboot and check if changes took effect with this command:<br>
<br>
ls -al /dev/input<br>
<br>
<br>
# result should be something like this (notice that event0, event1..
are now in the input group):<br>
<br>
total 0<br>
drwxr-xr-x&nbsp; 3 root root&nbsp;&nbsp;&nbsp;&nbsp; 220 2010-06-09 16:22 .<br>
drwxr-xr-x 16 root root&nbsp;&nbsp;&nbsp; 3700 2010-06-09 16:22 ..<br>
drwxr-xr-x&nbsp; 2 root root&nbsp;&nbsp;&nbsp;&nbsp; 100 2010-06-09 16:22 by-path<br>
crw-rw----&nbsp; 1 root input 13, 64 2010-06-09 16:22 event0<br>
crw-rw----&nbsp; 1 root input 13, 65 2010-06-09 16:22 event1<br>
crw-rw----&nbsp; 1 root input 13, 66 2010-06-09 16:22 event2<br>
crw-rw----&nbsp; 1 root input 13, 67 2010-06-09 16:22 event3<br>
crw-rw----&nbsp; 1 root input 13, 68 2010-06-09 16:22 event4<br>
crw-r-----&nbsp; 1 root root&nbsp; 13, 63 2010-06-09 16:22 mice<br>
crw-r-----&nbsp; 1 root root&nbsp; 13, 32 2010-06-09 16:22 mouse0<br>
crw-r-----&nbsp; 1 root root&nbsp; 13, 33 2010-06-09 16:22 mouse1<br>
<br>
<br>
/////////////<br>
<br>
Can't say I know exactly what I did, but if this is a good way to do
it, maybe a howto could be added to the Pure Data site?<br>
</body>
</html>