Page 1 of 1

USB not working on Windows 7 Virtual Machine

Posted: 1. Feb 2016, 19:34
by terryf
I have installed VirtualBox 5.014r105127 and have loaded all the extensions. Under USB on the virtual machine I have tried USB2.0 and USB3.0. I then go into my Windows 7 Pro guest machine and everything boots up. I then plug in a USB flash drive and go to devices. My flash drive appears and I click on it. I get a installing driver bubble on the host machine saying that it was successful. I then open my computer and the drive is not listed. I then open the devices again and reclick on the flash drive and I get the following error message:

Failed to attach the USB device SanDisk Cruzer U [0127] to the virtual machine Windows 7 64-bit.

USB device 'SanDisk Cruzer U' with UUID {1be1b2b0-9511-443d-957a-d15d0002e177} is busy with a previous request. Please try again later.

Result Code: E_INVALIDARG (0x80070057)
Component: HostUSBDeviceWrap
Interface: IHostUSBDevice {c19073dd-cc7b-431b-98b2-951fda8eab89}
Callee: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

I would appreciate any help with this issue and since I am new to Virtual Box I am not sure where to go.

Thanks,

Re: USB not working on Windows 7 Virtual Machine

Posted: 1. Feb 2016, 20:08
by mpack
What is the host? I will assume Windows.
terryf wrote:Under USB on the virtual machine I have tried USB2.0 and USB3.0.
Why? Only one of those is correct - best not thrash around making questionable settings changes. Also bear in mind that Win7 does not have native USB3 support, so if that's what you need then you'll need to Google for the Intel xHCI drivers for Win7 and install them in the guest.

In my experience USB devices on Windows hosts work better if you define a filter in the VM|USB settings. USB config tips here.

Re: USB not working on Windows 7 Virtual Machine

Posted: 1. Feb 2016, 21:26
by terryf
Sorry for the confusion. Let me see if I can make it a little more clear. I have a Gigabyte motherboard with an amd processor and a via usb chipset running Windows 7 Pro on the host side with the USB3.0 drivers installed. After shutdown and reboot of the computer and since I had the original via xhci driver disk that came with the motherboard and I tried to install it on the guest computer. But, I got an error message saying that it could not find the hardware and aborted the install. Since I could not install the usb3.0 drivers on the guest side I went to the usb on the host side and selected the usb 2.0 driver. I then added the filter for my flash drive. Next I opened up the guest VM and waited for the VM Windows 7 pro to open up and settle down. I then plugged in my USB flash drive, waited for a few minutes, and then removed it. I reinserted the flash drive and waited. I opened up My Computer and the flash drive was not there. I then opened the device tab and clicked on my flash drive and got the same error message as stated above. I hope this helps.

Thanks,

Re: USB not working on Windows 7 Virtual Machine

Posted: 2. Feb 2016, 10:48
by mpack
Installing drivers for host hardware inside a virtual machine rarely ends well. The xHCI simulation inside a VirtualBox VM requires the Intel drivers, or at least drivers for a close copy of xHCI. I told you in a previous message how to get the Intel drivers.

USB is a network protocol. If, at the PC port end, you have a USB3 device plugged into a USB3 port, then that device will be trying to talk the USB3 protocol. That means that you must talk the USB3 protocol in the guest if you want to reach that device. Alternatively, plug the device into a USB2 port, that way the device itself will fall back to the USB2 protocol. Either will work, but you can't just make random settings changes or install random drivers in the guest.

Re: USB not working on Windows 7 Virtual Machine

Posted: 3. Feb 2016, 06:00
by terryf
I tried to install the Intel USB3.0 drivers on the guest machine and all I got was and error message that said the following: This computer does not meet the minimum system requirements. I tried several versions of the driver and I got the same error message. Everything I said above is with a USB 2.0 flash drive plugged into a USB 2,0 port. I would appreciate any other suggestions you might have.

Re: USB not working on Windows 7 Virtual Machine

Posted: 15. May 2016, 19:44
by ciamurra
Host: X 10.11.1 on new iMac
64 bit, 8 GB
Guest: Windows 7 64 bit, 512 mg ram
VB 5.0.20 r106931
Guest Additions installed

I have a program (Quicken2016) to install from an Apple USB optical drive. Windows doesn't have the driver, so I made a disk image and put it in the shared folder on the Mac. I clicked on it. Then W7 informed me that a disc burner wasn’t found.

Next, I copied the .iso to a 3.0 SanDisk Ultra [0100]. I succeeded in getting W7 guest to see it, but when I clicked on it from the dongle icon at the bottom of the W7 window, I got this:

Failed to attach the USB device SanDisk Ultra [0100] to the virtual machine Win 7.
Failed to create a proxy device for the USB device. (Error: VERR_PDM_NO_USB_PORTS).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

