<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>
<blockquote type="cite"> [PD] [hid] (Debian 9.5) - How to find out
the device numbers?</blockquote>
<blockquote type="cite">
<div class="headerdisplayname" style="display:inline;">From: </div>
"Ingo" <a class="moz-txt-link-rfc2396E" href="mailto:ingo@miamiwave.com"><ingo@miamiwave.com></a></blockquote>
<blockquote type="cite">
<div class="headerdisplayname" style="display:inline;">Date: </div>
08/10/2019 à 13:33</blockquote>
<br>
<br>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">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.
</pre>
</blockquote>
<br>
</p>
<p>With the Linux64 hidio external, the message "open by vendor
/product id" works on my system.</p>
<p>example : [open 0x04f3 0x0224, 1(</p>
<p>
<blockquote type="cite">Does anybody know how to list the Device
Numbers without opening the
<div class="moz-text-plain" wrap="true" style="font-family:
-moz-fixed; font-size: 14px;" lang="x-unicode">
<pre class="moz-quote-pre" wrap="">console?
</pre>
</div>
</blockquote>
In my modified version of hidio (see
<a class="moz-txt-link-freetext" href="https://github.com/jyg/PdMultitouch/blob/master/hidio/hidio_linux.c">https://github.com/jyg/PdMultitouch/blob/master/hidio/hidio_linux.c</a>)<br>
</p>
<p><span class="pl-k">I changed the code inside <b>void</b></span><b>
</b><b><span class="pl-en">hidio_devices</span></b><b>(t_hidio *x)</b>
so that when you send the message [devices( , you get the devices
list on the second outlet of hidio.</p>
<p>This has to be implemented in the hidio_darwin.c file so that it
will be consistent between 2 OSs<br>
</p>
<br>
</body>
</html>