LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 08-31-2016, 04:15 PM   #1
winskitech
LQ Newbie
 
Registered: Aug 2016
Posts: 28

Rep: Reputation: Disabled
Ubuntu 16.04 Virtualbox 5.1 Win 7 VM USB not working


I have an Ubuntu 16.04 system and a Win 7 vdi from my previous computer. The first time I installed virtual box it installed 5.0.4.24. I installed extensions and guest additions for the same version. I got everything working in the VM but USB. I tried 2.0 and 3.0, neither change helped. I googled around a bit and found that I need to add my user to vboxusers group. I did that. Now I can see the usb devices in the device list but they aren't installing on my VM. What else might I need to do?
 
Old 08-31-2016, 04:21 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Look at this maybe. https://help.ubuntu.com/community/VirtualBox/USB

Are you trying to use usb temporary or permanent?
 
Old 09-01-2016, 07:36 AM   #3
winskitech
LQ Newbie
 
Registered: Aug 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled
jefro, the devices I'm using would be temporary (Thumb Drives and External Hard drives). I followed your link, everything in there I have tried. I'll also note that not all USB isn't working. My USB keyboard and mouse work fine, but 4 differently branded thumb drives and 1 external hard drive do not work. At least 2 of these thumb drives and the external drive did work on the VM when it was on my old machine.
 
Old 09-01-2016, 08:23 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Are you a member of the vboxusers group on the new host?

You know how to check?
Terminal > id
output will show.

You should be.
 
Old 09-01-2016, 09:05 AM   #5
winskitech
LQ Newbie
 
Registered: Aug 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled
Habitual, I am a member.
 
Old 09-01-2016, 09:06 AM   #6
winskitech
LQ Newbie
 
Registered: Aug 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled
Additionally, after 5.0.4.24 didn't work I upgraded everything to 5.1 and it's still not working.
 
Old 09-01-2016, 10:14 AM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by winskitech View Post
Habitual, I am a member.
Well, how about plugdev group? Thanks.
 
Old 09-01-2016, 12:29 PM   #8
winskitech
LQ Newbie
 
Registered: Aug 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled
I am a member of plugdev as well.
 
Old 09-01-2016, 02:36 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
when you plug in a usb device does it show and work correctly in the host? lsusb maybe for clues.

See where it is mounted if automounted.

Could be that some drive gets mounted in host and has some process working on it and the client can't take control.

I get the feeling that usb keyboard and mouse act differently but that is a good observation.
 
Old 09-02-2016, 07:25 AM   #10
winskitech
LQ Newbie
 
Registered: Aug 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled
jefro, apparently keyboard and mouse get auto-mounted so that doesn't necessarily help me with my issue. When I plug in a USB device it's listed as seen, but when I put a checkmark next to it nothing happens on my VM.
 
Old 09-02-2016, 01:12 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
The way the vm works has the mouse and keyboard working differently.

Can you access the usb in the host?
 
Old 09-06-2016, 07:41 AM   #12
winskitech
LQ Newbie
 
Registered: Aug 2016
Posts: 28

Original Poster
Rep: Reputation: Disabled
jefro, I can access any USB I plug in on my Linux host. It's just getting them recognized in Windows.
 
Old 09-06-2016, 03:56 PM   #13
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Guess you could take a usb flash drive and load on debian or ubuntu then install virtualbox and see if your windows 7 vdi still does this.

It may be that the host has locked the device in some program maybe or the guest additions didn't work correctly or an oddity of permissions or some oddity of the windows 7 image at this point still.
 
Old 09-18-2016, 03:10 PM   #14
metawiki1
LQ Newbie
 
Registered: Jun 2011
Location: SantaCruz, CA
Distribution: Ubuntu
Posts: 3

Rep: Reputation: Disabled
Virtual Box on Ubuntu 16 Host, Windows Vista Guest VM - USB Memstick not accessable

The Windows Vista Guest VM does not see the attached USB mem stick. I've spent hours on-line and found no solutions for this issue that appears to be a significant problem. Oracle has a post from years ago for the same problem that states resolved with no explanation. Originally, the Vista VM did not see the USB at all. After turning off the Vista VM's Window's firewall the VM shows the presence of the USB mem in the lower status bar but the Windows Vista guest does not see it. I checked the VM Windows Device Manager and it has 3 sub folders (Drivers), "Standard Open USB Host Controller" which is OK, "USB Root Hub", also OK, and "USB Mass Storage Device", flagged with the caution sign. Opening this folder(driver), Device Status is "this Device cannot stat. (Code 10)". I used the "Check for Solutions" option and it comes back stating the the current driver is the best.

Is anyone actually running this configuration successfully or has had this issue and found a real solution?. Everything else is functioning correctly with the Vista VM.

After installing the VM's > Devices > Gust additions CD Image and installing in Guest/Vist, Vista automatically installed Service Pack II. Now the USB 2.0 selection sees the USB memory stick and all is well.

Last edited by metawiki1; 09-18-2016 at 04:03 PM. Reason: SOLUTION FOUND
 
  


Reply

Tags
ubuntu 16.04, usb, virtualbox



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to get usb devices working on VirtualBox? Ryanms3030 Linux - Virtualization and Cloud 1 02-07-2014 04:58 PM
scrolling not working on ubuntu virtualbox j360 Linux - Virtualization and Cloud 5 06-21-2012 03:34 AM
AvrStudio4 and Avr win not working on ubuntu 10.10 rashmik Linux - Newbie 1 01-08-2011 09:35 AM
USB TV tunner not working in VirtualBox voger Linux - Software 8 10-14-2008 11:56 AM
Will Upgrading to Ubuntu 8.04 Affect USB in VirtualBox CSE taurusx5 Linux - Software 1 05-10-2008 08:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration