Page 1 of 1

VB Extension Pack for VB 5.1.4?

Posted: 3. Sep 2016, 17:10
by CampinginNM
I'm running a Windows 7 Guest on a Windows 10 host. Trying to keep a "business critical" app working that doesn't work on Windows 10. This program requires USB support to download data from another device.

I'm having poor success getting the USB support to work. I'm using VB 5.1.4 but the VB Extension pack is for 5.0.26 and, not surprisingly, doesn't install on 5.1.4. I don't need USB2 or USB3 support. USB1 should work fine. Am I missing something fundamental in getting USB support to work?

Re: VB Extension Pack for VB 5.1.4?

Posted: 3. Sep 2016, 18:15
by The Raven
USB support is provided through the Extension Pack.

If you have VirtualBox 5.1.4 installed then you would usually install the
corresponding Extension Pack for that version, namely 5.1.4.
The full version number of the Extension Pack is 5.1.4-110228.

They are both on the same download page.

Re: VB Extension Pack for VB 5.1.4?

Posted: 3. Sep 2016, 18:31
by CampinginNM
I guess I'm going blind. There it was. If it were a snake it would have bitten me.

Thanks

Re: VB Extension Pack for VB 5.1.4?

Posted: 3. Sep 2016, 20:32
by CampinginNM
So I downloaded the correct VB Extension Pack. Installed with no issue. At that point Windows 7 indicated it was installing the appropriate drivers for the USB Hub. Device Manager shows no issues and the USB Hub is working properly. However, I am still unable to get the system to see anything in the USB port.

The manual indicated that I'd probably look connection to the USB Device from the host computer. That is what occurs, but does not connect to the guest.

Larry

Re: VB Extension Pack for VB 5.1.4?

Posted: 4. Sep 2016, 23:04
by erdeslawe
Have you added the USB device filters in VirtualBox Settings > Ports > USB?

Re: VB Extension Pack for VB 5.1.4?

Posted: 4. Sep 2016, 23:32
by CampinginNM
Yes. I've added 3 filters. 2 for USB drives, 1 for a USB Mouse receiver. All of the filters show "branded" information such as "Logitech USB Receiver", "Lexar USB Flash Drive" etc. I've tried with each of the USB 1.1, 2.0 and 3.0 settings.

When the Guest is "Powered On", and the icons appear at the bottom right, the one that shows USB shows "No USB devices attached".

Re: VB Extension Pack for VB 5.1.4?

Posted: 5. Sep 2016, 12:28
by The Raven
It might be worth just trying one device at a time using the toolbar Devices -> USB
rather than setting filters, at least to begin with.

Once you've attempted to attached a device, look in the machine log to see if
there are any messages. To view the machine log, go to the main VMM screen,
select the active guest and from the toolbar use Machine -> Show Log

Whenever a device is successfully attached to my guest(s) I get the following
type message in guest machine log :

VUSB : Attached 'USB port details' to port n

I would assume that if you receive that type of message then as far as VirtualBox is
concerned the device is available to the Guest.
When first attaching any of the USB devices to your Windows guest, did you receive the
Windows messages indicating that device drivers were being installed ?

Re: VB Extension Pack for VB 5.1.4?

Posted: 5. Sep 2016, 15:31
by CampinginNM
Based on your suggestion, I went in and deleted all the the USB Filters. At that point I reinserted a USB Drive. The HOST recognized the device immediately, the Guest did not. I went back in the Device => USB and readded one device. The Guest still does not recognize the device. Tried a second device with same result.

In reviewing the logs I don't even see a log entry showing that I either deleted or readded the USB Device.

This machine (physical PC) uses UEFI instead of BIOS. Could that be the issue? If so, is there a way to work with this?

Larry

Re: VB Extension Pack for VB 5.1.4?

Posted: 5. Sep 2016, 16:36
by The Raven
So when you attempted to add the device individually it showed up
in the available list of devices but when you selected it, nothing appeared to
happen ? ie no error message on the host and no device was attached
to the guest ?
It sounds like VB is just not attaching the device to the guest for some reason.
I'm assuming you only have one guest to test with and so cannot attempt to
attach say your USB stick to another guest ?

What type of USB controller do you have defined to guest, USB 2 or USB 3
and what type of ports are using on the Host ?

I'm unable to comment about the relevance of UEFI being used in the Host
as both my machines use traditional BIOS.

Re: VB Extension Pack for VB 5.1.4?

Posted: 5. Sep 2016, 16:56
by The Raven
You may also wish to review the following (recently opened) forum
entry which has some similarities to your problem, albeit the Windows
guest is XP not 7.

viewtopic.php?f=2&t=79488

That problem appears to be related to something being not quite correct
with the Host USB definitions and VB ability to use them.

Re: VB Extension Pack for VB 5.1.4?

Posted: 6. Sep 2016, 00:01
by CampinginNM
Your question about adding the device individually and it showing up in the available list - are you talking about in the Devices => USB list? If so, Yes, the devices are listed and when I select, nothing happens. This list appears to be dynamic. For instance, before my previous post I had the following in the list: MICROMACRO USB Mass Storage Device [0100], and Lexar USB Flash Drive [1100].

Now, I have 2 additional devices: Logitech USB Receiver [2200] and Unknown device 04F2:B48C [9916], but the Lexar USB Flash Drive was gone. When I inserted the Lexar USB Flash Drive it immediately came back but when I click on it I get:
"Failed to attach the USB device Lexar USB Flash Drive [1100] to the virtual machine Windows 7.
Details: USB device 'Lexar USB Flash Drive' with UUID {1e212e6d-644f-43f0-8bd2-b5a76bac98c7} 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}

This is actually more than has happened previously. Prior to this error I got zip, nada, nothing. Now at least I'm getting an error message.

To answer your other questions. Yes, I have only 1 Guest. I could reinstall if needed. Or add Linux if necessary. My USB controller is currently defined as USB 3. Prior to adding the Extension pack I could only see USB 1. I had to reinstall the Extension pack. At that point USB 2 and 3 became available alternatives. I've tried all 3 with Guest restarts in between with the same result.

I read the other post to which you referred. Very interesting stuff. I've tried the procedure outlined by Nayasis including the Registry change. So far, it appears to WORK!!!