VirtualBox for testing USB driver on multiple Windows OS

Discussions related to using VirtualBox on Windows hosts.
Post Reply
cswish
Posts: 3
Joined: 8. Jan 2016, 19:56

VirtualBox for testing USB driver on multiple Windows OS

Post by cswish »

I am looking to test a USB driver that I am developing on Windows 7 up to Windows 10. Would VirtualBox allow me verify that this driver would work on all relevant operating systems? It looks like there is some sharing done between USB drivers of the host OS and the virtual OS running on the machine so I am curious if this is an option before I go through all of the work setting up this program on my workstation.

Thanks
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: VirtualBox for testing USB driver on multiple Windows OS

Post by scottgus1 »

Best I understand it, once the Virtualbox filter is set up correctly, Virtualbox recognizes the insertion of the USB device, then disconnects/captures the device from the host and replaces it with a Virtualbox device that redirects the USB device into the guest. I don't think there's any sharing of drivers, since it is possible to run USB devices in guests that have no drivers for the host OS.
cswish
Posts: 3
Joined: 8. Jan 2016, 19:56

Re: VirtualBox for testing USB driver on multiple Windows OS

Post by cswish »

Alright, so if I were to correctly set up the filters correctly, I should be able to install the USB drivers on a VM and it should act the same as if I were installing it on a one OS system? I am really trying to test that my driver is properly signed and that the security features of the newer OSs will allow installation after signing.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: VirtualBox for testing USB driver on multiple Windows OS

Post by scottgus1 »

I've never tried such a thing myself, but I don't see why it wouldn't work.
cswish
Posts: 3
Joined: 8. Jan 2016, 19:56

Re: VirtualBox for testing USB driver on multiple Windows OS

Post by cswish »

OK, well I appreciate your feedback. Perhaps I will give it a try.
Post Reply