[PD] [hid] on linux

Hans-Christoph Steiner hans at eds.org
Thu Dec 20 02:57:04 CET 2007


Hey,

Please keep this on the list, there are a number of people that can  
answer these kinds of questions and the response might be of interest  
to others, and useful to have in the archives.

On GNU/Linux, [hid] uses the input.h /dev/input/event* interface.   
Any device that is supported by the Linux input event system and has  
a /dev/input/event* device will work.

.hc

On Dec 18, 2007, at 1:11 PM, jean-martin barbut wrote:

> HI,
>
> Thanks, it worked. But I have another question : I own a wacom  
> intuos 1
> tablet (serial connexion). I plug it on a usb-serial adapter, it works
> fine on Gnome-Ubuntu. The usb-serial adapter creates a port /dev/ 
> ttyUSB0
> wich drives the tablet. Is there a way to retrieve tablet info
> (position, pressure...) from [hid] ? If yes, how is it done ? If  
> no, do
> you know about an  object that could handle that ?
>
> I've noticed also that I can retrieve from the mouse, but not from the
> synaptic pad. I've all authorization for that /dev/input/event3...  
> It is
> read by [hid] as available, but I cat retrive anything...
>
> Thanks
>
> JMartin
>
> Le lundi 17 décembre 2007 à 00:10 -0500, Hans-Christoph Steiner a
> écrit :
>> You need to have permission to read the /dev/input/event* devices.
>> By default, you do not have permission on GNU/Linux.  Check the
>> archives for this list for more on that topic.
>>
>> .hc
>>
>> On Dec 14, 2007, at 6:22 PM, jean-martin barbut wrote:
>>
>>> Hi,
>>>
>>> I'm trying to use [hid] tu retrieve joystick infos on a linux box
>>> (Ubuntu Studio 7.10) : no joystick recognition. On Mac, if I  
>>> click on
>>> the "print" msg box, I have a list of all devices available. On  
>>> linux
>>> clicking on "print" doesn't list anything. My joystick is installed
>>> properly because I can use it with the [pd_joystick] extra.
>>>
>>> Why dont I just use [pd_joystick] ? Because I need to use 2  
>>> joysticks
>>> and only the first one is recognized on [pd_joystick]...
>>>
>>> Other thing : if you forget to put the toggle box to off when you
>>> select
>>> another device number, pd-extended (0.39) just close (brutally...).
>>>
>>> Regards,
>>>
>>> Jean-Martin (esox)
>>>
>>>
>>> _______________________________________________
>>> PD-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
>>> listinfo/pd-list
>>
>>
>>
>>
>> --------------------------------------------------------------------- 
>> ---
>> ----
>>
>> All mankind is of one author, and is one volume; when one man dies,
>> one chapter is not torn out of the book, but translated into a better
>> language; and every chapter must be so translated.... -John Donne
>>
>>



------------------------------------------------------------------------ 
----

Man has survived hitherto because he was too ignorant to know how to  
realize his wishes.  Now that he can realize them, he must either  
change them, or perish.    -William Carlos Williams






More information about the Pd-list mailing list