[Solved] Virtualbox does not see the PC's USB ports

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
User avatar
AZgl1500
Level 8
Level 8
Posts: 2325
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

[Solved] Virtualbox does not see the PC's USB ports

Post by AZgl1500 » Thu Feb 22, 2018 3:19 am

inxi -S
System: Host: john-TP500LA Kernel: 4.13.0-26-generic x86_64 (64 bit)
Desktop: Cinnamon 3.6.7 Distro: Linux Mint 18.3 Sylvia

____________________________________________________

Trying to get the pkgs installed into VM to see the ExtUSB HDD,
but when I look at Setting for VM, and click on the + to the right side, a window pops up and is grayed out, "not available"

Was unable to catch the little 'unavailable message in this screenshot, because when VM is running, the kybd Screenshot key is disabled.

So, I used the icon for Screenshot instead, that made the Message Window disapper.

.
VM USB.png
Last edited by AZgl1500 on Thu Feb 22, 2018 6:51 am, edited 1 time in total.

User avatar
Sir Charles
Level 7
Level 7
Posts: 1832
Joined: Thu Jan 04, 2018 1:00 pm

Re: Virtualbox does not see the PC's USB ports

Post by Sir Charles » Thu Feb 22, 2018 4:51 am

Have you installed the Extension Pack for VB? If not, take a look at https://www.techrepublic.com/article/ho ... irtualbox/ for how to install the Extension Pack and enable the USB access for your VM. Hope this helps.
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

Cosmo.
Level 23
Level 23
Posts: 17829
Joined: Sat Dec 06, 2014 7:34 am

Re: Virtualbox does not see the PC's USB ports

Post by Cosmo. » Thu Feb 22, 2018 5:59 am

Is your account on the host member of the group vboxusers?

Open Users & Groups and mark your account. You see on the right side near the bottom the list of the groups, where you belong to. If vboxusers is not listed there, click it (it is a button) and activate this group. You must (on the host) log out and back in to make this change effective.

Besides that: Forget at first the usb filters in the VM settings. They are there for convenience, but not technically needed. For beginners wrong filters can even confuse things.

User avatar
AZgl1500
Level 8
Level 8
Posts: 2325
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Virtualbox does not see the PC's USB ports

Post by AZgl1500 » Thu Feb 22, 2018 6:47 am

Cosmo. wrote:
Thu Feb 22, 2018 5:59 am
Is your account on the host member of the group vboxusers?

Open Users & Groups and mark your account. You see on the right side near the bottom the list of the groups, where you belong to. If vboxusers is not listed there, click it (it is a button) and activate this group. You must (on the host) log out and back in to make this change effective.

Besides that: Forget at first the usb filters in the VM settings. They are there for convenience, but not technically needed. For beginners wrong filters can even confuse things.
Okay, the USB port now shows up in Linux Mint Mate okay.

WinXP and Win7 both recognize the USB drive is there, they both go thru the motions of installing the driver.
But, neither one shows a USB drive in File Manager.

Much better than before.....

Cosmo: Your hint about being in the VBoxUsers was dead on. My account did not have that selected, but it is now.

Oh, no USB ports showed up in Linux until I added a USB filter and pointed it at the proper ExtUSB drive.

thanks to everyone....

I am curious though, why neither version of Windows can see the USB port

Marziano » Thu Feb 22, 2018 2:51 am
Have you installed the Extension Pack for VB? If not, take a look at https://www.techrepublic.com/article/ho ... irtualbox/ for how to install the Extension Pack and enable the USB access for your VM. Hope this helps.
Dead on, thanks a lot.... I had read half a dozen different articles on how to install the Guest Addition, and none of them aided me in getting it done. That TechRepublic article walked me thru it in one step, done.

I have a subscription to their newsletters, quite good.


Just to make the thread complete, this is the steps to go thru:

open up VirtualBox and do the following:

Click File | Preferences
Click the Extension tab and then click the + button (Figure A)
Navigate to where you saved the Extension Pack
Select the Extension Pack and click Open
When prompted, click the Install button
Scroll through the EULA and then click I Agree
Type your sudo password
Allow the installation to complete

Cosmo.
Level 23
Level 23
Posts: 17829
Joined: Sat Dec 06, 2014 7:34 am

Re: [Solved] Virtualbox does not see the PC's USB ports

Post by Cosmo. » Thu Feb 22, 2018 7:06 am

USB devices can only appear either in the host or in the guest - never in both on the same time. If a usb device is visible on the host, you can select this device from the devices menu of the running VM.

Big But: Do not connect a usb drive to a virtual machine (other usb devices are OK). The reason is, that as soon as you do this the drive gets hard disconnected from the host. This will result in possible data loss. Use instead a shared folder to copy files from / to the usb drive.

User avatar
AZgl1500
Level 8
Level 8
Posts: 2325
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: [Solved] Virtualbox does not see the PC's USB ports

Post by AZgl1500 » Thu Feb 22, 2018 10:20 am

Cosmo. wrote:
Thu Feb 22, 2018 7:06 am
USB devices can only appear either in the host or in the guest - never in both on the same time. If a usb device is visible on the host, you can select this device from the devices menu of the running VM.

Big But: Do not connect a usb drive to a virtual machine (other usb devices are OK). The reason is, that as soon as you do this the drive gets hard disconnected from the host. This will result in possible data loss. Use instead a shared folder to copy files from / to the usb drive.

Thanks for that big piece of advice, being a newbie at this game, I was not aware of that tar pit.

I am aware that Ext4 has a delay writing things to the HDD and am very carefully to always use the System to do a "Safe unmount" on my ExtUSB HDD which is always in the 3.0 port on this laptop. Took me a bit to figure out which of the 3 ports was 3.0, there are 3 ports total, but only one of them is 3.0 but when I was copying some big files from the HDD to the USB drive, I was noticing the bps rate as it was done. Unmounted the drive, and moved it to another port.... and when it was in the 3.0 port, the transfer rate went up by a tremendous amount.

This became extremely obvious when I was running Grsync to make a full backup.... the first time I was using the 2.0 port, and then I moved it over to the 3.0 port... and wow! is that a huge improvement.

Post Reply

Return to “Newbie Questions”