| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
- discard report ID from buffer (new hid_buffer in transfer_priv & new copy_transfer_data backend call)
- overflow detection
- extended HID xusb test
Also:
- fixed ill placed memset on composite device siblings detection
|
|
|
|
|
|
| |
rather than _for_poll suffix)
additional minor xusb improvements.
|
|
|
|
|
|
| |
- forces command length to 31
- null termination of vid/pid/rev strings
- big endian detection
|
| |
|
| |
|
|
|
|
| |
undefined always on Windows
|
|
|
|
|
|
|
| |
_libusb_####)
- fixed sscanf_s undefined for non MS compilers
- fixed cygiwn warnings in windows_usb.c
|
| |
|
| |
|
| |
|
|
|
|
| |
Mass Storage
|
|
|
|
|
|
| |
- lsusb/xusb sources + ddk_build call
- missing libusb_strerror in .def
- removed "handle_timeouts_locked unused" warning in in io.c for MinGW
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
- added Visual Studio 2005 (MSVC8) solution and project files (Orin Eman)
- renamed VS 2008 solution and project files
- fixed "warning: undefined symbols not allowed" for MinGW/cygwin in configure.ac
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
libusb_get_device_list change introduced with r52. Added definition on ssize_t in libusb.h for MSVC platforms.
|
|
|
|
| |
Also amended README_MSVC.txt to reflect a better setup for the required DDK directories
|
|
|
|
| |
need for #undef interface in end user sources)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- added .def file for MSVC6 dll build (Michael Plante)
- prevented conflicts with pdb and HTML logs for lsusb & xusb
|
|
|
|
| |
for Debug)
|
|
|
|
|
| |
- perr() without variadic in xusb.c (Michael Plante)
- dropped LOOP_CONTINUE variadic in windows_usb.c
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- changed ssize_t to int for libusb_get_device_list (do we really expect that
many devices?). Also in lsusb.c
- redefined inline to __inline in libusb.h
- remove the unistd.h include for OS_WINDOWS
- api/ vs ddk/ for ddk includes
- changed variadics using ,fmt... to ,... and __VA_ARGS__
- list_for_each_entry now requires a type parameter
- libusb_cpu_to_le16 as inline
- time.h vs sys/time.h
- harmonization of #ifdef vs #if defined() within individual files
- defined an empty __drv_preferredFunction(func,why) before #include
<cfgmgr32.h>, as it only applies to obsolete functions
- excluded USB_HUB_CAPS redefinition from MSVC
- new msvc top directory for includes (stdint.h inttypes.h and pthread)
- new config_msvc.h file
- new README_MSVC and MSVC project files
- removed various warnings (signed/unsigned comparisons, cast, etc)
|
|
|
|
|
|
| |
- fixed configure.ac for libusb handled timeouts
- fixed crash on invalid fds in windows_compat.c
- xusb improvements for mass storage test
|
|
|
|
|
|
| |
- code cleanup
- device reset improvement (tentative)
- inquiry request for Mass Storage in xusb.c
|
|
|
|
|
|
|
| |
- feature complete!
- added transfer cancellation
- added device reset
- additional code cleanup
|
|
|
|
|
|
| |
- bulk/interrupt I/O at last!
- endpoint handling
- minor code improvements
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
- WinUSB composite device support (with DeviceClasses registry lookup)
- better interface handling
- other minor improvements
|
|
|
|
| |
pointers as fds. Should read device strings. Also some provisions for composite devices.
|
|
|
|
| |
and driverless devices (priv->driver)
|
| |
|
|
|
|
| |
test program
|
|
|
|
| |
lsusb.c:26: warning: no previous prototype for ‘print_devs’
|
|
|
|
|
| |
Suggested by David Zeuthen. This allows multiple libraries in the same
process to independently use libusb without interfering.
|
|
|
|
|
| |
This involved moving from select() to poll() because there is no way to
distinguish usbfs's POLLERR condition with select().
|
|
|
|
|
|
| |
libusb no longer caches descriptors in libusb_device but backends are
intended to be able to provide copies from memory. In the common linux
case we can use sysfs.
|
| |
|
|
|
|
| |
It was documented to return the list length, but was returning 0.
|
| |
|