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...
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?
On Jun 9, 2010, at 4:46 PM, ailo wrote:
Wanted to share how I did it. So far I've only tried my p/s mouse with [hid] and it works.
maybe a howto could be added to the Pure Data site?
You mean?: http://puredata.info/docs/tutorials/HowToReadHIDDevicesInLinuxWithoutBeingRo...
Dan Wilcox danomatika.com robotcowboy.com
The howto on the pure data site didn't do the trick for my system. I don't know how system-wide my procedure is, but at least it should work on Ubuntu Jaunty, Karmic and Lucid.
On 06/09/2010 10:59 PM, Dan Wilcox wrote:
On Jun 9, 2010, at 4:46 PM, ailo wrote:
Wanted to share how I did it. So far I've only tried my p/s mouse with [hid] and it works.
maybe a howto could be added to the Pure Data site?
You mean?: http://puredata.info/docs/tutorials/HowToReadHIDDevicesInLinuxWithoutBeingRo...
Dan Wilcox danomatika.com http://danomatika.com robotcowboy.com http://robotcowboy.com
On Jun 9, 2010, at 11:10 PM, ailo wrote:
The howto on the pure data site didn't do the trick for my system. I don't know how system-wide my procedure is, but at least it should work on Ubuntu Jaunty, Karmic and Lucid.
On 06/09/2010 10:59 PM, Dan Wilcox wrote:
On Jun 9, 2010, at 4:46 PM, ailo wrote:
Wanted to share how I did it. So far I've only tried my p/s mouse with [hid] and it works.
maybe a howto could be added to the Pure Data site?
You mean?: http://puredata.info/docs/tutorials/HowToReadHIDDevicesInLinuxWithoutBeingRo...
Can you update the wiki page with what worked for you? At least as an addendum noting the versions?
Dan Wilcox danomatika.com robotcowboy.com
I think I'll have to look more into this.
Here only event0, event1... are available, but not mouse0, mouse1.. (even though mouse is available through events). Should be simple enough to configure.
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
I'll be trying all the different devices I have: p/s2-keyboard and mouse, usb-keyboard and mouse, as well as an old gamepad and a midi keyboard (both of which can be run through an old pci-audio-card).
Any tips on configuring udev rules are welcome.