Then I read “General advice for connecting any USB device to a guest” by mpack, posted 5/9/2013. I installed the extension pack 5.0.20, enabled a 2.0 USB controller and created a filter with the name of the dongle. And then I came to a dead end. I rebooted W7 several times, with and without the dongle plugged in, but I keep getting the same error msg quoted above. The USB ports on the Mac host are 3.0.

Following the instructions on the successive post, I connected the dongle to Mac and looked for autorun. Not there. There is SanDiskSecureAccessV2_win.exe. I don’t see package contents.

Does ANYONE have advice? I have spent a day and a half trying to install Quicken on W7 guest to no avail. Today's log is attached.

Re: USB not working on Windows 7 Virtual Machine

Posted: 16. May 2016, 09:44
by mpack
Did you read the posts above yours? Specifically the part about Win7 having no native support for USB3 what to do about it?

Re: USB not working on Windows 7 Virtual Machine

Posted: 16. May 2016, 10:29
by socratis
ciamurra wrote:I made a disk image and put it in the shared folder on the Mac.
You didn't have to bring the disk image to the Windows guest. What you should have done is to go to the VM settings and under Storage point the virtual CD to the disk image that you created. Done.

Re: USB not working on Windows 7 Virtual Machine

Posted: 16. May 2016, 16:52
by ciamurra
ciamurra wrote:Then I read “General advice for connecting any USB device to a guest” by mpack, posted 5/9/2013. I installed the extension pack 5.0.20, enabled a 2.0 USB controller and created a filter with the name of the dongle. And then I came to a dead end. I rebooted W7 several times, with and without the dongle plugged in, but I keep getting the same error msg quoted above. The USB ports on the Mac host are 3.0.

Following the instructions on the successive post, I connected the dongle to Mac and looked for autorun. Not there. There is SanDiskSecureAccessV2_win.exe. I don’t see package contents.
Was there something else I didn't read or follow?

Re: USB not working on Windows 7 Virtual Machine

Posted: 16. May 2016, 19:19
by ciamurra
socratis wrote:
ciamurra wrote:I made a disk image and put it in the shared folder on the Mac.
You didn't have to bring the disk image to the Windows guest. What you should have done is to go to the VM settings and under Storage point the virtual CD to the disk image that you created. Done.
In the Storage Tree in VM settings I have Controller: SATA. Nested under that are the Win7.vdi and a round icon [optical drive] that looks like a CD/DVD labeled Empty. I clicked it. Its attributes are Optical Drive: SATA Port 1. Live CD/DVD and Hot-pluggable are options that i assume don't apply. I could also add a new storage controller; the options are IDE, SCSI, SAS, floppy and USB. I don't know how to point to the disk image in the shared folder on the Mac.

I clicked on the VB Manager/ Storage/Controller:SATA/SATA Port 1: [Optical Drive] Empty and got error message:
Failed to open the disk image file /Users/salvatorevacca/Documents/QuickenData/QuickenMaster.iso.

Could not get the storage format of the medium '/Users/salvatorevacca/Documents/QuickenData/QuickenMaster.iso' (VERR_NOT_SUPPORTED).

Result Code: VBOX_E_IPRT_ERROR (0x80BB0005)
Component: MediumWrap
Interface: IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}
Callee: IVirtualBox {0169423f-46b4-cde9-91af-1e9d5b6cd945}
Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)

Since neither the drive letter (E:) nor //vboxsrv is in the folder path, I tried to add both, also just //vboxsrv but that resulted in a greyed-out "okay". I can see the shared folder and its contents from Computer in Win7 guest.

What am I missing?

PS right clicking the disk image in shared folder from Win guest yields one option: open with Windows Disc Image Burner. Is that what I should do?

Re: USB not working on Windows 7 Virtual Machine

Posted: 16. May 2016, 22:42
by ciamurra
I looked at an older Mac (Macbook Pro, OS X 10.11.1) thinking I could mimic its setup (Mac host, Win7 guest). It has two controllers in Storage: SATA with Win7.vdi and IDE Secondary Master with VBoxGuestAdditions.iso on virtual CD.

Accordingly, I created an IDE Controller and added a new optical drive to it. I clicked on choose disk to add a virtual optical disk and automatically the one I had created popped up. I selected it, clicked on "open" and got this message:
Failed to open the disk image file /Users/salvatorevacca/Documents/QuickenData/QuickenMaster.iso.

Could not get the storage format of the medium '/Users/salvatorevacca/Documents/QuickenData/QuickenMaster.iso' (VERR_NOT_SUPPORTED).

Result Code: VBOX_E_IPRT_ERROR (0x80BB0005)
Component: MediumWrap
Interface: IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}
Callee: IVirtualBox {0169423f-46b4-cde9-91af-1e9d5b6cd945}
Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
Any help solving this problem will be SO appreciated!

Re: USB not working on Windows 7 Virtual Machine

Posted: 16. May 2016, 23:11
by ciamurra
I just saw that [Solved] Kali Install Error VERR NOT SUPPORTED, Jan 2014, received the same error message that I get. His problem was solved by installing a newer version of VB. But I have the latest version.