mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-27 09:12:32 +00:00
88034ef836
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
78 lines
2.9 KiB
Makefile
78 lines
2.9 KiB
Makefile
include $(REP_DIR)/lib/mk/virtualbox-common.inc
|
|
|
|
VBOX_CC_OPT += -DVBOX_WITH_GENERIC_SESSION_WATCHER
|
|
|
|
LIBS += stdcxx
|
|
|
|
SRC_CC += Main/xml/Settings.cpp
|
|
|
|
SRC_CC += Main/src-all/EventImpl.cpp
|
|
SRC_CC += Main/src-all/DisplayResampleImage.cpp
|
|
SRC_CC += Main/src-all/DisplayUtils.cpp
|
|
SRC_CC += Main/src-all/Global.cpp
|
|
SRC_CC += Main/src-all/HashedPw.cpp
|
|
SRC_CC += Main/src-all/PCIDeviceAttachmentImpl.cpp
|
|
SRC_CC += Main/src-all/ProgressImpl.cpp
|
|
SRC_CC += Main/src-all/SharedFolderImpl.cpp
|
|
SRC_CC += Main/src-all/VirtualBoxBase.cpp
|
|
|
|
SRC_CC += Main/src-client/AdditionsFacilityImpl.cpp
|
|
SRC_CC += Main/src-client/BusAssignmentManager.cpp
|
|
SRC_CC += Main/src-client/ConsoleImpl.cpp
|
|
SRC_CC += Main/src-client/ConsoleImpl2.cpp
|
|
SRC_CC += Main/src-client/DisplayImpl.cpp
|
|
SRC_CC += Main/src-client/GuestImpl.cpp
|
|
SRC_CC += Main/src-client/HGCM.cpp
|
|
SRC_CC += Main/src-client/HGCMObjects.cpp
|
|
SRC_CC += Main/src-client/HGCMThread.cpp
|
|
SRC_CC += Main/src-client/KeyboardImpl.cpp
|
|
SRC_CC += Main/src-client/MouseImpl.cpp
|
|
SRC_CC += Main/src-client/VBoxDriversRegister.cpp
|
|
SRC_CC += Main/src-client/VMMDevInterface.cpp
|
|
SRC_CC += Main/src-client/SessionImpl.cpp
|
|
SRC_CC += Main/src-client/USBDeviceImpl.cpp
|
|
|
|
SRC_CC += Main/src-server/AudioAdapterImpl.cpp
|
|
SRC_CC += Main/src-server/BandwidthControlImpl.cpp
|
|
SRC_CC += Main/src-server/BandwidthGroupImpl.cpp
|
|
SRC_CC += Main/src-server/BIOSSettingsImpl.cpp
|
|
SRC_CC += Main/src-server/ClientToken.cpp
|
|
SRC_CC += Main/src-server/DHCPServerImpl.cpp
|
|
SRC_CC += Main/src-server/GuestOSTypeImpl.cpp
|
|
SRC_CC += Main/src-server/HostUSBDeviceImpl.cpp
|
|
SRC_CC += Main/src-server/MachineImpl.cpp
|
|
SRC_CC += Main/src-server/MachineImplCloneVM.cpp
|
|
SRC_CC += Main/src-server/Matching.cpp
|
|
SRC_CC += Main/src-server/MediumAttachmentImpl.cpp
|
|
SRC_CC += Main/src-server/MediumImpl.cpp
|
|
SRC_CC += Main/src-server/MediumFormatImpl.cpp
|
|
SRC_CC += Main/src-server/MediumLock.cpp
|
|
SRC_CC += Main/src-server/NATEngineImpl.cpp
|
|
SRC_CC += Main/src-server/NetworkAdapterImpl.cpp
|
|
SRC_CC += Main/src-server/NetworkServiceRunner.cpp
|
|
SRC_CC += Main/src-server/ParallelPortImpl.cpp
|
|
SRC_CC += Main/src-server/SerialPortImpl.cpp
|
|
SRC_CC += Main/src-server/SnapshotImpl.cpp
|
|
SRC_CC += Main/src-server/StorageControllerImpl.cpp
|
|
SRC_CC += Main/src-server/SystemPropertiesImpl.cpp
|
|
SRC_CC += Main/src-server/TokenImpl.cpp
|
|
SRC_CC += Main/src-server/USBControllerImpl.cpp
|
|
SRC_CC += Main/src-server/USBDeviceFilterImpl.cpp
|
|
SRC_CC += Main/src-server/USBDeviceFiltersImpl.cpp
|
|
SRC_CC += Main/src-server/USBProxyService.cpp
|
|
SRC_CC += Main/src-server/VirtualBoxImpl.cpp
|
|
SRC_CC += Main/src-server/VRDEServerImpl.cpp
|
|
|
|
SRC_CC += Main/glue/AutoLock.cpp
|
|
SRC_CC += Main/glue/EventQueue.cpp
|
|
SRC_CC += Main/glue/string.cpp
|
|
SRC_CC += Main/glue/xpcom/helpers.cpp
|
|
|
|
INC_DIR += $(VBOX_DIR)/Main/xml
|
|
INC_DIR += $(VBOX_DIR)/Main/include
|
|
INC_DIR += $(REP_DIR)/src/virtualbox/frontend
|
|
INC_DIR += $(REP_DIR)/src/virtualbox/frontend/VBoxAPIWrap
|
|
|
|
# search path to 'scan_code_set_2.h'
|
|
INC_DIR += $(call select_from_repositories,src/drivers/input/ps2)
|