|
From: Der T. <der...@ar...> - 2014-09-30 18:09:09
|
Hi Paul, On 24/09/14 01:58, Paul Alfille wrote: > Ok, I'm perplexed! > I need help mapping device name (e.g. /dev/ttyUSB0) to USB bus:devnum > that I get in libusb. > I can probably do it by parsing 'dmesg' but that's rather inelegant. > Perhaps the data is somewhere in /sys or /proc? Enumeration on Linux requires udevd being started. udevd will write the information to /sys/bus/usb. Enumeration on BSD may work slightly different. HIH, Tiger |