Home
last modified time | relevance | path

Searched hist:"5 f69076b8dda325dcbbc87bdb00e04ffac0f6137" (Results 1 – 2 of 2) sorted by relevance

/qemu/include/hw/
H A Dusb.h5f69076b8dda325dcbbc87bdb00e04ffac0f6137 Fri Dec 10 10:43:35 UTC 2010 Gerd Hoffmann <kraxel@redhat.com> usb: add port property.

This allows to explictily set the physical port where you want to
plug the usb device. Example:

-device usb-tablet,bus=usb.0,port=2

With explicit port addressing qemu can and will not automagically add
USB Hubs. This means that:

(a) You can plug two devices of your choice into the two uhci
root ports.
(b) If you want plug in more that two devices you have to care
about adding a hub yourself.

Plugging a hub works this way:

-device usb-hub,bus=usb.0,port=1

Use this to add a device to the hub:

-device usb-tablet,bus=usb.0,port=1.1

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
/qemu/hw/usb/
H A Dbus.c5f69076b8dda325dcbbc87bdb00e04ffac0f6137 Fri Dec 10 10:43:35 UTC 2010 Gerd Hoffmann <kraxel@redhat.com> usb: add port property.

This allows to explictily set the physical port where you want to
plug the usb device. Example:

-device usb-tablet,bus=usb.0,port=2

With explicit port addressing qemu can and will not automagically add
USB Hubs. This means that:

(a) You can plug two devices of your choice into the two uhci
root ports.
(b) If you want plug in more that two devices you have to care
about adding a hub yourself.

Plugging a hub works this way:

-device usb-hub,bus=usb.0,port=1

Use this to add a device to the hub:

-device usb-tablet,bus=usb.0,port=1.1

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>