I'm using Virtual Box 5.2.12 running on Windows 10, Guest additions 5.2.12 installed, and on my setup Virtual Box is stealing the USB mouse and keyboard from the Host OS. Which means I can't use the keyboard and mouse in my host.
Is there a way to prevent VBox from taking control automatically over host devices?
I have a Dell laptop which I use with a docking station, many times without even opening the lid, to take advantage of mouse, better keyboard, extra USB ports, extra displays, etc.
The issue is that any time I dock my laptop and awake it from sleep mode I'm unable to unlock/login. Keyboard and mouse are not responding. I have to open the laptop lid and log in using the laptop keyboard and touchpad.
Then I notice that my mouse, keyboard, headphones and any devices connected to the dock's USB are not responding; right clicking on the small USB icon on the bottom right part of the virtual machine window shows me that all those non-responsive devices are displayed there and have the check mark to their left. Which means that Virtual Box has assigned them exclusively to the guest OS (Ubuntu 16.04 LTS in my case).
Which leaves me without keyboard, mouse, headphones etc in my host OS, until I manually un-check them from Virtual Box.
This in my opinion is a bug.
Normally, the virtual machine USB settings allow to select filters which I previously used to have some resources automatically assigned to the VM (e.g. a specific SD card reader, in order to prevent the host from auto-mounting it and thus making it unavailable to the guest). It should have such a filter for devices that should be unavailable to the VM.
So if you were patient enough to read my whole complaint,
Thank you.
And if you have a clue and a solution/workaround for me, then
Thank you twice (which a cherry on top)