No USB devices being detected

Discussions about using Windows guests in VirtualBox.
Locked
Ben92
Posts: 2
Joined: 17. Aug 2016, 22:20

No USB devices being detected

Post by Ben92 »

Hi,
I am using Windows 7 Enterprise and installed Virtual Box Windows 7 64 bit version on it. However when I try connecting any usb to it, the VM wont recognize that it was plugged in. I have seen a few other forums here where people have the same/similar problem and have tried following their suggestions(i.e. installing guest additions, adding the usb on the settings before starting the VM, etc.) without any success. I was wondering if this issue was ever resolved? Or if anyone has any other suggestions? I would greatly appreciate the help!
socratis
Site Moderator
Posts: 27330
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: No USB devices being detected

Post by socratis »

There is no issue to be resolved in 99.9% of the cases. It's a matter of following/searching for the correct thing. The computer cannot read your mind and decide for you that you want device A to go to your host while you are thinking that it should go to your guest. You have to tell it to do it. So, typical answer #52.

Follow the steps below. If there is a failure, please state which step failed:
  1. Make sure that the Extension Pack is installed on the host. The same version as VirtualBox.
  2. Make sure that at least USB 2.0 is enabled in your VM settings.
  3. Create a USB filter in your guest settings while the device is plugged in the host. Delete all values except Name, VendorID and ProductID. Check also http://www.linux-usb.org/usb.ids to make sure that you have the numbers correct.
  4. Unplug the device.
  5. Start your guest (the one that you applied the filter to). Let it start completely. Log in if you have to.
  6. Plug your device. The filter should capture it and pass control to your guest.
Troubleshooting:
  1. If the device shows up in your host and is not captured by the filter, either the filter is incorrect, or there might be a problem with your filter installation.
  2. If the device shows up, but as unavailable, "eject" it from your host (if you can), but leave it plugged in. It should show up as available.
  3. Shut down the VM and now zip and post the log.
  4. Are you by any chance using a USB 3.0 port/device?
  5. Is the VirtualBox USB Driver installed in your host? Make sure your host didn't silently reject non-MS drivers (Google for Driver Signature Enforcement).
  6. Check out these Windows-specific ways to troubleshoot potential driver installation issues:
    1. USB not working
    2. SOLVED: Failed to access the USB subsystem on Windows 7 host
    3. Remove Driver Filters to Resolve Device Manager Errors on Windows 7
  7. Post the output of the following commands:
       VBoxManage list usbhost
       VBoxManage showvminfo "Your_Virtual_Machine_Name"
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.
Ben92
Posts: 2
Joined: 17. Aug 2016, 22:20

Re: No USB devices being detected

Post by Ben92 »

Thanks for the steps. So originally I had just copied the configurations, files/extensions, and overall entire project/VM download from a person who had no problem with his VM detecting the usb connected. But I did notice that he had a different Extension Pack from the VM version we set up so I updated that accordingly. Next I followed the steps provided and it seemed that the usb card reader was captured however the VM still shows that no usb has been connected. I looked up the device I was using and it was a 2.0 device and I had it connected to a 2.0 port as well. The VBox USB Driver was also successfully installed to the host. I will try some the links you provided and get back to this.

I'm trying to get the Generic Card Reader to work from the list below.


UPDATE: So just a quick update. I have tired the methods used in the links for trouble shooting the drivers and am still unsuccessful. My only guess is that I will install the newest version of VirtualBox and hope that fixes my issue.

Code: Select all

C:\Program Files\Oracle\VirtualBox>VBoxManage list usbhost
Host USB Devices:

UUID:               124542a3-479a-4f9d-8680-a063edb9170f
VendorId:           0x0bda (0BDA)
ProductId:          0x0165 (0165)
Revision:           97.35 (9735)
Port:               0
USB version/speed:  2/High
Manufacturer:       Generic
Product:            Smart Card Reader Interface
SerialNumber:       20070818000000000
Address:            {50dd5230-ba8a-10d1-bf5d-0000f805f530}\0013
Current State:      Captured

