genode/repos/ports/src/virtualbox
Christian Prochaska 88034ef836 vbox: enable USB (OHCI) pass-through support
The information about connected devices is obtained from a ROM file named
'usb_devices', which is supposed to contain a device list as in the device
report generated by the USB driver (see issue #1506).

A policy for 'report_rom' would look like:

<policy label="vbox -> usb_devices" report="usb_drv -> devices"/>

If the 'usb_devices' ROM file is not available, a warning message gets
printed and VirtualBox continues without USB pass-through support.

The devices to be passed-through need to have a matching device filter in
the '.vbox' file. Example:

<USB>
    <DeviceFilters>
        <DeviceFilter name="USB Scanner" active="true" vendorId="04a9"
                      productId="2220" remote="0"/>
    </DeviceFilters>
</USB>

The feature was tested with HID devices (mouse, keyboard) and a flatbed
scanner. Mass storage devices didn't work correctly (they also didn't work
with VirtualBox on Linux without the closed-source extension pack).

It should be made sure that the USB driver does not try to control the
devices to be passed-through itself, for example, when passing-through
a HID device, the '<hid/>' config option should not be set.

Fixes #1507
2015-05-26 09:39:46 +02:00
..
accloff vbox: support resetting of a VM 2014-11-12 14:47:47 +01:00
frontend vbox: enable USB (OHCI) pass-through support 2015-05-26 09:39:46 +02:00
include vbox: use interface declarations from 'VirtualBox_XPCOM.h' 2015-05-06 12:06:23 +02:00
nova base: move flex_iterator.h to include/util 2015-04-17 16:13:22 +02:00
patches vbox: enable USB (OHCI) pass-through support 2015-05-26 09:39:46 +02:00
devices.cc vbox: cleanup device registration 2015-03-13 12:17:25 +01:00
drivers.cc vbox: enable usb support for guests 2015-03-13 12:17:23 +01:00
dummies.cc vbox: enable dumping GuruMeditations messages 2015-01-20 11:23:50 +01:00
dynlib.cc vbox: update to virtualbox 4.3.16 2014-11-28 12:02:40 +01:00
guest_memory.h base: move flex_iterator.h to include/util 2015-04-17 16:13:22 +02:00
hm.cc vbox: enable support for Windows 8 2015-02-27 11:48:05 +01:00
iommio.cc vbox: enable 1-byte MMIO writes at 4-/8-byte aligned address 2014-12-08 17:39:23 +01:00
ioport.cc vbox: update to virtualbox 4.3.16 2014-11-28 12:02:40 +01:00
libc.cc vbox: support multi touch input events 2015-03-19 08:57:19 +01:00
logger.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
mm.cc vbox: update to virtualbox 4.3.16 2014-11-28 12:02:40 +01:00
network.cpp vbox: rework network backend 2015-03-27 11:53:15 +01:00
pdm.cc vbox: enable usb support for guests 2015-03-13 12:17:23 +01:00
pgm.cc vbox: revert 'PGMR3Phys{Read,Write}External' 2015-03-13 12:17:24 +01:00
rt.cc vbox: update to virtualbox 4.3.16 2014-11-28 12:02:40 +01:00
sup.cc vbox: improve virtual time accuracy 2015-02-27 11:40:58 +01:00
sup.h x86 vmm: add general multiprocessor support 2014-07-24 10:18:07 +02:00
target.mk vbox: enable USB (OHCI) pass-through support 2015-05-26 09:39:46 +02:00
thread.cc vbox: support multi touch input events 2015-03-19 08:57:19 +01:00
unimpl.cc vbox: enable USB (OHCI) pass-through support 2015-05-26 09:39:46 +02:00
util.h vbox: update to virtualbox 4.3.16 2014-11-28 12:02:40 +01:00
vmm_memory.h vbox: support resetting of a VM 2014-11-12 14:47:47 +01:00