[PD] How I got [hid] working with mouse on Ubuntu Lucid
ailo
ailo.at at gmail.com
Wed Jun 9 16:46:15 CEST 2010
Wanted to share how I did it.
So far I've only tried my p/s mouse with [hid] and it works.
Followed this howto:
http://sourceforge.net/apps/mediawiki/gizmod/index.php?title=HOWTO_-_Setting_Input_Device_Permissions_-_Creating_a_udev_Rule
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)...
# Creating the "input" group:
sudo groupadd -f input
# Adding the user to this group:
sudo gpasswd -a username input
# Creating the file /etc/udev/rules.d/85-pure-data.rules:
gksudo gedit /etc/udev/rules.d/85-pure-data.rules
# Fill that with:
KERNEL=="event*", NAME="input/%k", MODE:="660", GROUP="input"
KERNEL=="js*", NAME="input/%k", MODE:="664", GROUP="input"
# Then reboot and check if changes took effect with this command:
ls -al /dev/input
# result should be something like this (notice that event0, event1.. are
now in the input group):
total 0
drwxr-xr-x 3 root root 220 2010-06-09 16:22 .
drwxr-xr-x 16 root root 3700 2010-06-09 16:22 ..
drwxr-xr-x 2 root root 100 2010-06-09 16:22 by-path
crw-rw---- 1 root input 13, 64 2010-06-09 16:22 event0
crw-rw---- 1 root input 13, 65 2010-06-09 16:22 event1
crw-rw---- 1 root input 13, 66 2010-06-09 16:22 event2
crw-rw---- 1 root input 13, 67 2010-06-09 16:22 event3
crw-rw---- 1 root input 13, 68 2010-06-09 16:22 event4
crw-r----- 1 root root 13, 63 2010-06-09 16:22 mice
crw-r----- 1 root root 13, 32 2010-06-09 16:22 mouse0
crw-r----- 1 root root 13, 33 2010-06-09 16:22 mouse1
/////////////
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100609/317eb634/attachment.htm>
More information about the Pd-list
mailing list