[PD-dev] configuring ubuntu: hid readable + Intuos3

B. Bogart ben at ekran.org
Mon Apr 21 18:36:21 CEST 2008


Hello João,

Your udev issues are beyond PD, in fact beyond the OS, as udev works
about the same in all OSs that use it, the debian information should be
damn close to what you need to do.

I had always manually changed permissions to the file (lost and reboot,
or unplug) and then did my work, I could not figure out the udev stuff
since its very complex. Maybe there is a udev list you could ask on.

I suggest you look at the udev manpage (man udev)

and check out these files:

/etc/udev/rules.d/

I saw one called permissions on my gutsy.

This ubuntu forum looks promising:

http://ubuntuforums.org/showthread.php?t=168221

.b.

João Pais wrote:
> Hi,
> 
> I'm trying to configure my system to start using ubuntu (7.10). So far so  
> good, unbuntustudio, pd (both versions) and jack are working.
> 
> I was looking into hid, but I don't have permission in udev to read  
> /dev/input. I saw that there were some posts on the list about this, but  
> no one was either clear enough/made for ubuntu (more for debian). I  
> thought, instead of loosing lots of time on myself and potentially  
> becoming frustrated and destryoing my system, I ask for 5 minutes to  
> someone else and potentially will waste only 1/2 hour later, and  
> everything will work.
> Also in puredata.info there was nothing about this topic, even though a  
> great number of persons already went through these steps. I guess I'll do  
> a report once things are working, for the next sucke.., uh, person who  
> tries to venture into this.
> 
> Below are my xorg.conf and a list of my current input devs (identified, as  
> I could with cat /dev/input/xxx). My questions would be:
> - I'm using an ibm thinkpad with trackpoint & touchpad, + an usb wacom  
> Intous3. How can I get Pd (hid) to capture the Intuous3, without the  
> intous3 controlling the cursor? [The trackpoint is using the "mice"  
> driver, which apparently is wrong]
> - is it possible for the intuos3 to behave like stated in pd, but like a  
> normal mouse controller outside of pd? I guess not, but just wanted to  
> know.
> - did anyone got the side pads and buttons of the Intuos3 to work? I saw  
> few documentation in the net about it. I got the pads on my xorg.conf, but  
> I have no program that can test it for now.
> 
> I guess that might be it for now. Thanks for you r help.
> 
> Joao
> 
> 
> PS: when this is finished, my next step will be the rme multiface. are  
> there any good pages to look at that?
> 
> 
> -- XORG.CONF --
> 
> # xorg.conf (xorg X Window System server configuration file)
> #
> # This file was generated by dexconf, the Debian X Configuration tool,  
> using
> # values from the debconf database.
> #
> # Edit this file with caution, and see the xorg.conf manual page.
> # (Type "man xorg.conf" at the shell prompt.)
> #
> # This file is automatically updated on xserver-xorg package upgrades  
> *only*
> # if it has not been modified since the last upgrade of the xserver-xorg
> # package.
> #
> # If you have edited this file but would like it to be automatically  
> updated
> # again, run the following command:
> #   sudo dpkg-reconfigure -phigh xserver-xorg
> 
> Section "Files"
> EndSection
> 
> Section "InputDevice"
> 	Identifier	"Generic Keyboard"
> 	Driver		"kbd"
> 	Option		"CoreKeyboard"
> 	Option		"XkbRules"	"xorg"
> 	Option		"XkbModel"	"pc105"
> 	Option		"XkbLayout"	"de"
> EndSection
> 
> # Konfiguration für Thinkpad Synaptic Mittelknopf
> Section "InputDevice"
> 	Identifier	"Configured Mouse"
> 	Driver		"mouse"
> 	Option		"CorePointer"
> 	Option		"Device"		"/dev/input/mice"
> 	Option		"Protocol"		"ImPS/2"
> 	Option		"Emulate3Buttons"	"true"
> 	Option		"EmulateWheel"		"true"
> 	Option		"EmulateWheelButton"	"2"
> 	Option		"ZAxisMapping"		"4 5"
> EndSection
> 
> 
> Section "InputDevice"
> 	Identifier	"Synaptics Touchpad"
> 	Driver		"synaptics"
> 	Option		"SendCoreEvents"	"true"
> 	Option		"Device"	"/dev/psaux"
> 	Option		"Protocol"	"auto-dev"
> 	Option		"HorizEdgeScroll"	"0"
> EndSection
> 
> Section "InputDevice"
> 	Driver		"wacom"
> 	Identifier	"stylus"
> 	Option		"Device"	"/dev/input/wacom"
> 	Option		"Type"	"stylus"
> 	Option "USB" "on"
> 	# Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
> EndSection
> 
> Section "InputDevice"
> 	Driver		"wacom"
> 	Identifier	"eraser"
> 	Option		"Device"	"/dev/input/wacom"
> 	Option		"Type"	"eraser"
> 	Option "USB" "on"
> 	# Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
> EndSection
> 
> Section "InputDevice"
> 	Driver		"wacom"
> 	Identifier	"cursor"
> 	Option		"Device"	"/dev/input/wacom"
> 	Option		"Type"	"cursor"
> 	Option "USB" "on"
> 	# Option		"ForceDevice"	"ISDV4"# Tablet PC ONLY
> EndSection
> 
> Section "InputDevice"
> Driver "wacom"
> Identifier "pad"
> Option "Device" "/dev/input/wacom"
> Option "Type" "pad"
> Option "USB" "on" # USB ONLY
> EndSection
> 
> Section "ServerLayout"
> 	Identifier	"Default Layout"
>    screen 0 "Default Screen" 0 0
> 	Inputdevice	"Generic Keyboard"
> 	Inputdevice	"Configured Mouse"
> 	
> 	# Uncomment if you have a wacom tablet - gemacht
> 		InputDevice     "stylus"	"AlwaysCore"
> 		InputDevice     "cursor"	"AlwaysCore"
> 		InputDevice     "eraser"	"AlwaysCore"
> 		InputDevice     "pad"	"SendCoreEvents"
> 	Inputdevice	"Synaptics Touchpad"
> EndSection
> Section "Module"
> 	Load		"glx"
> 	Load		"GLcore"
> 	Load		"v4l"
> EndSection
> Section "device" #
> 	Identifier	"device1"
> 	Boardname	"ati"
> 	Busid		"PCI:1:0:0"
> 	Driver		"ati"
> 	Screen	1
> 	Option		"MergedFB"	"off"
> EndSection
> Section "ServerFlags"
> EndSection
> 
> 
> 
> 
> 
> -- LIST OF DEVICES --
> /dev/input/
> drwxr-xr-x 2 root root     80 2008-04-18 11:10 by-id
> drwxr-xr-x 2 root root    200 2008-04-18 11:10 by-path
> crw-rw---- 1 root root 13, 64 2008-04-18 11:10 event0
> crw-rw---- 1 root root 13, 65 2008-04-18 11:10 event1
> crw-rw---- 1 root root 13, 66 2008-04-18 11:10 event2
> crw-rw---- 1 root root 13, 67 2008-04-18 11:10 event3
> crw-rw---- 1 root root 13, 68 2008-04-18 11:10 event4
> crw-rw---- 1 root root 13, 69 2008-04-18 11:10 event5
> crw-rw---- 1 root root 13, 70 2008-04-18 11:11 event6
> crw-rw---- 1 root root 13, 71 2008-04-18 11:11 event7
> crw-rw---- 1 root root 13, 72 2008-04-18 11:11 event8
> crw-rw---- 1 root root 13, 63 2008-04-18 13:10 mice -- TRACKPOINT  
> + TOUCHPAD
> crw-rw---- 1 root root 13, 32 2008-04-18 13:10 mouse0
> crw-rw---- 1 root root 13, 33 2008-04-18 11:10 mouse1
> crw-rw---- 1 root root 13, 34 2008-04-18 11:10 mouse2
> crw-rw---- 1 root root 13, 35 2008-04-18 11:10 mouse3
> lrwxrwxrwx 1 root root      6 2008-04-18 11:10 wacom -> event3
> 
> /dev/input/by-id
> lrwxrwxrwx 1 root root 9 2008-04-18 11:10 usb-Tablet_PTZ-630-event-mouse  
> -> ../event3
> lrwxrwxrwx 1 root root 9 2008-04-18 11:10 usb-Tablet_PTZ-630-mouse ->  
> ../mouse1
> 
> /dev/input/by-path
> lrwxrwxrwx 1 root root 9 2008-04-18 11:10  
> pci-0000:00:1d.1-usb-0:1:1.0-event-mouse -> ../event3
> lrwxrwxrwx 1 root root 9 2008-04-18 11:10  
> pci-0000:00:1d.1-usb-0:1:1.0-mouse -> ../mouse1
> lrwxrwxrwx 1 root root 9 2008-04-18 11:10 platform-i8042-serio-0-event-kbd  
> -> ../event1		-- KEYBOARD
> lrwxrwxrwx 1 root root 9 2008-04-18 11:10  
> platform-i8042-serio-1-event-mouse -> ../event4	-- TOUCHPAD
> lrwxrwxrwx 1 root root 9 2008-04-18 11:10 platform-i8042-serio-1-mouse ->  
> ../mouse2		-- TOUCHPAD
> lrwxrwxrwx 1 root root 9 2008-04-18 11:10  
> platform-i8042-serio-2-event-mouse -> ../event5	-- TRACKPOINT
> lrwxrwxrwx 1 root root 9 2008-04-18 11:10 platform-i8042-serio-2-mouse ->  
> ../mouse3		-- TRACKPOINT
> lrwxrwxrwx 1 root root 9 2008-04-18 11:10 platform-pcspkr-event-spkr ->  
> ../event2
> 
> 






More information about the Pd-dev mailing list