Statistics
| Branch: | Revision:

root / hw / usb @ c90daa1c

Name Size
Makefile.objs 1.2 kB
bus.c 17.5 kB
ccid-card-emulated.c 18.8 kB
ccid-card-passthru.c 12.4 kB
ccid.h 1.9 kB
combined-packet.c 6.4 kB
core.c 22.3 kB
desc.c 22.7 kB
desc.h 7.9 kB
dev-audio.c 22.8 kB
dev-bluetooth.c 17.4 kB
dev-hid.c 23 kB
dev-hub.c 17.3 kB
dev-network.c 43.6 kB
dev-serial.c 17.3 kB
dev-smartcard-reader.c 46.5 kB
dev-storage.c 21.9 kB
dev-uas.c 27.2 kB
dev-wacom.c 10.2 kB
hcd-ehci-pci.c 6.9 kB
hcd-ehci-sysbus.c 6.2 kB
hcd-ehci.c 73.9 kB
hcd-ehci.h 11.5 kB
hcd-musb.c 44 kB
hcd-ohci.c 57.4 kB
hcd-uhci.c 38.8 kB
hcd-xhci.c 106.2 kB
host-legacy.c 4.1 kB
host-libusb.c 44.3 kB
host-stub.c 1.8 kB
host.h 1.7 kB
libhw.c 2.3 kB
quirks-ftdi-ids.h 46.5 kB
quirks-pl2303-ids.h 4.1 kB
quirks.c 1.7 kB
quirks.h 48.9 kB
redirect.c 77.2 kB

Latest revisions

# Date Author Comment
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....

946ff2c0 10/22/2013 05:28 pm Hans de Goede

usb-hcd-xhci: Remove unused sstreamsm member from XHCIStreamContext

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

8de1838a 10/22/2013 05:28 pm Hans de Goede

usb-hcd-xhci: Remove unused cancelled member from XHCITransfer

Since qemu's USB model is geared towards emulated devices cancellation
is instanteneous, so no need to wait for cancellation to complete, as
such there is no wait for cancellation code, and the cancelled bool...

582d6f4a 10/22/2013 05:28 pm Hans de Goede

usb-hcd-xhci: Report completion of active transfer with CC_STOPPED on ep stop

As we should per the XHCI spec "4.6.9 Stop Endpoint".

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

c90daa1c 10/22/2013 05:28 pm Hans de Goede

usb-hcd-xhci: Update endpoint context dequeue pointer for streams too

With streams the endpoint context dequeue pointer should point to the
dequeue value for the currently active stream.

At least Linux guests expect it to point to value set by an set_ep_dequeue...

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

4b351a0f 10/02/2013 09:55 pm Ján Veselý

pci-ohci: Add missing 'break' in ohci_service_td

Device communication errors need to be reported to driver.
Add a debug message while at it.

Signed-off-by: Jan Vesely <>
Acked-by: Gerd Hoffmann <>
Signed-off-by: Michael Tokarev <>

9adbaad3 09/19/2013 12:28 pm Hans de Goede

usb: Also reset max_packet_size on ep_reset

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

0ca6db4f 09/19/2013 12:28 pm Hans de Goede

usb: Fix iovec memleak on combined-packet free

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

View revisions

Also available in: Atom