usb: add support for "grouped" interfaces and the Interface Association Descriptor
This is used for some devices that have multiple interfaces that form a logicdevice. An example is Video Class, which has a Control interface and aStreaming interface. There can be additional interfaces on the same (physical)...
Bug #757654: UHCI fails to signal stall response patch
UHCI host controller status register indicates error andan interrupt is triggered on BABBLE and STALL errors.
Signed-off-by: Jan Vesely <jano.vesely@gmail.com>Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb: Pass the packet to the device's handle_control callback
This allows using the generic usb_generic_handle_packet function fromdevice code which does ASYNC control requests (such as the linux hostpass through code).
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
usb-linux: use usb_generic_handle_packet()
Make the linux usb host passthrough code use the usb_generic_handle_packet()function, rather then the curent DYI code. This removes 200 lines of almostidentical code.
usb-linux: fix device path aka physical port handling
The device path isn't just a number. It specifies the physical portthe device is connected to and in case the device is connected viausb hub you'll have two numbers there, like this: "5.1". The first...
usb-linux: add hostport property
This patch adds a hostport property which allows to specify the host usbdevices to pass through by bus number and physical port. This means youcan basically hand over one (or more) of the usb plugs on your host tothe guest and whatever device is plugged in there will show up in the...
usb-linux: track aurbs in list
This patch adds code to track all async urbs in a linked list,so we can find them without having to pass around a opaquepointer to them. Prerequisite for the cleanups.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb-linux: walk async urb list in cancel
Lookup async urbs which are to be canceled using the linked listinstead of the direct opaque pointer. There are two reasons weare doing that: First, to avoid the opaque poiner to the callback,which is needed for upcoming cleanups. Second, because we might...
usb-linux: split large xfers
Add support for splitting large transfers into multiple smaller ones.This is needed for the upcoming EHCI emulation which allows gueststo submit requests up to 20k in size. The linux kernel allows 16kmax size though.
Based on a patch from David Ahern, see...
usb-linux: fix max_packet_size for highspeed.
Calculate the max packet size correctly. Only bits 0..11 specify the size,bits 11+12 specify the number of (highspeed) microframes the endpoint wantsto use.
View all revisions | View revisions
Also available in: Atom