Statistics
| Branch: | Revision:

root / hw / usb @ fa156e51

Name Size
bus.c 15.2 kB
core.c 19.2 kB
desc.c 18.3 kB
desc.h 6.4 kB
dev-audio.c 23 kB
dev-bluetooth.c 16.7 kB
dev-hid.c 20.3 kB
dev-hub.c 17 kB
dev-network.c 43 kB
dev-serial.c 17.1 kB
dev-smartcard-reader.c 41.6 kB
dev-storage.c 18.2 kB
dev-wacom.c 10.1 kB
hcd-ehci.c 67 kB
hcd-musb.c 43.8 kB
hcd-ohci.c 53.6 kB
hcd-uhci.c 36.3 kB
hcd-xhci.c 84.4 kB
host-bsd.c 17.7 kB
host-linux.c 54.8 kB
host-stub.c 1.9 kB
libhw.c 2 kB
redirect.c 48.1 kB

Latest revisions

# Date Author Comment
7a85d1cf 05/14/2012 06:07 pm Anthony Liguori

Merge remote-tracking branch 'kraxel/usb.50' into staging

  • kraxel/usb.50:
    usb-host: handle guest-issued clear halt
a2498f76 05/14/2012 11:22 am Gerd Hoffmann

usb-host: handle guest-issued clear halt

Most important here is to update our internal endpoint state so we know
the endpoint isn't in halted state any more. Without this usb-host
tries to clear halt again with the next data transfer submitted. Doing
this twice is (a) not correct and (b) confuses some usb devices,...

a31f0531 05/14/2012 08:27 am Jim Meyering

fix some common typos

These were identified using: http://github.com/lyda/misspell-check
and run like this to create a bourne shell script using GNU sed's
-i option:

git ls-files|grep -vF .bin | misspellings -f - |grep -v '^ERROR:' |perl \
-pe 's/^(.*?)\[(\d+)\]: (\w+) -> "(.*?)"$/sed -i '\''${2}s!$3!$4!'\'' $1/'...

1510168e 04/26/2012 01:21 pm Hans de Goede

usb-redir: An interface count of 0 is a valid value

An interface-count of 0 happens when a device is in unconfigured state when
it gets redirected. So we should not use 0 to detect not having received
interface info from our peer.

Signed-off-by: Hans de Goede <>...

a0625c56 04/26/2012 01:21 pm Hans de Goede

usb-redir: Reset device address and speed on disconnect

Without this disconnected devices look like the last redirected device
in the monitor in "info usb".

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

b15cf49b 04/26/2012 01:21 pm Hans de Goede

usb-redir: Not finding an async urb id is not an error

We clear our pending async urb list on device disconnect and we may still
receive "packet complete" packets from our peer after this, which will then
refer to packet ids no longer in our list.

Signed-off-by: Hans de Goede <>...

9d55d1ad 04/26/2012 01:21 pm Gerd Hoffmann

usb: add serial number generator

This patch adds a function which creates unique serial numbers for usb
devices and puts it into use. Windows guests tend to become unhappy if
they find two identical usb devices in the system. Effects range from
non-functional devices (with yellow exclamation mark in device manager)...

aba1f242 04/26/2012 01:21 pm Gerd Hoffmann

usb-uhci: update irq line on reset

uhci_reset() clears irq mask and irq status registers, but doesn't
update the irq line. Which may result in suspious IRQs after uhci
reset. Fix it.

Signed-off-by: Gerd Hoffmann <>

59a70ccd 04/26/2012 01:21 pm David Gibson

usb-xhci: Use PCI DMA helper functions

Shortly before 1.0, we added helper functions / wrappers for doing PCI DMA
from individual devices. This makes what's going on clearer and means that
when we add IOMMU support somewhere in the future, only the general PCI...

215bff17 04/26/2012 01:21 pm Lai Jiangshan

usb-xhci: fix bit test

use & instead of the wrong &&

Signed-off-by: Lai Jiangshan <>
Signed-off-by: Gerd Hoffmann <>

View revisions

Also available in: Atom