USB device

This is for discussing general topics about how to use VirtualBox.
Post Reply
Archi
Posts: 7
Joined: 23. May 2019, 17:32

USB device

Post by Archi »

Hello to all users.
I can not find a solution to my problem.
How to forward a USB device to a guest system if the device is incompatible with the main system?
Sorry for my English) :D
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: USB device

Post by socratis »

Please read the following thread: USB basics and troubleshooting, all of the posts.

If you still have a problem after reading through the whole thing, please follow the advice of the last post, #8: Asking for help and post the information requested.

Use a filter. It doesn't matter if your host can "understand" the device. It only needs to "forward" the device to the guest.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Archi
Posts: 7
Joined: 23. May 2019, 17:32

Re: USB device

Post by Archi »

I understood correctly? If the USB device is not supported by the main system, but is supported by the guest system, then you need to remove it from the main system, not physically disconnect, create an empty filter, and then decide it in the guest system?
Archi
Posts: 7
Joined: 23. May 2019, 17:32

Re: USB device

Post by Archi »

Software data will be later.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: USB device

Post by socratis »

Here's the procedure:
  1. You plug the device to the host. It doesn't matter if the host doesn't know what to do with the device.
  2. In VirtualBox you create a USB filter with the Name, VendorID and ProductID values only, delete the rest.
  3. Unplug the device.
  4. Start your guest.
  5. Plug the device.
Note: in some cases, especially when the device isn't used by the host, it may not be necessary to unplug/plug the device. Simply the action of starting the VM captures the device. It all depends on host/guest/device. Try what works for your case.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Archi
Posts: 7
Joined: 23. May 2019, 17:32

Re: USB device

Post by Archi »

USB device data
[Port3]  :  Unknown USB device (device enumeration failed)

Is Port User Connectable:         yes
Is Port Debug Capable:            no
Companion Port Number:            0
Companion Hub Symbolic Link Name: 
Protocols Supported:
 USB 1.1:                         yes
 USB 2.0:                         yes
 USB 3.0:                         no

       ---===>Device Information<===---
String Descriptor for index 2 not available while device is in low power state.

ConnectionStatus:                  
Current Config Value:              0x00  -> Device Bus Speed: High (is not SuperSpeed or higher capable)
Device Address:                    0x01
Open Pipes:                           0
*!*ERROR:  No open pipes!

          ===>Device Descriptor<===
bLength:                           0x12
bDescriptorType:                   0x01
bcdUSB:                          0x0210
bDeviceClass:                      0x00  -> This is an Interface Class Defined Device
bDeviceSubClass:                   0x00
bDeviceProtocol:                   0x00
bMaxPacketSize0:                   0x40 = (64) Bytes
idVendor:                        0x0BB4 = HTC Corporation
idProduct:                       0x0FF0
bcdDevice:                       0x0100
iManufacturer:                     0x01
String Descriptor for index 1 not available while device is in low power state.
iProduct:                          0x02
String Descriptor for index 2 not available while device is in low power state.
iSerialNumber:                     0x03
String Descriptor for index 3 not available while device is in low power state.
bNumConfigurations:                0x01

data on the system: windows 8.1
Last edited by socratis on 24. May 2019, 21:29, edited 1 time in total.
Reason: Enclosed the information in [quote][pre] tags for better readability
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: USB device

Post by socratis »

Excuse me, but what in the seven kingdoms is that? That's not what I asked for, is it? Please follow the instructions that I gave you, and give me the information that I want. I'll repeat the whole thing once more, read it closely this time, OK?
socratis wrote:Please read the following thread: USB basics and troubleshooting, all of the posts.

If you still have a problem after reading through the whole thing, please follow the advice of the last post, #8: Asking for help and post the information requested.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Archi
Posts: 7
Joined: 23. May 2019, 17:32

Re: USB device

Post by Archi »

Good day.
When I entered the "VBoxManage list usbfilters" command for the first time, I forgot to save the results.
And when you re-enter a new command line window, the result disappeared. What to do?

Main system version: Windows 8.1 x64
Virtualbox: Version 6.0.8 of r130520 (Qt5.6.2)
Guest version: Windows XP Professional 2002 SP 3
Attachments
new.zip
txt
(30.64 KiB) Downloaded 27 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: USB device

Post by socratis »

I would like to see the "recipe" of the VM, the ".vbox" file:
  1. Right-click on the VM in the VirtualBox Manager. Select "Show in Explorer".
  2. ZIP the selected ".vbox" file and attach it to your response.
From the log I see the following that you need to fix.
00:00:07.871777 [/USB/Msd/7/] (level 3)
You've added 8 (EIGHT) USB controllers to your VM? Why? Please delete them.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply