| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* Some HID devices (Logitech) had interfaces that used more than 2
levels to get to a listed ancestor, which resulted to assertion
failure
* new implementation no longer constrains lookup level
* issue reported by Phong Truong
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* default WinUSB timeout was 5 seconds, which may be to small.
PIPE_TRANSFER_TIMEOUT policy is now set to infinite for all EPs.
* other WinUSB policy settings were called before the endpoints
had been set. This is now fixed.
|
| |
|
| |
|
| |
|
|
|
|
| |
* issued in MinGW/cygwin when ENABLE_DEBUG_LOGGING is not set
|
|
|
|
| |
* also removed unneeded ../msvc/ lib dir for VS2005
|
|
|
|
|
|
|
|
| |
* binary snapshot users, with a version of Visual Studio < 10
don't have stdint.h available
* stdint.h is referenced in libusb.h
* ssize_t, uint8_t and uint16_t are now defined in libusb.h
when required
|
|
|
|
|
|
|
| |
* while additional HID collections might be ignored,
existing code assumed that the device interface path was
always assigned, which could create a leak
* issue reported by Stephano Antonelli
|
| |
|
| |
|
|
|
|
|
| |
* use _open() always
* avoid the _open_osfhandle() redefinition on cygwin
|
|
|
|
|
|
|
|
| |
* use of CloseHandle() prevented the pipe fds from being
relinquished on libusb_exit()
* leaked fds could lead to the OS running out of new fds
and LIBUSB_ERROR_NO_MEM being returned as a result
* issue reported by Stephano Antonelli
|
| |
|
|
|
|
|
|
|
|
| |
* bus number could be set to zero if devices were listed
before their hubs in the GEN pass
* init_device now detects the issue and fixes it
* further code simplification with the introduction of a
new get_ancestor_session_id call
|
|
|
|
|
|
| |
* changed assertions that failed enum on newly connected
or disconnected, to warnings about device being ignored
* misc. additional logging message improvements
|
|
|
|
|
|
| |
* hub driver API now allows the retrieval of descriptors
* hub API now detects if default hub driver has been overridden
* comments fixup + enum debug template
|
|
|
|
|
|
|
| |
* previously opened devices were not being added to the discovered list
* provide device information on cache descriptor errors
* disconnected device is not an assertion failure
* code readability
|
|
|
|
|
|
|
| |
* dev_interface_details is not available on GEN pass but
some warning messages attempt to reference that pointer
* skip device if interface path cannot be sanitized
* check the return value of init_device() and bail out on error
|
|
|
|
| |
* also _bd.cmd fixes and improvements
|
|
|
|
|
|
|
| |
* advapi32 was still being used through RegQueryValueEx and
RegCloseKey
* also fixed overzealous removal of kernel32.lib, which
prevented DLL generation from WDK/DDK
|
| |
|
|
|
|
|
|
|
|
| |
* default for ddk was to use MSVCRT, which produces static
libs that cannot be used in MSVC with /MT (libcmt)
* ddk_build script now allows users to chose between /MD
and /MT compatibility
* also simplified libusb_sources and updated INSTALL_WIN.txt
|
| |
|
|
|
|
|
|
|
| |
* DDK 64 bit static lib generated the following in VS2008 projects:
"fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'f:\dd\vctools\compiler\utc\src\p2\p2symtab.c', line 1823)"
* http://jpassing.com/2009/10/21/ltcg-issues-with-the-win7amd64-environment-of-wdk-7600/
|
| |
|
| |
|
|
|
|
|
| |
* Windows makes no guarantee that hubs are enumerated in root to leaf order
* Should address the issue reported by gorlik as part of trac #68
|
|
|
|
|
| |
* this ensures that libusb dependent applications only need
to link with libusb on Windows
|
|
|
|
|
| |
* prevents redefinition warnings when an app is statically
linking against SetupAPI.lib in MSVC for instance.
|
|
|
|
|
|
| |
* MBCS (which is different from UTF-8) only makes sense if
supporting Windows 95/98, which we don't
* also switched all string functions to use char*
|
|
|
|
| |
678c242705b29f9cb6cc421b5625a6485ae58047 & 9cd9059bf9baac69a9d6c909f4c1e000592fa260
|
|
|
|
| |
* also increased htab size to 1021, from a .h macro
|
|
|
|
|
| |
* this regression was introduced in pbr301
* reported by gorlik
|
| |
|
|
|
|
|
| |
* spotted by Michael Plante
* also some cleanup
|
| |
|
|
|
|
| |
* hash table functions modified from glibc (LGPL)
|
|
|
|
|
|
| |
* use realloc for unref
* pick VID/PID from PCI HCD
* cleanup
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
| |
* problem was introduced by recent -version-info patch from official
|
| |
|
|
|
|
| |
* follow up from cygwin shadow warning fix
|