USB Not Working

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
Zack.b_
Posts: 5
Joined: 25. Oct 2016, 03:38

USB Not Working

Post by Zack.b_ »

Hi, Virtual Box just isn't using my usb. When I click on settings (this is without the os up) I click "add" and I clearly see the USB, however, the guest OS just doesn't read it. My host os is MAC OS X EL CAPITAN Version 10.11.6, and my guest os is Windows 10. I've been trying for weeks, but my host OS keeps reading the USB. With the OS up, in the bottom right I click on usb and it gives me this error code:

Failed to attach the USB device USB Flash Memory [0100] to the virtual machine Windows 10.

USB device ' USB Flash Memory' with UUID {f63e5878-b36b-41e5-8ab2-1f2f9e78bc1c} is busy with a previous request. Please try again later.

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

How do I get the guest os to read my usb?
Thanks in advance.
Last edited by Zack.b_ on 25. Nov 2016, 09:22, edited 1 time in total.
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 Not Working

Post by socratis »

  1. Did you use the search functionality in your favorite browser?
  2. Zack.b_ wrote:My host os is MAC OS X EL CAPITAN Version 10.11.6, and my host os is Windows 10.
    You've got to learn the terminology otherwise we're going to have misunderstandings. Host is your actual computer. Guest is the virtual machine. So, which is which? You had another post, again in OSX guests, which you never replied to. This time you'll have to answer before we continue this discussion.
  3. With the USB device plugged in and the VM not running, post the output of the following commands from the Terminal:
        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.
Zack.b_
Posts: 5
Joined: 25. Oct 2016, 03:38

Re: USB Not Working

Post by Zack.b_ »

My bad man, my host is MAC OS EL CAPITAN 10.11.6, guest is windows 10, sorry it's late and I've had this up for a while.
For "VBoxManage list usbhot" this is the outcome

Code: Select all

UUID:               87808f49-ef03-475d-97d5-17b1c50ae68e
VendorId:           0x0930 (0930)
ProductId:          0x6544 (6544)
Revision:           1.0 (0100)
Port:               6
USB version/speed:  0/High
Manufacturer:               
Product:            USB Flash Memory
SerialNumber:       001D92DC47E2C8B0F3C6016A
Address:            p=0x6544;v=0x0930;s=0x00014b0893a98ecc;l=0xfa136000
Current State:      Busy
This is only the part of the usb im trying to use, as I think this is all that matters :)
for VBoxManage showvminfo "Your_Virtual_Machine_Name"
I get this part (again this is only the usb portion as the whole outcome is very long)

Code: Select all

USB Device Filters:

Index:            0
Active:           yes
Name:             USB Flash Memory [0100]
VendorId:         0930
ProductId:        6544
Revision:         0100
Manufacturer:             
Product:          USB Flash Memory
Remote:           0
Serial Number:    001D92DC47E2C8B0F3C6016A
Thanks in advance again, and sorry for the misunderstanding.
Last edited by socratis on 25. Nov 2016, 09:17, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message. Enclosed the information in [code] tag 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 Not Working

Post by socratis »

Moving to "OSX hosts" from "OSX guests".
Zack.b_ wrote:again this is only the usb portion as the whole outcome is very long
If I wanted a portion of the output, I would have asked for a portion of the output. I didn't, because there are things in there that I'd like to see.

So, please try again, without censoring, limiting or obfuscating the output. And if you could enclose the information in the <code> tag, that would be great.
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.
Zack.b_
Posts: 5
Joined: 25. Oct 2016, 03:38

Re: USB Not Working

Post by Zack.b_ »

Code: Select all

Name:            Windows 10
Groups:          /
Guest OS:        Windows 10 (64-bit)
UUID:            911b15ea-b1ea-42ef-ae6d-839677ac5bed
Config file:     /Users/zackbarrier/VirtualBox VMs/Windows 10/Windows 10.vbox
Snapshot folder: /Users/zackbarrier/VirtualBox VMs/Windows 10/Snapshots
Log folder:      /Users/zackbarrier/VirtualBox VMs/Windows 10/Logs
Hardware UUID:   911b15ea-b1ea-42ef-ae6d-839677ac5bed
Memory size:     2048MB
Page Fusion:     off
VRAM size:       128MB
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-11-25T04:55:36.000000000)
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):            SATA
Storage Controller Type (0):            IntelAhci
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  30
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
SATA (0, 0): /Users/zackbarrier/VirtualBox VMs/Windows 10/Windows 10.vdi (UUID: 1d03172f-ef35-4186-b641-de9f0ce1ebb1)
SATA (1, 0): Empty
NIC 1:           MAC: 0800272F1FE9, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings:  MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: USB Tablet
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           enabled (Driver: CoreAudio, Controller: HDA, Codec: STAC9221)
Clipboard Mode:  disabled
Drag and drop Mode: disabled
VRDE:            disabled
USB:             enabled
EHCI:            enabled
XHCI:            disabled

USB Device Filters:

Index:            0
Active:           yes
Name:             USB Flash Memory [0100]
VendorId:         0930
ProductId:        6544
Revision:         0100
Manufacturer:             
Product:          USB Flash Memory
Remote:           0
Serial Number:    001D92DC47E2C8B0F3C6016A

