USB Filters settings

Discussions related to using VirtualBox on Windows hosts.
Post Reply
JohnCz
Posts: 9
Joined: 8. Jul 2014, 17:53

USB Filters settings

Post by JohnCz »

To create filter uniquely identifying USB device I need a serial number that is supposed to be displayed using VBoxManage list usbhost command.

Unfortunately VB ver. 4.3.18 does not display serial number:
UUID:
VendorId:
ProductId:
Revision:
Port:
USB version/speed:
Manufacturer:
Product:
Address:
Current State:

The only unique values displayed as a result of this command for my USB devices are: UUID and Address but Filter details dialog does not have any entry corresponding to those properties.
Attachments
Filters.jpg
Filters.jpg (32.62 KiB) Viewed 3236 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: USB Filters settings

Post by mpack »

In fact you don't need a serial number. You don't need any particular field. All you need to do is fill in any one field (or a small number of them) such that it uniquely identifies the device on your PC. You do NOT need to fill in all of the fields.

All of the ID strings shown to you by VirtualBox are "published" by the device. If VBox doesn't show you a serial number field then that's because the device doesn't have one.
JohnCz
Posts: 9
Joined: 8. Jul 2014, 17:53

Re: USB Filters settings

Post by JohnCz »

Thanks for your response.

Please help me to understand. I have two USB devices that publish the same data collected by the VB with the exception of UUID and address. Obviously Current Status is irrelevant for this.

If I use UUID and enter it as serial number and use different name, would this constitute device to be unique?

Is "Current State" is the state of the device on the host machine or guest?

While one of the devices is showing Current State as Captured as the result of the "VBoxManage.exe list usbhost" command, I am not able to attach it on the guest machine. The error reported is:

Failed to attach the USB device Unknown device 0E1A:0005 to the virtual machine Win7-64.
USB device '<unknown>' with UUID {c87300ec-41c1-43ed-b569-8542a60775da} is busy with a previous request. Please try again later.
Both host and guest have drivers installed. I also tried with USB devices disabled on the host machine but results are the same.
What would be the best way to handle it?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: USB Filters settings

Post by mpack »

If the manufacturer of the device has not provided a means to uniquely identify a device then it cannot be uniquely identified. It may be possible, if you only need to distinguish devices rather than identify them, that you can distinguish them by port number, but this is not something I've tried myself. You would have to experiment to find out how. "VBoxManage list usbhost" will list devices and their port numbers. Of course this means that, even if it works, you would always have to plug the device into the same port.

The UUID is assigned by VirtualBox to a device after it has been selected. It therefore isn't useful in selecting the device.

I have retired from answering "USB device busy with a previous request" questions. You can use Google to find any of several hundred previous answers.
JohnCz
Posts: 9
Joined: 8. Jul 2014, 17:53

Re: USB Filters settings

Post by JohnCz »

Thanks mpack.
Well, manufacturer did provide data to uniquely identify each device, one of the being an address but I do not see Address box in Filter details.
There is more data but VB does not query for it.
I have found many posting regarding "USB device busy with a previous request" topic. Most of them are for earlier versions of VB. So far I have not found any that would fix my issue.
Post Reply