Linux: Search for /dev/usbdev<bus>.<device> USB device special files
authorJames Hanko <james.hanko@tridentmicro.com>
Thu, 20 Oct 2011 07:32:34 +0000 (00:32 -0700)
committerPete Batard <pete@akeo.ie>
Sun, 22 Apr 2012 12:58:45 +0000 (13:58 +0100)
commitb92720842b719300df06a482ab0cd01ddd4e23da
tree5ee98db0954c73e0251b073eb322b3d565b252e7
parent35c3189a70771dddb70ccf196c7bfd82d556f443
Linux: Search for /dev/usbdev<bus>.<device> USB device special files

If neither the (now deprecated) usbfs filesystem nor udev is available
then libusbx searches for device nodes also in /dev where they may be
created if the kernel was built with the option CONFIG_USB_DEVICE_CLASS.
This helps on embedded systems such as Android, and all mdev users.
libusb/os/linux_usbfs.c
libusb/version.h