summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* svn r50: - MSVC6 compatibility (Michael Plante): new driver backend ↵Pete Batard2010-01-142-95/+165
| | | | implementation and other compatibility fixes
* svn r48: - less annoying windows_set_configurationPete Batard2010-01-141-8/+1
|
* svn r46: - auto-claim of interface for control transfers (improves v0.1 ↵Pete Batard2010-01-142-1/+10
| | | | compatibility)
* svn r44:Pete Batard2010-01-145-68/+212
| | | | | | - fixed configure.ac for libusb handled timeouts - fixed crash on invalid fds in windows_compat.c - xusb improvements for mass storage test
* svn r42:Pete Batard2010-01-144-205/+150
| | | | | | - code cleanup - device reset improvement (tentative) - inquiry request for Mass Storage in xusb.c
* svn r40:Pete Batard2010-01-144-145/+290
| | | | | | | - feature complete! - added transfer cancellation - added device reset - additional code cleanup
* svn r38:Pete Batard2010-01-143-82/+287
| | | | | | - bulk/interrupt I/O at last! - endpoint handling - minor code improvements
* svn r37:Pete Batard2010-01-142-67/+256
| | | | | | | - windows_set_interface_altsetting (untested) - windows_set_configuration (untested) - updated xusb.c test program, with comprehensive XBox Controller test and preparation for bulk transfers test on Mass Storage device
* svn r35:Pete Batard2010-01-144-317/+281
| | | | | | | | | | | - new non-controversial composite device interface enumeration - full XP support with port number detection workaround trade-off - dropped read_registry_key - dropped get_composite_interface_path - factorized interface details enumeration - dropped requirement -lws2_32 from configure.ac and added -lole32 (for string to GUID conversion) - removed debug mode from windows_compat.c
* svn r33:Pete Batard2010-01-141-5/+5
| | | | | - ControlSet001 vs CurrentControlSet fix - IOCTL_USB_GET_HUB_CAPABILITIES vs IOCTL_USB_GET_HUB_CAPABILITIES_EX fix
* svn r31:Pete Batard2010-01-144-100/+162
| | | | | - poll improvements (fd mutex locks, ...) - minor improvements and bugfixes
* svn r29:Pete Batard2010-01-148-181/+673
| | | | | - "poll we can believe in" (requires superficial modifications to core files) - move the "interface" fix into windows_compat.h
* svn r27:Pete Batard2010-01-144-149/+253
| | | | | - redesigned posix compatibility layer (poll & pipe) - library control pipe support (WIP)
* svn r25:Pete Batard2010-01-143-417/+626
| | | | | | - WinUSB composite device support (with DeviceClasses registry lookup) - better interface handling - other minor improvements
* svn r22: Partial async I/O (control only) with custom poll and OVERLAPPED ↵Pete Batard2010-01-145-317/+525
| | | | pointers as fds. Should read device strings. Also some provisions for composite devices.
* svn r18: basic open/close & claim/release interface + detection of WinUSB ↵Pete Batard2010-01-143-64/+244
| | | | and driverless devices (priv->driver)
* svn r13: add winusb to the mix: query first interface and pipes on device openPete Batard2010-01-143-7/+296
|
* svn r12: hires timer fix (v3) - uses picoseconds and thread affinityPete Batard2010-01-141-12/+40
|
* svn r11: remove dpfp compilation (doesn't work on Windows) and add the xusb ↵Pete Batard2010-01-142-1/+76
| | | | test program
* svn r10: device descriptors and config descriptors caching code cleanupPete Batard2010-01-142-64/+16
|
* svn r9: general code cleanupPete Batard2010-01-142-91/+36
|
* svn r8: remove handles from private structures plus init cleanupPete Batard2010-01-142-77/+32
|
* svn r7: initialize paths for non hub devicesPete Batard2010-01-142-13/+191
|
* svn r6: add configuration descriptors retrievalPete Batard2010-01-142-11/+192
|
* svn r5: code cleanup (mostly hub enumeration) and completionPete Batard2010-01-142-304/+219
|
* svn r4: revert back to using interface for variable names as in master branchPete Batard2010-01-145-48/+63
|
* svn r3: clock_getime plus small fixesPete Batard2010-01-141-44/+80
|
* mirror libusb-winusb git branch from 2009.12.03 part 2 - core filesPete Batard2010-01-148-49/+79
|
* mirror libusb-winusb git branch from 2009.12.03Pete Batard2010-01-144-0/+1442
|
* lsusb example: make print_devs() staticLudovic Rousseau2009-11-211-1/+1
| | | | lsusb.c:26: warning: no previous prototype for ‘print_devs’
* Darwin: fix warning in darwin_error_str()Ludovic Rousseau2009-11-211-1/+1
| | | | | os/darwin_usb.c:63: warning: return discards qualifiers from pointer target type
* Darwin: allow devices to be opened multiple timesNathan Hjelm2009-11-212-52/+77
| | | | | | | Allows libusb applications to access multiple interfaces of the same device in the same application. Also fixes a set alt interface bug.
* Increase libusb_handle_events() timeout to 60 secondsDaniel Drake2009-11-211-6/+5
| | | | | The internal timing seems to be working, this will be a better test of it before we make this timeout unlimited.
* Refine timerfd header check (#18)Daniel Drake2009-11-212-4/+8
| | | | Require glibc-2.9 for the working timerfd support.
* v1.0.5 releasev1.0.5Daniel Drake2009-11-153-1/+6
|
* Update documentation about early completion caveatsDaniel Drake2009-11-072-51/+44
|
* Add libusb_get_max_iso_packet_size() to libusb.hLudovic Rousseau2009-11-071-0/+1
| | | | core.c:777: warning: no previous prototype for 'libusb_get_max_iso_packet_size'
* Use timerfd for timeout handlingDaniel Drake2009-11-076-78/+392
| | | | | | | | | | | | Use a new file descriptor from the timerfd system calls to handle timeouts. On supported systems, this means that there is less hassle figuring out when the poll() timeout should be, since libusb_get_next_timeout() will always return 0 and the timeout events will be triggered as regular activity on the file descriptor set. Add API function libusb_pollfds_handle_timeouts() to detect whether you're on a platform with the timing headache, and flesh out the surrounding documentation.
* Use AM_SILENT_RULES for buildingDaniel Drake2009-11-071-0/+1
|
* v1.0.4 releasev1.0.4Daniel Drake2009-11-063-1/+8
|
* Linux: Add support for the new URB_BULK_CONTINUATION flagDavid Moore2009-11-062-4/+55
| | | | | | | | | | | | | | | | | | Add support for the new USBDEVFS_URB_BULK_CONTINUATION flag to libusb. This flag, which is expected to be available in usbfs starting with kernel 2.6.32, allows the kernel to cancel multiple URBs upon receipt of a short packet. This capability allows libusb to preserve data integrity of large bulk transfers that are split into multiple URBs. Without this support, these URBs must be canceled in userspace upon receipt of a short packet, a race condition against future transfers which might partially fill these canceled URBs. This patch automatically detects whether a supported kernel is present and enables the use of the flag when possible. [dsd: tweaks to supported kernel detection, and some inline documentation of this mechanism]
* Transfer lockingDaniel Drake2009-11-063-17/+66
| | | | | | | | | | | | At least on Linux, there were some possible races that could occur if a transfer is cancelled from one thread while another thread is handling an event for that transfer, or for if a transfer completes while it is still being submitted from another thread, etc. On the global level, transfers could be submitted and cancelled at the same time. Fix those issues with transfer-level locks.
* Clarify that timeout 0 means unlimited timeoutDaniel Drake2009-09-141-6/+6
|
* Linux: more flexibility with monotonic clockDaniel Drake2009-09-111-2/+46
| | | | | | | | | | | | | Some users have reported that CLOCK_MONOTONIC does not work on their systems - I suspect it is available on x86 but perhaps not some of the more uncommon architectures. We should fall back on CLOCK_REALTIME in these cases. Also, CLOCK_MONOTONIC_RAW seems even more monotonic, so we should use that if it is available. We now test different clock IDs during initialization to find the best one that works.
* Darwin: handle overflowsNathan Hjelm2009-09-111-2/+14
|
* v1.0.3 releasev1.0.3Daniel Drake2009-08-273-3/+12
|
* Darwin: 64-bit type fixesToby Peterson2009-08-231-2/+3
|
* Darwin: fix crash when reading descriptors after closeNathan Hjelm2009-08-231-0/+3
| | | | | Fix a crash which occurs if the user does the following sequence on a device: open, close, get_configuration_descriptor.
* move bug info to bug trackerDaniel Drake2009-08-012-11/+1
| | | | | Protection needed: http://www.libusb.org/ticket/4 Losing data: fixed in previous commit
* Linux: try harder not to lose any dataDaniel Drake2009-07-092-11/+91
| | | | | We would previously lose any data that was present on a cancelled URB. Work harder to make sure this doesn't happen.