summaryrefslogtreecommitdiffstats
path: root/src/usb.c
AgeCommit message (Collapse)AuthorFilesLines
2018-01-31usb: Remove leftover debug log outputGravatar Nikias Bassen1-1/+0
2018-01-08usb: Fix calculation of RX loop countGravatar Nikias Bassen1-0/+1
2018-01-08usb: Use heap buffer instead of making the usb_device struct largerGravatar Nikias Bassen1-6/+18
Since this buffer is only used during device initialization we don't want the usb_device struct to be unecessary big.
2018-01-08usb: Use libusb asynchronous I/O for getting initial device information.Gravatar Alexis Ballier1-35/+111
usb_device_add may now be called from libusb main loop via the hotplug callbacks. No blocking call must occur there and libusb 1.0.21 now returns an error when trying to perform blocking I/O in this callback. Should fix the error when hotpluging a device reported in #81
2018-01-08usb: Store the whole device descriptor in struct usb_deviceGravatar Alexis Ballier1-4/+3
2014-12-02usb: Implement device discovery using libusb hotplug eventsGravatar Nikias Bassen1-202/+268
2014-12-02Rename usb-linux.c to more suitable usb.cGravatar Nikias Bassen1-0/+680