[PD] [hid/hidio] (Debian 9.5) - How to find out the device numbers?

Ingo ingo at miamiwave.com
Wed Oct 9 03:56:25 CEST 2019


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:pd-list-bounces at lists.iem.at] On Behalf Of Ingo
> Sent: Wednesday, October 09, 2019 2:58 AM
> To: 'Jean-Yves Gratius'; pd-list at lists.iem.at
> 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:pd-list-bounces at lists.iem.at] On Behalf Of Jean-Yves
> Gratius
> Sent: Tuesday, October 08, 2019 10:55 PM
> To: pd-list at lists.iem.at
> 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" <ingo at miamiwave.com>
> 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
>
>
>
>
>








More information about the Pd-list mailing list