problem with usb devices

Discussions related to using VirtualBox on Linux hosts.
Post Reply
muaddib
Posts: 17
Joined: 29. Nov 2013, 06:12

problem with usb devices

Post by muaddib »

Can't mount usb devices in Windows 7 running on Virtual Box.
I select checkbox in usb devices list in virtualbox menu, but nothing happened.
Using virtualbox 5.1.18
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: problem with usb devices

Post by Perryg »

Linux host USB is probably the easiest of all distros supported. There needs to be 3 things to achieve success.
  • 1) Matching extension pack installed.
    2) ( host requirement ) user name added to the vboxusers group followed with a logout and login or a reboot of the host to enable the new permission.
    3) You need to be using the official version of VirtualBox and the official version of the extension pack.
Note: the repo version of the extension pack does not have USB support because VirtualBox USB is closed source and you must use and accept the license for the official version.
muaddib
Posts: 17
Joined: 29. Nov 2013, 06:12

Re: problem with usb devices

Post by muaddib »

1) Yes, extension pack 5.1.18 already installed
2) user already added to group 'vboxusers'
3) virtual box downloaded using apt from 'deb http://download.virtualbox.org/virtualbox/debian trusty contrib' and Extension pack downloaded from virtualbox.org
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: problem with usb devices

Post by Perryg »

I need to see some more information.

Code: Select all

1) post the guests log file ( as an attachment )
2) in a terminal on the host run "VBoxManage list usbhost" and post the results here.
3) in the same host terminal type "id" and post the results here.
muaddib
Posts: 17
Joined: 29. Nov 2013, 06:12

Re: problem with usb devices

Post by muaddib »

2) VBoxManage list usbhost:

Code: Select all

Host USB Devices:

UUID:               a0fd9b1a-edf9-4e69-8659-1fbf822c0e5a
VendorId:           0x174c (174C)
ProductId:          0x5106 (5106)
Revision:           128.0 (12800)
Port:               1
USB version/speed:  2/High
Manufacturer:       StoreJet Transcend
Product:            StoreJet Transcend
SerialNumber:       S318J9AF452708
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8.1/1-8.1.2//device:/dev/vboxusb/001/047
Current State:      Captured

UUID:               f2d6aa6e-7d8e-4189-aac0-082034e7bef8
VendorId:           0x0b05 (0B05)
ProductId:          0x5f02 (5F02)
Revision:           255.255 (255255)
Port:               0
USB version/speed:  2/High
Manufacturer:       Android
Product:            Android
SerialNumber:       F5AZFG294873
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8.1/1-8.1.1//device:/dev/vboxusb/001/048
Current State:      Busy

UUID:               d7ac1eaa-a8d0-4a03-b787-0005c39ccd50
VendorId:           0x058f (058F)
ProductId:          0x6364 (6364)
Revision:           1.0 (0100)
Port:               2
USB version/speed:  2/High
Manufacturer:       Generic
Product:            Mass Storage Device
SerialNumber:       058F63646476
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8.1/1-8.1.3//device:/dev/vboxusb/001/012
Current State:      Busy

UUID:               0e5b8b6d-3836-4583-a506-46a9ffd6d19e
VendorId:           0x046d (046D)
ProductId:          0xc534 (C534)
Revision:           41.0 (4100)
Port:               6
USB version/speed:  2/Full
Manufacturer:       Logitech
Product:            USB Receiver
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7//device:/dev/vboxusb/001/002
Current State:      Busy
3)

Code: Select all

id: uid=1000(muaddib) gid=1000(muaddib) группы=1000(muaddib),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),108(lpadmin),110(sambashare),127(vboxusers),130(wireshark)
Attachments
VBox.log
(127.11 KiB) Downloaded 6 times
Last edited by socratis on 1. Aug 2017, 07:13, edited 2 times in total.
Reason: Fixed formatting.
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: problem with usb devices

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.

My bet? You have enabled USB3 for a VM that does *not* support USB3 and you didn't install the Intel drivers in the guest. This is something that no log will show us, this is something that you got to take care of yourself. But please read the whole thread...
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.
muaddib
Posts: 17
Joined: 29. Nov 2013, 06:12

Re: problem with usb devices

Post by muaddib »

Thank you, I set USB 2.0 controllers for VM and all works.
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: problem with usb devices

Post by socratis »

Great! Or you could install the Intel drivers in Win7 and have USB3 support in your guest as well. Assuming of course that your host has USB3 support...
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.
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: problem with usb devices

Post by michaln »

socratis wrote:Great! Or you could install the Intel drivers in Win7 and have USB3 support in your guest as well. Assuming of course that your host has USB3 support...
That is required for attaching USB3 devices (or rather getting USB devices working at USB3 speeds). It is not required for using xHCI emulation in VMs.
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: problem with usb devices

Post by socratis »

Very true, I misspoke. I used to have USB3 support in guest that could understand USB3, even though my previous host never supported USB3 natively. And if I'm not mistaken, USB3 is a much more stable stack in general compared to USB2, so, if the guest supports it, by all means enable that compared to USB2.
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