30 Commits

Author SHA1 Message Date
Pete Batard 3bb808f398 r132: harmonized compatibility layer function names (_libusb prefix always, rather than _for_poll suffix)
additional minor xusb improvements.
2010-02-02 19:42:27 +00:00
Pete Batard 3e258645f4 r129: xusb fixes for Mass Storage test (Alan Stern):
- forces command length to 31
- null termination of vid/pid/rev strings
- big endian detection
2010-01-31 03:36:45 +00:00
Pete Batard c1f00180ff r126: fixed sscanf_s test for MSVC6 users 2010-01-30 21:00:23 +00:00
Pete Batard bf4f54160c r124: removes #error on previous commit and fixes thing ourselves 2010-01-30 01:40:41 +00:00
Pete Batard afe70cedf7 r123: reverted the use of usb_interface in core and forced interface to be undefined always on Windows 2010-01-29 20:04:35 +00:00
Pete Batard 47c83183c0 r122: fixed poll conflict on cygwin (all compat functions renamed to _libusb_####)
- fixed sscanf_s undefined for non MS compilers
- fixed cygiwn warnings in windows_usb.c
2010-01-28 23:18:52 +00:00
Pete Batard 37b685c355 r121: some more small improvements for xusb.c (vid:pid as cmdline parameter) 2010-01-28 15:56:04 +00:00
Pete Batard 388620e21f r119: xusb improvements for mass storage (Alan Stern) 2010-01-27 21:23:31 +00:00
Pete Batard fa2f3231db r118: more readable xusb output and added automated endpoint generation for Mass Storage 2010-01-26 15:32:57 +00:00
Pete Batard 03265db68a r116: DDK build completion (Orin Eman):
- lsusb/xusb sources + ddk_build call
- missing libusb_strerror in .def
- removed "handle_timeouts_locked unused" warning in in io.c for MinGW
2010-01-26 01:46:17 +00:00
Pete Batard 9459dd37f0 r115: added libusb_strerror (Francesco Montorsi) 2010-01-25 22:21:31 +00:00
Pete Batard 628bd43bc2 r105: added MS Sidewinder HID test in xusb.c + minor changes/improvements 2010-01-23 23:28:55 +00:00
Pete Batard 0fc4348172 r94: removed the need for DDK includes + minor fixes 2010-01-21 01:34:53 +00:00
Pete Batard 5590301e7f r93: HID part 2 (WIP)
- added composite HID device support in xusb.c
- fixed signed/unsigned bug in windows_compat.c (Orin Eman)
- added support for synchronous completion of async requests
- composite HID device support (ClassGUID fallback for driver unavail., read interface number from MI_##, extra path for HID)
- generic interface_by_endpoint and get_valid_interface
- added HID struct in priv
- HID submit_control_transfer
2010-01-20 20:29:45 +00:00
Pete Batard 7a8f7d1826 r89: extended API support
- composite devices as a separate backend API
- mutidriver support in composite devices interface
- HID: device interface path, open/close (WIP)
- added HID test in xusb.c
- fixed Windows version and DDK support
- smaller fixes
2010-01-18 20:32:38 +00:00
Pete Batard b96e16e75f r80: workaround for interface macro redefinition on Windows (removes the need for #undef interface in end user sources) 2010-01-15 12:35:02 +00:00
Pete Batard 1626ee0042 r75: fixed missing <stdarg.h> include in xusb.c for UNIX platforms 2010-01-14 15:50:39 +00:00
Pete Batard e452335742 Fix CR/LF inconsistencies 2010-01-14 12:57:07 +00:00
Pete Batard fdcf676350 svn r62: More MSVC6 compatibility
- perr() without variadic in xusb.c (Michael Plante)
- dropped LOOP_CONTINUE variadic in windows_usb.c
2010-01-14 01:39:29 +00:00
Pete Batard 71613013b9 svn r54: - fixes missing config_msvc.h 2010-01-14 01:34:40 +00:00
Pete Batard 762989c9ba svn r44:
- fixed configure.ac for libusb handled timeouts
- fixed crash on invalid fds in windows_compat.c
- xusb improvements for mass storage test
2010-01-14 01:26:34 +00:00
Pete Batard 191930f700 svn r42:
- code cleanup
- device reset improvement (tentative)
- inquiry request for Mass Storage in xusb.c
2010-01-14 01:26:01 +00:00
Pete Batard 0cf1a367fa svn r40:
- feature complete!
- added transfer cancellation
- added device reset
- additional code cleanup
2010-01-14 01:25:18 +00:00
Pete Batard 055b0136bf svn r38:
- bulk/interrupt I/O at last!
- endpoint handling
- minor code improvements
2010-01-14 01:24:28 +00:00
Pete Batard 434caf7c49 svn r37:
- 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
2010-01-14 01:23:19 +00:00
Pete Batard bdcbace881 svn r25:
- WinUSB composite device support (with DeviceClasses registry lookup)
- better interface handling
- other minor improvements
2010-01-14 01:16:33 +00:00
Pete Batard eacdaf7c21 svn r22: Partial async I/O (control only) with custom poll and OVERLAPPED pointers as fds. Should read device strings. Also some provisions for composite devices. 2010-01-14 01:15:20 +00:00
Pete Batard f47443958e svn r18: basic open/close & claim/release interface + detection of WinUSB and driverless devices (priv->driver) 2010-01-14 01:14:09 +00:00
Pete Batard 0768325f83 svn r13: add winusb to the mix: query first interface and pipes on device open 2010-01-14 01:12:45 +00:00
Pete Batard 967842d93c svn r11: remove dpfp compilation (doesn't work on Windows) and add the xusb test program 2010-01-14 01:11:25 +00:00