mirror of
https://github.com/RPCS3/libusb.git
synced 2026-07-19 21:03:32 -04:00
8aad7fd1de08c173ff0fec87abb85bd940526603
The Linux kernel has changed the maximum allowed packet length per isochronous packet numerous times, which can create difficulties in trying to report appropriate errors back to the user when submitting too large of a packet on older kernels. In an attempt to improve this situation, this commit adds logic that will use different per-packet limits based on the detected kernel version. Additionally, the logic has been improved to split URBs based on the number of isochronous packets per URB, which is currently (and has been forever) limited to 128. Finally, the error reporting during URB submission has been improved to catch and report errors relating to the transfer length being too large. Closes #118 Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
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
- Hans de Goede hdegoede@redhat.com
- Xiaofan Chen xiaofanc@gmail.com
- Ludovic Rousseau ludovic.rousseau@gmail.com
- Nathan Hjelm hjelmn@cs.unm.edu
- Chris Dickens christopher.a.dickens@gmail.com
(Please use the mailing list rather than mailing developers directly)
Description
Languages
C
91.7%
C++
3.1%
CMake
1.6%
Batchfile
1.1%
Makefile
1%
Other
1.5%