Statistics
| Branch: | Revision:

root / hw / usb @ 71d2c9cf

Name Size
Makefile.objs 585 Bytes
bus.c 15.7 kB
combined-packet.c 6.4 kB
core.c 21.4 kB
desc.c 22.7 kB
desc.h 7.9 kB
dev-audio.c 22.8 kB
dev-bluetooth.c 16.6 kB
dev-hid.c 20.3 kB
dev-hub.c 17 kB
dev-network.c 43.4 kB
dev-serial.c 17.4 kB
dev-smartcard-reader.c 41.4 kB
dev-storage.c 20.1 kB
dev-uas.c 21.6 kB
dev-wacom.c 10.1 kB
hcd-ehci-pci.c 6.3 kB
hcd-ehci-sysbus.c 2.2 kB
hcd-ehci.c 70.2 kB
hcd-ehci.h 9.9 kB
hcd-musb.c 44 kB
hcd-ohci.c 54.5 kB
hcd-uhci.c 38 kB
hcd-xhci.c 91.1 kB
host-bsd.c 17.7 kB
host-linux.c 57.3 kB
host-stub.c 1.9 kB
libhw.c 2.3 kB
redirect.c 64 kB

Latest revisions

# Date Author Comment
88793816 11/21/2012 03:55 pm Hans de Goede

uhci: Add a completions_only flag for async completions

Add a completions_only flag, and set this when running process_frame for async
completion handling, this fixes 2 issues in a single patch:

1) It makes sure async completed packets get written to guest mem immediately,...

1cbdde90 11/21/2012 03:55 pm Hans de Goede

uhci: Don't allow the guest to set port-enabled when there is no dev connected

It is possible for device disconnect and the guest trying to reset the port
(because of USB xact errors prior to the disconnect getting signaled) to race,
when we hit this race, the guest will write the port-control register with its...

71d2c9cf 11/21/2012 03:55 pm Hans de Goede

uhci: Fix double unlink

uhci_async_cancel() already does a uhci_async_unlink().

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

2c7b15c1 11/16/2012 12:27 pm Hans de Goede

ehci: Don't verify the next pointer for periodic qh-s and qtd-s

While testing the move to async packet handling for interrupt endpoints I
noticed that Windows-XP likes to play tricks with the next pointer for
periodic qh-s, so we should not fail qh / qtd verification when it changes....

40862309 11/16/2012 12:27 pm Gerd Hoffmann

ehci: keep the frame timer running in case the guest asked for frame list rollover interrupts

Signed-off-by: Gerd Hoffmann <>

55903f1d 11/16/2012 12:27 pm Gerd Hoffmann

ehci: handle dma errors

Starting with commit 1c380f9460522f32c8dd2577b2a53d518ec91c6d dma
transfers can actually fail. This patch makes ehci keep track
of the busmaster bit in pci config space, by setting/clearing the
dma_context pointer. Attempts to dma without context will result...

2cb343b4 11/16/2012 12:27 pm Hans de Goede

usb-redir: Only add actually in flight packets to the in flight queue

Packets which are queued up, but not yet handed over to the device, are
not in flight.

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

618fbc95 11/16/2012 12:27 pm Hans de Goede

usb-redir: Set default debug level to warning

The previous default of 0 means that even errors and warnings would not
get printed, which is really not a good default.

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

8c908fca 11/16/2012 12:27 pm Gerd Hoffmann

usb-host: update tracing

Now that we have separate status and length fields in USBPacket
update the completion tracepoint to log both.

Signed-off-by: Gerd Hoffmann <>

71e0aa39 11/16/2012 12:27 pm Gerd Hoffmann

usb-host: fix splitted transfers

USBPacket->actual_length wasn't updated correctly for USBPackets
splitted into multiple urbs. Fix it.

Signed-off-by: Gerd Hoffmann <>

View revisions

Also available in: Atom