commit | 7e8edaf9cb790b0129258d2224d1b7072889f401 | [log] [tgz] |
---|---|---|
author | Vianney le Clément de Saint-Marcq <code@quartic.eu> | Tue Dec 13 15:59:23 2016 +0100 |
committer | Nathan Hjelm <hjelmn@me.com> | Tue Jan 08 18:20:31 2019 -0700 |
tree | 6aeccaa1e880bb624b4a72c7bfa3bc7667150b4d | |
parent | 7332286ecc5830178d98cd5bf240a926cd46c1d1 [diff] |
linux_usbfs: Implement libusb_wrap_sys_device() Add support for the libusb_wrap_sys_device() API on Linux. Because sysfs_dir is set to NULL, only the provided file descriptor will be used. This is needed on some platforms (e.g., Android) where sysfs might not be available. 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)