Mirror of libusb
![]() With the new USB stack Apple changed the underlying device class from IOUSBDevice to IOUSBHostDevice. Additionally, they removed the PortNum property from the IO registry entry. This commit add code to detect the currently running xnu version. If the version is at least 15 (10.11.0) the new device class is used to find usb devices and the port number is read from the IOService parent of the USB device instead of the PortNum property. Closes #127 May have some effect on either #123 or #96. Signed-off-by: Nathan Hjelm <hjelmn@me.com> |
||
---|---|---|
.private | ||
android | ||
doc | ||
examples | ||
libusb | ||
msvc | ||
tests | ||
Xcode | ||
.gitattributes | ||
.gitignore | ||
AUTHORS | ||
autogen.sh | ||
bootstrap.sh | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
INSTALL | ||
INSTALL_WIN.txt | ||
libusb-1.0.pc.in | ||
Makefile.am | ||
NEWS | ||
PORTING | ||
README | ||
README.git | ||
TODO |
libusb ====== libusb is a library for USB device access from Linux, Mac OS X, 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 - Pete Batard <pete@akeo.ie> - Hans de Goede <hdegoede@redhat.com> - Xiaofan Chen <xiaofanc@gmail.com> - Ludovic Rousseau <ludovic.rousseau@gmail.com> - Nathan Hjelm <hjelmn@users.sourceforge.net> - Chris Dickens <christopher.a.dickens@gmail.com> (Please use the mailing list rather than mailing developers directly)