commit | 8924661f47f55c1443f2d893fa9a2a242322e294 | [log] [tgz] |
---|---|---|
author | Vianney le Clément de Saint-Marcq <code@quartic.eu> | Tue Dec 13 13:57:25 2016 +0100 |
committer | Nathan Hjelm <hjelmn@me.com> | Tue Jan 08 18:20:07 2019 -0700 |
tree | bb67dd843bc25f191a53943145c9e6a5e8d5417e | |
parent | 065e586b0668cb180074dbfb2dfd0640f8708b0d [diff] |
linux_usbfs: Fallback to usbfs if device has no sysfs_dir Handle devices that are initialized with NULL as sysfs_dir. For such devices, the usbfs functions should be used instead of their sysfs counterparts. Signed-off-by: Vianney le Clément de Saint-Marcq <code@quartic.eu> Signed-off-by: Nathan Hjelm <hjelmn@me.com>
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD and Haiku userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).
libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.
libusb homepage: http://libusb.info/
Developers will wish to consult the API documentation: http://api.libusb.info
Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info
(Please use the mailing list rather than mailing developers directly)