Statistics
| Branch: | Revision:

root / hw / usb / host-libusb.c @ a8aec295

History | View | Annotate | Download (44.2 kB)

# Date Author Comment
628e5485 06/24/2013 09:40 am Gerd Hoffmann

usb-host-libusb: set USB_DEV_FLAG_IS_HOST

... like host-{linux,bsd}.c do.

Cc:
Signed-off-by: Gerd Hoffmann <>

bc45de8c 06/24/2013 09:33 am Hans de Goede

usb/host-libusb: Fix building with libusb git master code

The next libusb release will deprecate libusb_get_port_path, and since
we compile with -Werror, this breaks the build.

Signed-off-by: Hans de Goede <>
Signed-off-by: Gerd Hoffmann <>

45ec2671 06/03/2013 08:17 am Ed Maste

host-libusb: Correct test for USB packet state

USB_RET_ASYNC is -6, so inflight was always false.

Signed-off-by: Ed Maste <>
Cc:
Signed-off-by: Gerd Hoffmann <>

c3268cc1 05/07/2013 12:34 pm Gerd Hoffmann

usb-host: add usb_host_full_speed_compat

Alloes to pass through usb2 devices on usb1 host controllers if possible.
Brings the libusb implementation to feature-parity with the linux usbfs
code, so the usb-host implementation in 1.5 (libusb) doesn't regress...

95efb20c 05/07/2013 09:19 am Gerd Hoffmann

usb-host: live migration support for the libusb version

Signed-off-by: Gerd Hoffmann <>

3f5cc97e 04/23/2013 09:43 am Gerd Hoffmann

usb-host: raise libusbx minimum version to 1.0.13

Allows to remove one FIXME. Makes LIBUSB_LOG_LEVEL_WARNING build errors
go away. And starting with that version libusb has a LIBUSBX_API_VERSION
define which allows to easily #ifdef version dependencies should that...

2b2325ff 04/16/2013 01:04 pm Gerd Hoffmann

use libusb for usb-host

Reimplement usb-host on top of libusb.
Reasons to do this:

(1) Largely rewritten from scratch, nice opportunity to kill historical
cruft.
(2) Offload usbfs handling to libusb.
(3) Have a single portable code base instead of bsd + linux variants....