android_mt6572_jiabo/external/libusb-compat
2025-09-05 16:56:03 +08:00
..
examples first commit 2025-09-05 16:56:03 +08:00
libusb first commit 2025-09-05 16:56:03 +08:00
libusb-compat.xcodeproj first commit 2025-09-05 16:56:03 +08:00
m4 first commit 2025-09-05 16:56:03 +08:00
aclocal.m4 first commit 2025-09-05 16:56:03 +08:00
AUTHORS first commit 2025-09-05 16:56:03 +08:00
ChangeLog first commit 2025-09-05 16:56:03 +08:00
compile first commit 2025-09-05 16:56:03 +08:00
config.guess first commit 2025-09-05 16:56:03 +08:00
config.h first commit 2025-09-05 16:56:03 +08:00
config.h.in first commit 2025-09-05 16:56:03 +08:00
config.sub first commit 2025-09-05 16:56:03 +08:00
configure first commit 2025-09-05 16:56:03 +08:00
configure.ac first commit 2025-09-05 16:56:03 +08:00
COPYING first commit 2025-09-05 16:56:03 +08:00
depcomp first commit 2025-09-05 16:56:03 +08:00
INSTALL first commit 2025-09-05 16:56:03 +08:00
install-sh first commit 2025-09-05 16:56:03 +08:00
libusb-config.in first commit 2025-09-05 16:56:03 +08:00
libusb.pc.in first commit 2025-09-05 16:56:03 +08:00
LICENSE first commit 2025-09-05 16:56:03 +08:00
ltmain.sh first commit 2025-09-05 16:56:03 +08:00
MacConfigExternalDebug.xcconfig first commit 2025-09-05 16:56:03 +08:00
MacConfigExternalRelease.xcconfig first commit 2025-09-05 16:56:03 +08:00
Makefile.am first commit 2025-09-05 16:56:03 +08:00
Makefile.in first commit 2025-09-05 16:56:03 +08:00
missing first commit 2025-09-05 16:56:03 +08:00
MODULE_LICENSE_LGPL first commit 2025-09-05 16:56:03 +08:00
NEWS first commit 2025-09-05 16:56:03 +08:00
NOTICE first commit 2025-09-05 16:56:03 +08:00
README first commit 2025-09-05 16:56:03 +08:00
README.version first commit 2025-09-05 16:56:03 +08:00

libusb-compat-0.1
=================

A compatibility layer allowing applications written for libusb-0.1 to work
with libusb-1.0. libusb-compat-0.1 attempts to look, feel, smell and walk
like libusb-0.1.

Do not attempt to install libusb-0.1 and libusb-compat-0.1 on the same system.

Known quirks/differences from libusb-0.1:
 1. usb_resetep(), a previously deprecated function, is implemented as
    equivalent to calling usb_clear_halt().
 2. libusb-0.1 allowed you to open a device which you did not have permission
    to do anything useful with (all I/O requests would immediately fail).
    libusb-compat-0.1 does not allow you to open such devices. You can still
    read descriptor info without opening a device.
 3. usb_device's "num_children" attribute is hardcoded to 0, and "children"
    is hardcoded to NULL. Do you need this information in your software? Let
    us know on the mailing list, and we'll add it.
 4. Some libusb-0.1 users may have implemented I/O cancellation by running
    transfers in their own threads and simply killing the thread when they
    don't want to do the transfer any more. This is bad programming practice
    for obvious reasons, and this lack of functionality was one of the primary
    drivers for libusb-1.0 development. With libusb-1.0 or libusb-compat-0.1
    backed by libusb-1.0, forcefully killing threads in this way is likely
    to cause all libusb I/O to halt. Instead, port your application to use
    libusb-1.0's asynchronous transfer API, which supports transfer
    cancellation.
 5. Error codes returned on certain events may not exactly match the error
    codes returned by libusb-0.1. Patches accepted to bring us closer to the
    behaviour of libusb-0.1 on Linux.

libusb homepage:
http://libusb.sourceforge.net

Use the mailing list for questions, comments, etc:
https://sourceforge.net/mailarchive/forum.php?forum_name=libusb-devel

- Daniel Drake <dsd@gentoo.org>
(use the mailing list rather than mailing developers directly)