usb: Add defines for USB Serial Bus Release Number register
Signed-off-by: Brad Hards <bradh@frogmouth.net>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb: Use defines for serial bus release number register for UHCI
usb: Use defines for serial bus release number register for EHCI
hw/usb-ohci.c: Ignore writes to HcPeriodCurrentED register
HcPeriodCurrentED is read-only, but Linux writes to it anyway; silentlyignore this rather than printing a warning message.
(Specifically, drivers/usb/host/ohci-hub.c:ohci_rh_resume() writes a0, in at least kernels 2.6.25 through 2.6.39.)...
hw/usb-ohci.c: Implement remote wakeup
Implement the wakeup callback in the OHCI USBPortOps, so that whena downstream device wakes up it correctly causes the OHCI controllerto come out of suspend.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>...
usb-linux: only cleanup in host_close when host_open was successful.
usb: don't call usb_host_device_open from vl.c
Not needed any more, usb-host is qdev-ified these days.Well, at least the linux version ...
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb-linux: Enlarge buffer for descriptors to 8192 bytes
1024 bytes is way to small, one hd UVC webcam I have over here has somany resolutions its descriptors take op close to 4k. Hopefully 8k willbe enough for all devices.
usb-bus: Add knowledge of USB_SPEED_SUPER to usb_speed helper
usb-bus: Don't detach non attached devices on device exit
This causes an "Error: tried to detach unattached usb device " to be printed,this can happen when deleting ie a usb host qdev, which did notget attached (because a device matching the filter never got plugged in)....
View all revisions | View revisions
Also available in: Atom