On Friday 10 August 2007, Folkert van Heusden wrote: > My question now is: will each device always have the same node? Will > device A always get for example /dev/usb/hiddev0? and C always > /dev/usb/hiddev2?
Not as a rule, although you might notice they don't differ a lot in some cases. I'd certainly not depend on hitting those cases! Example, putting some other HID devices onto the system could very easily resequence things. > And if that is not the case, how can I then find those? Will it work if > I use busnum, devnum and ifnum? Observe the P: lines in /proc/bus/input/devices ... those will stay the same unless you re-wire things, since they express the physical topology not which-showed-up-first. That value is in hid->phys. - Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel