| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
* changed device enumeration to rely on session ids (hashed device ID)
* all enumeration passes now occur in a single call
* also removed the separate HCD list (allows PCI hotplug of HCDs)
* additional cleanup
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* this removes the version string from libusb_version.h
|
|
|
|
| |
* this is needed for libusb_getversion() in MinGW32
|
| |
|
| |
|
|
|
|
|
| |
* remove no longer needed debug filename
* add NUL terminators & official URL
|
|
|
|
|
|
| |
* libusb_version.h.in is now used to generate libusb_version.h
* removes the need for libusb-1.0.rc.in and libusbi.h.in
* new LIBUSB_PACKAGE_VERSION added as .rc can't stringify macros
|
| |
|
|
|
|
| |
See http://sourceforge.net/mailarchive/message.php?msg_name=4BD920C5.3090909%40argyllcms.com
|
|
|
|
|
|
|
| |
In the libusb_wait_for_event() sample code for section "Letting other
threads do the work for you" libusb_wait_for_event() was used without the
struct timeval *tv parameter.
The sample code was invalid and could not be compiled.
|
|
|
|
|
|
|
|
| |
usbfs endian-swaps, sysfs doesn't, not the other way around. This fixes
configurator descriptors in big-endian systems when using sysfs. usbfs
is untested.
Signed-off-by: Hector Martin <hector@marcansoft.com>
|
| |
|
|
|
|
| |
* up to e65f69a7ef3de357c867ddaac9598efe407078b6
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* new struct libusb_version has also been defined
* libusbi.h.in is now being used to fill in the version from configure.ac
|
| |
|
| |
|
|
|
|
|
|
| |
* fixes feature reports not providing actual read size (reported by Axel Rohde)
* removes the USE_HIDD_FOR_REPORTS macro
* IOCTL usage inspired from HIDAPI by Alan Ott
|
|
|
|
|
|
| |
* one set of examples (static ones)
* adds examples source
* examples at root
|
| |
|
|
|
|
| |
* also added removal of CR/LF
|
|
|
|
|
| |
* precedence is driver > upper filter > lower filter and defined
in struct driver_lookup lookup from set_device_paths()
|
|
|
|
|
| |
* first lower filter driver only
* driver currently has precedence over filter driver
|
|
|
|
| |
* fixes an issue where DDK would use the config.h from MinGW/cygwin in root instead of using msvc's
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* current MinGW-w64 32 bit headers (winbase.h) are missing the WINAPI qualifier on Interlocked### calls
* this results in missing decorations on symbols and failed linking as a result
* this workaround hooks into kernel32.dll for these function calls to alleviate the issue
|
|
|
|
|
|
|
| |
* issue reported by Benjamin Dobell (with additional input from Tim Roberts)
* unlike interface numbers, bConfigurationValue are not required to be in order
* also produces actual bConfigurationValue in debug output
* small whitespace fix in windows_usb.h
|
|
|
|
|
|
|
| |
* issue reported by Benjamin Dobell
* WinUsb_QueryInterfaceSettings does not work on any other interface but the first one (WinUSB limitation)
* this change should allow the use of WinUSB in lieu of usbccgp
* also improvements to core readability
|
|
|
|
| |
* also fixed DLL generation that was set to MT(d) to using MD(d)
|
|
|
|
|
|
| |
Cache device configuration value to bring the Darwin backend more in
line with the libusb spec. To handle buggy devices GetConfiguration is
not called unless the device has more than one configuration.
|
|
|
|
|
| |
added -m32 LDFLAGS
added DLLTOOLFLAGS for 32 bit multilib generation
|
|
|
|
|
|
|
| |
1. because we use WINAPI, the def file MUST have the @n aliases - there's no way around as MinGW's .o use decoration always for __stdcall, and this can't be turned off
2. our "dumb" autogen create_def() script simply creates the whole range of aliases (we might improve on this in the future)
3. dlltool must be called manually to create the import lib from the def, *with the --kill-at option*
4. a CREATE_IMPORT_LIB autotools variable is introduced to selectively run dlltool or not
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
added libusb-1.0.def (plus reference in MS projects)
removed LIBUSB_EXP/__declspec(dllexport) from libusb.h
removed LIBUSB_DLL_BUILD macros
added -Wl,--add-stdcall-alias linker option for MinGW/cygwin for DLL generation
added sed script in autogen to update the libusb-1.0.def
|
|
|
|
|
|
|
|
| |
cast pointer to void* for safe_free
always use safe_strlen in lieu of strlen
avoid the use of a strlen parameter in a macro
don't feed negative values to min() in safe_strncat
set uninitialized DLL functions to NULL
|
|
|
|
| |
also minor fixes (whitespace, debug output)
|