|
|
|
@217534
|
5 years |
dsd |
round up poll timeout
Pointed out by Richard Röjfors, otherwise we end up …
wip-hotplug
|
|
|
|
@5ad79b
|
5 years |
me |
fix doc about libusb_open()
libusb_open() returns int instead of …
wip-hotplug
|
|
|
|
@2d3a11
|
5 years |
dsd |
Temporary workaround for event handling serialization issue
Ludovic …
wip-hotplug
|
|
|
|
@514bb8
|
5 years |
dsd |
Refine libusb_set_configuration() semantics
Applications will generally …
wip-hotplug
|
|
|
|
@d1292f
|
5 years |
dsd |
v0.9.0 release
First libusb-1.0 beta release
wip-hotplug
|
|
|
|
@4cd249
|
5 years |
dsd |
Take lock before raising event waiters condition
This avoids a race …
wip-hotplug
|
|
|
|
@7c5254
|
5 years |
dsd |
Implement serialization of event handlers
Now offers a mechanism to wait …
wip-hotplug
|
|
|
|
@ff0660
|
5 years |
dsd |
allow LIBUSB_DEBUG env var to control message verbosity at runtime
Based …
wip-hotplug
|
|
|
|
@4d7889
|
5 years |
dsd |
don't print messages by default
Add libusb_set_debug() API to set message …
wip-hotplug
|
|
|
|
@bef33b
|
5 years |
dsd |
Fix memory leak in libusb_control_transfer
Pointed out by David Engraf: …
wip-hotplug
|
|
|
|
@a345ba
|
5 years |
david.engraf |
Linux: fix handling of ioctl failure
The return value of some ioctl …
wip-hotplug
|
|
|
|
@e44396
|
5 years |
david.engraf |
critical memory leak in handle_events
This patch closes a critical memory …
wip-hotplug
|
|
|
|
@eb2563
|
5 years |
dsd |
More informative libusb_open() return code
Hopefully one of the last API …
wip-hotplug
|
|
|
|
@2b2e9c
|
5 years |
dsd |
Fix endianness with descriptor handling
Alan Stern pointed out that usbfs …
wip-hotplug
|
|
|
|
@1298c5
|
5 years |
dsd |
Backend documentation for porting efforts
Hopefully comprehensive enough …
wip-hotplug
|
|
|
|
@ade26a
|
5 years |
dsd |
Linux: fix caching of guessed configuration
Reported and tested by …
wip-hotplug
|
|
|
|
@e25d59
|
5 years |
rob |
Linux: fix bulk transfer early completion
We were forgetting about the …
wip-hotplug
|
|
|
|
@fec7c8
|
5 years |
dsd |
Handle hot-unplugging
This involved moving from select() to poll() …
wip-hotplug
|
|
|
|
@aeb905
|
5 years |
dsd |
Documentation work
wip-hotplug
|
|
|
|
@ba5d9a
|
5 years |
dsd |
Endianness of control setup packets
Document behaviour where host-endian …
wip-hotplug
|
|
|
|
@7bedc3
|
5 years |
dsd |
Document that releasing interface causes SET_INTERFACE control request
wip-hotplug
|
|
|
|
@f2ede9
|
5 years |
dsd |
Support unconfigured devices
wip-hotplug
|
|
|
|
@8ebb4c
|
5 years |
dsd |
Linux: fix caching of active configuration for non-sysfs
wip-hotplug
|
|
|
|
@c3844f
|
5 years |
dsd |
Fetch configurations by index (not value)
Otherwise there is no way to …
wip-hotplug
|
|
|
|
@d77052
|
5 years |
dsd |
Linux: comprehensive sysfs vs usbfs access
Be more flexible when certain …
wip-hotplug
|
|
|
|
@74bc84
|
5 years |
dsd |
Linux: no need to store usbfs node path
This can be computed from bus …
wip-hotplug
|
|
|
|
@fe4adc
|
5 years |
dsd |
Rework configuration handling
libusb no longer caches descriptors in …
wip-hotplug
|
|
|
|
@5741bf
|
5 years |
dsd |
libusb_get_device_list() can return negative error code
wip-hotplug
|
|
|
|
@454131
|
5 years |
dsd |
Linux: fix clear_halt implementation
The ioctl expects an integer.
Bug …
wip-hotplug
|
|
|
|
@10d4e4
|
5 years |
dsd |
Documentation work
Partially based on some libusb-devel discussions
wip-hotplug
|
|
|
|
@ded0a2
|
5 years |
dsd |
Linux: enumerate devices and descriptors from sysfs
Suggested by Alan …
wip-hotplug
|
|
|
|
@885c2a
|
5 years |
dsd |
documentation touchups
wip-hotplug
|
|
|
|
@59c205
|
5 years |
dsd |
more error code sanitization
wip-hotplug
|
|
|
|
@88055d
|
5 years |
dsd |
Isochronous transfer helper functions
wip-hotplug
|
|
|
|
@a95c94
|
5 years |
dsd |
free open devices on exit
wip-hotplug
|
|
|
|
@b27fff
|
5 years |
dsd |
move descriptor parsing into main library
OS modules now provide …
wip-hotplug
|
|
|
|
@a304ec
|
5 years |
dsd |
Detect endpoint halts and unsupported control requests
wip-hotplug
|
|
|
|
@7da521
|
5 years |
dsd |
Linux: fix logical URB allocation
We were allocating the wrong number of …
wip-hotplug
|
|
|
|
@470b1b
|
5 years |
dsd |
add functionality for querying and detaching kernel driver
wip-hotplug
|
|
|
|
@17ecfb
|
5 years |
dsd |
Descriptor reading functionality
wip-hotplug
|
|
|
|
@bdce36
|
5 years |
dsd |
sanitized error returns from synchronous I/O functions
wip-hotplug
|
|
|
|
@bfe74e
|
5 years |
dsd |
implement libusb_reset_device()
wip-hotplug
|
|
|
|
@c01f74
|
5 years |
dsd |
Add functionality to clear endpoint halt conditions
wip-hotplug
|
|
|
|
@5878da
|
5 years |
dsd |
Fix libusb_get_device_list return value
It was documented to return the …
wip-hotplug
|
|
|
|
@a74106
|
5 years |
dsd |
Well-defined error codes for some operations
Also renamed …
wip-hotplug
|
|
|
|
@0f463f
|
5 years |
dsd |
Add libusb_set_configuration()
wip-hotplug
|
|
|
|
@e65608
|
5 years |
dsd |
rename LIBUSB_ERROR_NOMEM to LIBUSB_ERROR_NO_MEM
improves consistency
wip-hotplug
|
|
|
|
@5384bb
|
5 years |
dsd |
Linux: better EACCES handling
wip-hotplug
|
|
|
|
@1936ee
|
5 years |
dsd |
Rename reference counting API
This improves consistency with the naming …
wip-hotplug
|
|
|
|
@e2f822
|
5 years |
dsd |
Linux: use read-only access to enumerate devices and descriptors
Write …
wip-hotplug
|
|
|
|
@81204e
|
5 years |
dsd |
document pollfd notifiers
wip-hotplug
|
|
|
|
@e20f82
|
5 years |
dsd |
Allow multiple interfaces to be claimed
wip-hotplug
|
|
|
|
@66685f
|
5 years |
dsd |
Documentation improvements
wip-hotplug
|
|
|
|
@55bce3
|
5 years |
dsd |
detect short descriptor reads
wip-hotplug
|
|
|
|
@f3f178
|
5 years |
dsd |
remove "references" and "referenced by" listings in documentation
wip-hotplug
|
|
|
|
@fbb017
|
5 years |
dsd |
Use typedef ptr types in parameters and return types
This is passed …
wip-hotplug
|
|
|
|
@3675e9
|
5 years |
dsd |
Expose bus number and device address
wip-hotplug
|
|
|
|
@201289
|
5 years |
dsd |
standardised error codes
wip-hotplug
|
|
|
|
@0269c7
|
5 years |
dsd |
Fix descriptor handling memory leaks
wip-hotplug
|
|
|
|
@d3ab4e
|
5 years |
dsd |
Rename endpoint_type to transfer_type
Matches the USB specs more closely
wip-hotplug
|
|
|
|
@379e90
|
5 years |
dsd |
Remove a FIXME comment
it can't.
wip-hotplug
|
|
|
|
@2ddf81
|
5 years |
dsd |
Fix unlocked flying_transfers list access
wip-hotplug
|
|
|
|
@7ac0a4
|
5 years |
dsd |
Remove libusb_cancel_transfer_sync
This wasn't a particularly nice API. …
wip-hotplug
|
|
|
|
@a5006f
|
5 years |
dsd |
remove extra timeout check
If select() didn't timeout then don't check …
wip-hotplug
|
|
|
|
@3bdafa
|
5 years |
dsd |
Documentation touchups
Detail that interrupt polling interval is fixed to …
wip-hotplug
|
|
|
|
@e12618
|
5 years |
dsd |
add threaded example program
wip-hotplug
|
|
|
|
@1fcdb0
|
5 years |
dsd |
libusb_device mutex protection
wip-hotplug
|
|
|
|
@0efd2e
|
5 years |
dsd |
mutex protection for device and handle lists
wip-hotplug
|
|
|
|
@d2ff2b
|
5 years |
dsd |
lock flying_transfers during transfer removal
wip-hotplug
|
|
|
|
@256998
|
5 years |
dsd |
pollfds mutex protection
wip-hotplug
|
|
|
|
@f5a33e
|
5 years |
dsd |
flying_transfers mutex protection
This marks the beginnings of thread …
wip-hotplug
|
|
|
|
@85e199
|
5 years |
dsd |
Linux: fix control transfer cancellation
wip-hotplug
|
|
|
|
@cf9b83
|
5 years |
dsd |
set correct endpoint type for isochronous transfers
Pointed out by Felix …
wip-hotplug
|
|
|
|
@ad6e2b
|
5 years |
dsd |
Linux: fire multiple URBs at once for split transfers
This results in a …
wip-hotplug
|
|
|
|
@d9b2ce
|
5 years |
dsd |
Constify some return data
Make it clear that apps should not mess with …
wip-hotplug
|
|
|
|
@8d8098
|
5 years |
dsd |
Rename libusb_poll() to libusb_handle_events()
wip-hotplug
|
|
|
|
@211f80
|
5 years |
dsd |
Isochronous endpoint I/O
Due to variable-sized structures, this involved …
wip-hotplug
|
|
|
|
@b1ade6
|
5 years |
dsd |
distcheck fix for docs
wip-hotplug
|
|
|
|
@62077b
|
5 years |
dsd |
Support for changing altsetting
Will probably be suject to later …
wip-hotplug
|
|
|
|
@0499e9
|
5 years |
dsd |
it's called bmRequestType
wip-hotplug
|
|
|
|
@88884a
|
5 years |
dsd |
Save transfer flags before invoking callback
The callback may free the …
wip-hotplug
|
|
|
|
@ead09c
|
5 years |
dsd |
API documentation
Hopefully mostly complete. Some constants were renamed …
wip-hotplug
|
|
|
|
@285724
|
5 years |
anarsoul |
Fix get_device_list for realloc case
get_device_list can modify pointer …
wip-hotplug
|
|
|
|
@c0c943
|
5 years |
dsd |
Beginnings of cross-platform abstraction
This also includes a …
wip-hotplug
|
|
|
|
@de4c53
|
5 years |
dsd |
Add transfer flags
wip-hotplug
|
|
|
|
@aae05f
|
5 years |
dsd |
Simplify libusb_fill_control_transfer()
Transfer length can be inferred …
wip-hotplug
|
|
|
|
@7c5ea9
|
5 years |
dsd |
get_device fixup
Rename API away from "devh" and fix implementation to …
wip-hotplug
|
|
|
|
@9e89d1
|
5 years |
dsd |
Rename descriptor-getting functions
Based on feedback from Tim Roberts
wip-hotplug
|
|
|
|
@283ae9
|
5 years |
dsd |
Simplify cancellation API
No need to provide the device here.
wip-hotplug
|
|
|
|
@ebad1c
|
5 years |
dsd |
Rename libusb_dev_handle to libusb_device_handle
wip-hotplug
|
|
|
|
@1ac0a7
|
5 years |
dsd |
Move synchronous I/O implementation to its own file
wip-hotplug
|
|
|
|
@66348c
|
5 years |
dsd |
Separate transfer allocation and submission
Leads to some hefty API …
wip-hotplug
|
|
|
|
@d21ebe
|
5 years |
dsd |
Rework URB API naming
Now refer to everything as "transfers" as …
wip-hotplug
|
|
|
|
@fd6fb3
|
5 years |
dsd |
Add fallback on /proc/bus/usb
/dev/bus/usb is a relatively new thing …
wip-hotplug
|
|
|
|
@f3fdf4
|
5 years |
dsd |
Persistent libusb_device storage
Devices are now assigned a session ID …
wip-hotplug
|
|
|
|
@23f8fb
|
5 years |
dsd |
Add convenience function to find and open a device by USB VID+PID
Lots of …
wip-hotplug
|
|
|
|
@9cfdb4
|
5 years |
dsd |
Rework device discovery API
libusb_find_devices and libusb_get_devices …
wip-hotplug
|
|
|
|
@77cea8
|
5 years |
dsd |
Remove ctrl debug code
This was unintentionally committed
wip-hotplug
|
|
|
|
@b87352
|
5 years |
dsd |
Notifications for changes to the fd set
Applications can now be notified …
wip-hotplug
|
|
|
|
@ca66e1
|
5 years |
dsd |
Fix header installation path
wip-hotplug
|
|
|
|