Index:            1
Active:           yes
Name:             New Filter 1
VendorId:         
ProductId:        
Revision:         
Manufacturer:     
Product:          
Remote:           
Serial Number:    

Bandwidth groups:  <none>

Shared folders:  <none>

Video capturing:    not active
Capture screens:    0
Capture file:       /Users/zackbarrier/VirtualBox VMs/Windows 10/Windows 10.webm
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25

Guest:

Configured memory balloon size:      0 MB

Code: Select all

Host USB Devices:

UUID:               246e15e5-e6a3-4029-8608-fbf8c5731a48
VendorId:           0x05ac (05AC)
ProductId:          0x0252 (0252)
Revision:           1.24 (0124)
Port:               2
USB version/speed:  0/Full
Manufacturer:       Apple Inc.
Product:            Apple Internal Keyboard / Trackpad
Address:            p=0x0252;v=0x05ac;s=0x0000000073c887d8;l=0xfa120000
Current State:      Unavailable

UUID:               5f876ff3-d131-43e6-b2c0-36791dda525c
VendorId:           0x05ac (05AC)
ProductId:          0x821a (821A)
Revision:           0.66 (0066)
Port:               3
USB version/speed:  0/Full
Manufacturer:       Apple Inc.
Product:            Bluetooth USB Host Controller
Address:            p=0x821a;v=0x05ac;s=0x0000000084ab172c;l=0xfa113000
Current State:      Busy

UUID:               e16bc669-2547-4ca5-9690-c017d03ce797
VendorId:           0x05ac (05AC)
ProductId:          0x8242 (8242)
Revision:           0.22 (0022)
Port:               1
USB version/speed:  0/Low
Manufacturer:       Apple Computer, Inc.
Product:            IR Receiver
Address:            p=0x8242;v=0x05ac;s=0x0000000070cb9aa2;l=0xfd110000
Current State:      Busy

UUID:               cb574f9e-695c-4119-bdfc-7deb547d2a06
VendorId:           0x05ac (05AC)
ProductId:          0x8509 (8509)
Revision:           5.22 (0522)
Port:               2
USB version/speed:  0/High
Manufacturer:       Apple Inc.
Product:            FaceTime HD Camera (Built-in)
SerialNumber:       CC2B7L0227DGFKL0
Address:            p=0x8509;v=0x05ac;s=0x000048114a395782;l=0xfa200000
Current State:      Busy

UUID:               87808f49-ef03-475d-97d5-17b1c50ae68e
VendorId:           0x0930 (0930)
ProductId:          0x6544 (6544)
Revision:           1.0 (0100)
Port:               6
USB version/speed:  0/High
Manufacturer:               
Product:            USB Flash Memory
SerialNumber:       001D92DC47E2C8B0F3C6016A
Address:            p=0x6544;v=0x0930;s=0x00014b0893a98ecc;l=0xfa136000
Current State:      Busy

UUID:               c69ece68-1015-4064-b901-8f813062a47e
VendorId:           0x1532 (1532)
ProductId:          0x0036 (0036)
Revision:           2.0 (0200)
Port:               7
USB version/speed:  0/Full
Manufacturer:       Razer
Product:            Razer Naga Hex
Address:            p=0x0036;v=0x1532;s=0x0000f63b4f5456df;l=0xfa137000
Current State:      Busy
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 Not Working

Post by socratis »

Thank you @Zack.b_, that's much better.

First you have to delete the "New Filter 1". It's a catch-all filter that will capture every USB device under the sun. You don't want that. That's partially why I wanted to see the whole output...

Second, edit the "USB Flash Memory [0100]" and delete all the values, except Name, ProductID and VendorID.

Third, plug the device after you've started the VM. To make it clear, don't have the USB device plugged in and then start the VM, but start the VM, then plug the device.
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.
Zack.b_
Posts: 5
Joined: 25. Oct 2016, 03:38

Re: USB Not Working

Post by Zack.b_ »

I did all that and still no luck. My host os (Mac) reads it as soon as it is in the computer. Virtual Box doesn't see it before the host os. Same error code as before that I included with the first post.
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

Re: USB Not Working

Post by michaln »

Eject the drive in OS X but do not unplug. Then you should be able to capture it in the VM.
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 Not Working

Post by socratis »

OK, here's the FULL laundry list. It hasn't failed so far, but it gets amended from time to time. Not everything applies to you. Follow the steps below. Religiously. If there is a failure, please state exactly 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. You might get a "New hardware found" wizard on the guest, that's normal.
  7. With the USB device plugged in and the VM not running, post the output of the following commands:
        VBoxManage list usbhost
        VBoxManage list extpacks
        VBoxManage showvminfo "Your_Virtual_Machine_Name"
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. On Linux guests, post the output of "lsusb". On Mac guest check the "System Information". On Windows, check the device manager, or get USBDeview, or USBView.
  4. Are you by any chance using a USB3 port? Does your guest support USB3? https://downloadcenter.intel.com/downlo ... set-Family
  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. If on a Linux host, are you a member of the 'vboxusers' group? If not, add yourself with "sudo usermod -a -G vboxusers <your_username>", then reboot.
  7. If on a Linux host, run "sudo update-usbids".
  8. 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
  9. Try your favorite search engine. It can work miracles most of the time.
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