commit | 86de6b7127bddf15daec778b271b051221745ff4 | [log] [tgz] |
---|---|---|
author | Vianney le Clément de Saint-Marcq <code@quartic.eu> | Tue Dec 13 16:30:56 2016 +0100 |
committer | Nathan Hjelm <hjelmn@me.com> | Tue Jan 08 18:20:22 2019 -0700 |
tree | 8e9dcd619774b71a39faa64553683d3d53290f8f | |
parent | 1f22d799b4602b7b51424d7c28a7ffbfd4de8362 [diff] |
linux_usbfs: Get device address from file descriptor Extend linux_get_device_address() to try to read the device address from a file descriptor as a last resort, if provided. Additionally, linux_get_device_address() will now return an error if the path could not be parsed. 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)