Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
28
rated 0 times [  28] [ 0]  / answers: 1 / hits: 268749  / 2 Years ago, sat, august 13, 2022, 6:51:40

Possible Duplicate:

Set up USB for Virtualbox






I have Ubuntu 12.04 as host and Win7 as guest. I installed VirtualBox 4.1 and Extension Pack 4.1 from Oracle website. I also enabled USB 2.0 from Settings of my VM. My Win7 VM doesn't regconize USB (Flash Drive and Kindle Fire).
How to fix it?



Update: I added my current user to vbusers group but it doesn't work as well.


More From » virtualbox

 Answers
0

(assuming you've already installed guest additions)



You also need to set USB filters so that the USB devices get sent to the guest OS.



From the main Virtualbox window open the Settings dialog, then the USB section, then click the little "add filter" button on the right side of the screen. You should be able to create a filter from any currently connected USB devices.



After you've done this (maybe restart to be sure the host OS isn't capturing any of the USB devices for itself--Ubuntu will try to automount the flash drive so you might also want to check and make sure that it is unmounted too) then boot into the guest OS and you should see your USB devices.



Good luck.



Edit: note on USB filters



It's my understanding that a device being used by a guest OS with a USB filter will not be accessible by the host OS while the guest OS is running. Therefore, one should choose carefully what usb devices to create filters for.



You should create USB filters for things that you plan on only using with the guest OS (often peripherals that don't work with the host OS and will only work with the guest OS) and when you won't require being able to access the device from the host OS while the guest OS is running. For example I have a USB banking dongle from my bank, ICBC, that is not compatible with Linux so I use a virtualized installation of Windows XP for banking and use a USB filter to grab the USB dongle.



Examples of good devices to create filters for:




  • USB banking dongles that only work with guest OS

  • e-readers (Kindle,Nook,etc.) that you plan on using only (or primarily) with the guest OS.

  • external soundcards that only work with the guest OS or require the guest OS for full functionality



Examples of bad devices to create filters for:




  • USB input devices (mouses or keyboards) that you would like to use with the host and guest OSes. Virtualbox will allow the guest OS access to these devices by default so there is no need for the guest OS to directly control them (well, I could think of some specialized reasons but I will digress...).

  • USB storage devices that you want the guest and the host OSes to both be able to access at the same time. Instead, mount the drive on the host OS and use shared folders to share the drive to the guest OS.


[#38238] Sunday, August 14, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tigehanc

Total Points: 162
Total Questions: 113
Total Answers: 122

Location: Zambia
Member since Sat, Oct 31, 2020
4 Years ago
;