Statistics
| Branch: | Revision:

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

History | View | Annotate | Download (44.3 kB)

# Date Author Comment
c7bcc85d 02/14/2014 10:12 pm Paolo Bonzini

qdev: Remove hex8/32/64 property types

Replace them with uint8/32/64.

Reviewed-by: Igor Mammedov <>
Reviewed-by: Eric Blake <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Andreas Färber <>

1294ca79 10/22/2013 05:28 pm Hans de Goede

usb-host-libusb: Configuration 0 may be a valid configuration

Quoting from: linux/Documentation/ABI/stable/sysfs-bus-usb:

Note that some devices, in violation of the USB spec, have a
configuration with a value equal to 0. Writing 0 to
bConfigurationValue for these devices will install that...
f34d5c75 10/22/2013 05:28 pm Hans de Goede

usb-host-libusb: Detach kernel drivers earlier

If we detach the kernel drivers on the first set_config, then they will
be still attached when the device gets its initial reset. Causing the drivers
to re-initialize the device after the reset, dirtying the device state....

5af35d7f 10/22/2013 05:28 pm Hans de Goede

usb-host-libusb: Fix reset handling

The guest will issue an initial device reset when the device is attached, but
since the current usb-host-libusb code only actually does the reset when
udev->configuration != 0, and on attach the device is not yet configured,...

bc72ad67 08/22/2013 08:14 pm Alex Bligh

aio / timers: Switch entire codebase to the new timer API

This is an autogenerated patch using scripts/switch-timer-api.

Switch the entire code base to using the new timer API.

Note this patch may introduce some line length issues.

Signed-off-by: Alex Bligh <>...

125ee0ed 07/29/2013 06:37 pm Marcel Apfelbaum

devices: Associate devices to their logical category

The category will be used to sort the devices displayed in
the command line help.

Signed-off-by: Marcel Apfelbaum <>
Message-id: ...

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....