Actually, cat /var/log/Xorg.0.log | grep "devicename"
works better as it uses the /dev/input/event"number" that [hid] uses. > -----Original Message----- > From: Pd-list [mailto:[email protected]] On Behalf Of Ingo > Sent: Wednesday, October 09, 2019 2:58 AM > To: 'Jean-Yves Gratius'; [email protected] > Subject: Re: [PD] [hid/hidio] (Debian 9.5) - How to find out the device > numbers? > > I'm on Debian 9.5 32-Bit. Will this [hidio] version work with 32bit? > > Anyway, I think I am fine now. > I found a list in /var/log/kern.log that lists the devices including the > input > number that is used by [hid]. > > With a combination of dmesg | grep "devicename" followed by [drip] and > [stripfilename] I can reliably retrieve the input number that is used by > [hid]. > > I'll see if [hidio] will work on 32bit. > > Thanks everybody! > I appreciate your effort! > > Ingo > > > > > From: Pd-list [mailto:[email protected]] On Behalf Of Jean-Yves > Gratius > Sent: Tuesday, October 08, 2019 10:55 PM > To: [email protected] > Subject: [PD] [hid/hidio] (Debian 9.5) - How to find out the device numbers? > > [PD] [hid] (Debian 9.5) - How to find out the device numbers? > From: > "Ingo" <[email protected]> > Date: > 08/10/2019 ? 13:33 > > > > I need to connect a mouse with varying hardware. > However, "open by device type" does not work. > "Open by vendor / product ID" does not seem to work either. > > With the Linux64 hidio external, the message "open by vendor /product id" > works on my system. > example : [open 0x04f3 0x0224, 1( > Does anybody know how to list the Device Numbers without opening the > console? > In my modified version of hidio (see > https://github.com/jyg/PdMultitouch/blob/master/hidio/hidio_linux.c) > I changed the code inside void hidio_devices(t_hidio *x) so that when you > send the message [devices( , you get the devices list on the second outlet > of > hidio. > This has to be implemented in the hidio_darwin.c file so that it will be > consistent between 2 OSs > > > > > _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
