Slight OT: Getting USB deices to be recognised in Oracle Virtual Box and Ubuntu

It's still UNIX, so it's not totally off-topic!

Before I had chance to install Ubuntu properly on a dedicated PC, I trialled it on my Win 7 laptop, using Oracle Virtual Box.

Most things worked, but one thing resolutely defeated me. I could not make any USB storage device (pen drive, ext HDD) be detected in Ubuntu. The device was being detected as being "captured" by Virtual Box, once I explicitly "ejected" and "safely removed" the device from Windows. But when I raised a support call on a Virtual Box forum, I was told that there was no evidence in the log files of me plugging the device in, whereas when the support engineer tried it on his machine, he got various lines showing that his device had been detected. He seemed to lose interest at this point, whereas I'd say that it proves the very point that I'm making, and is likely to be the root cause of my problem, and so needs further probing.

It's all rather academic now that I don't need to run Ubuntu as a guest OS, but I'm curious to know whether I was doing anything wrong and whether other people have had it working.

Reply to
NY
Loading thread data ...

Did you install the open source, or the proprietary USB add-on pack?

Reply to
Andy Burns

Works perfectly for me. VirtualBox running on Win7 or Win8.1 or Win2012 with Mint/Debian/Ubuntu/SLES virtualised. USB works fine as far as being able to run my own USB virtualisation software on virtual Linux running on VBox and Windows. Also works fine the other way, VBox on RedHat with virtual Win 7.

BUT.... you have to install the extras pack.

Reply to
mm0fmf

I've just checked and it was Oracle_VM_Virtualbox_Extension_Pack-5.2.18.124319.vbox-extpack that I installed: this matches the version number of the base VMBox package.

The article actually refers to running VMBox on a host of Ubuntu (or some other Linux), with (presumably) some other guest operating system, whereas I'm using a host of Windows 7 and a guest of Ubuntu. However I'm sure the principle of installing the extpack on the host OS is still the same.

I set the USB type to USB3 because the guest OS supports it, even though (apparently) Win 7 doesn't. The guy on the forum said this was the correct thing to do.

If it had only been one USB device, I'd have thought it was duff device, but it did it for a Sandisk pen drive and a Samsung HDD.

Weird, given that mm0fmf has had no problem doing it.

Reply to
NY

At one time if you wanted USB support in VB you had to download the non-free client from oracle rather than the distro version.

--
Climate Change: Socialism wearing a lab coat.
Reply to
The Natural Philosopher

There can be a mismatch between USB 3.0 support in the host, VM and guest. Try using a USB 2.0 extension cable, which will force the device into USB

2.0 mode.

Theo

Reply to
Theo

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.