On Thu, Apr 15, 2010 at 01:38:29AM -0400, Eric Raymond wrote: > Short version: > > I need to know how, from a USB device descriptor associated with a > USB-serial device, I can get the USB-serial device's minor number. > > I'm using Ubuntu 9.10 and have libusb-1.0.0 available. I have > successfully written code to walk the enumerated-devices list. Use libudev to get this easily. sysfs shows this mapping, look in /sys/dev/char/ for the links, or walk backward from the usb device itself. hope this helps, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html