UUID:               df51fbe9-08f6-4142-a32f-2d0314f4786f
VendorId:           0x10d5 (10D5)
ProductId:          0x000d (000D)
Revision:           3.0 (0300)
Port:               0
USB version/speed:  1/Full
Manufacturer:       No brand
Product:            HA2-A3
SerialNumber:       12²
Address:            {36fc9e60-c465-11cf-8056-444553540000}\0025
Current State:      Busy

UUID:               bfb0e760-168b-43f2-ab95-9682ac408127
VendorId:           0x413c (413C)
ProductId:          0x2101 (2101)
Revision:           1.0 (0100)
Port:               0
USB version/speed:  2/High
Manufacturer:       Dell
Product:            Dell Smart Card Reader Keyboard
Address:            {36fc9e60-c465-10cf-8056-444553540000}\0026
Current State:      Busy

Code: Select all

C:\Program Files\Oracle\VirtualBox>VBoxManage showvminfo "win7"
Name:            win7
Groups:          /
Guest OS:        Windows 7 (64-bit)
UUID:            fcd23857-8931-4d30-b918-5f91386ae60a
Config file:     C:\Users\user\VirtualBox VMs\win7\win7.vbox
Snapshot folder: C:\Users\user\VirtualBox VMs\win7\Snapshots
Log folder:      C:\Users\user\VirtualBox VMs\win7\Logs
Hardware UUID:   fcd23857-8931-4d30-b918-5f91386ae60a
Memory size:     1024MB
Page Fusion:     off
VRAM size:       64MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  1
PAE:             off
Long Mode:       on
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          on
Time offset:     0ms
RTC:             local time
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     on
VT-x VPID:       on
VT-x unr. exec.: on
Paravirt. Provider: Default
State:           powered off (since 2016-08-18T18:23:25.071000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration:
Autostart Enabled: off
Autostart Delay: 0
Default Frontend:
Storage Controller Name (0):            IDE
Storage Controller Type (0):            PIIX3
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
IDE (0, 0): C:\Users\user\.VirtualBox\Win7Ent\Win7.vdi (UUID: f8325741-8
51b-4d0d-a56a-409646d6de7c)
IDE (0, 1): C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso (UUID: 61f
604b7-d1c1-4f4d-b955-e3b1655e38ab)
NIC 1:           disabled
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1:          I/O base: 0x02f8, IRQ: 3, attached to pipe (server) '\\.\pipe\v
m'
UART 2:          disabled
UART 3:          disabled
UART 4:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           disabled
Clipboard Mode:  disabled
Drag and drop Mode: Bidirectional
VRDE:            disabled
USB:             enabled
EHCI:            enabled
XHCI:            disabled

USB Device Filters:

Index:            0
Active:           yes
Name:             Generic Smart Card Reader Interface [6123]
VendorId:         0bda
ProductId:        0165
Revision:
Manufacturer:
Product:
Remote:
Serial Number:

Bandwidth groups:  <none>

Shared folders:  <none>

Video capturing:    not active
Capture screens:    0
Capture file:       C:\Users\user\VirtualBox VMs\win7\win7.webm
Capture dimensions: 16x16
Capture rate:       32 kbps
Capture FPS:        1

Guest:

Configured memory balloon size:      0 MB
Last edited by socratis on 19. Aug 2016, 12:58, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
pc1x1
Posts: 1
Joined: 17. Jul 2017, 21:32

Re: No USB devices being detected

Post by pc1x1 »

Greetings, I am having the same problem.

Follow the steps below. If there is a failure, please state which step failed:
1.Make sure that the Extension Pack is installed on the host. The same version as VirtualBox.
2. Make sure that at least USB 2.0 is enabled in your VM settings.
3. Create a USB filter in your guest settings while the device is plugged in the host. Delete all values except Name, VendorID and ProductID.
4. Unplug the device.
5. Start your guest (the one that you applied the filter to). Let it start completely. Log in if you have to.
6. Plug your device. The filter should capture it and pass control to your guest.

Step 6 failed. No activity in USB.

Troubleshooting:
1. If the device shows up in your host and is not captured by the filter, either the filter is incorrect, or there might be a problem with your filter installation.
I am able to see it in the USB Filter, and added its Vendor ID, and Product ID.

2. If the device shows up, but as unavailable, "eject" it from your host (if you can), but leave it plugged in. It should show up as available.
Guest OS is Kali Linux, and when I tried to manually attach the device, it said failed.

3. Shut down the VM and now zip and post the log.
4. Are you by any chance using a USB 3.0 port/device?
Its plugged in and set as USB 2.0. I tried USB 3.0 port, and 3.0 Settings, neither made any difference.

Is the VirtualBox USB Driver installed in your host?
Yes.

Main OS: Windows 10 Pro
socratis
Site Moderator
Posts: 27330
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: No USB devices being detected

Post by socratis »

I'm not in front of my computer, so I don't have all my tools in front of me, but these simple instructions have evolved into a series of articles, including more detailed troubleshooting steps and information required in case of a failure. Please take a look at: USB basics and troubleshooting.
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.
larry_c
Posts: 1
Joined: 29. May 2020, 18:08

Re: No USB devices being detected

Post by larry_c »

Hi:

I've tried all of these suggestions and I can't get a simple USB Comm port (FTDI) device to show up on mu Ubuntu guest running under Win 10. The filters are ok and the VM shows captured for the device.
I've added the group to Ubuntu but lsusb just shows the basics: - the 2.0 and 1.1 hub and the virtubox usb tablet.

Any help would be appreciated?

Also, how can I determine if Windows has the device or an AV filter is preventing it from being accessed.
Thanks
Larry


UUID: b4493b2a-7e3d-447e-940d-ee4f5bd5956f
VendorId: 0x0403 (0403)
ProductId: 0x6001 (6001)
Revision: 6.0 (0600)
Port: 1
USB version/speed: 2/Full
Manufacturer: FTDI
Product: TTL232RG-VREG3V3
SerialNumber: FT1NH0JN
Address: {36fc9e60-c465-11cf-8056-444553540000}\0157
Current State: Captured
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: No USB devices being detected

Post by fth0 »

Just let the host OS manage the FTDI device, and provide only the serial port to the VM.
Peregrino69
Posts: 1
Joined: 30. Jan 2021, 18:32

Re: No USB devices being detected

Post by Peregrino69 »

[quote="socratis"]
  1. Make sure that the Extension Pack is installed on the host. The same version as VirtualBox.
  2. Make sure that at least USB 2.0 is enabled in your VM settings.
  3. Create a USB filter in your guest settings while the device is plugged in the host. Delete all values except Name, VendorID and ProductID. Check also <link> to make sure that you have the numbers correct.
  4. Unplug the device.
  5. Start your guest (the one that you applied the filter to). Let it start completely. Log in if you have to.
  6. Plug your device. The filter should capture it and pass control to your guest.
Thanks man, that worked :)
yegnal
Posts: 1
Joined: 18. Nov 2022, 00:42

Re: No USB devices being detected

Post by yegnal »

Why is it so un-godly difficult to use a usb flash drive...

Gnome Boxes it's so easy, this VM solution is like the Rubiks cube in comparison when it comes to using a USB drive..

Unneccessary
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: No USB devices being detected

Post by scottgus1 »

yegnal wrote:Gnome Boxes it's so easy,
Then go use Gnome Boxes. No one's forcing you to use Virtualbox or to post here.
yegnal wrote:Why is it so un-godly difficult to use a usb flash drive...
It's not. You just aren't doing it right.

A better question would be:
I want to use my USB this way, how do I do it?
In your own new topic please.
Locked