From: Yuri Benditovich <[email protected]> On Windows VBoxUsbMon hooks driver objects of top-level device objects in stack of hub devices, assuming it is enough to receive PnP messages of USB devices created by these hubs. This assumption is not always correct: if there are upper filters installed in hub stack, but not in device stack. the VBoxUsbMon does not receive PnP messages of devices and USB redirection to VM does not work. Example of such case: https://github.com/daynix/UsbDk/issues/40, although the problem is generic. The solution in presented patch is to hook the driver object related to PDO of the device that is going to be redirected.
Yuri Benditovich (1): VBoxUsbMon: Hook proper driver object src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbFlt.cpp | 4 ++++ src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp | 10 ++++++++++ src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.h | 2 ++ 3 files changed, 16 insertions(+) -- 2.7.0.windows.1 _______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
