Page 1 of 1
problem with usb devices
Posted: 10. Jul 2017, 14:07
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
Re: problem with usb devices
Posted: 10. Jul 2017, 14:41
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.
Re: problem with usb devices
Posted: 11. Jul 2017, 08:27
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
Re: problem with usb devices
Posted: 11. Jul 2017, 13:07
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.
Re: problem with usb devices
Posted: 1. Aug 2017, 06:12
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)
Re: problem with usb devices
Posted: 1. Aug 2017, 07:31
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...
Re: problem with usb devices
Posted: 1. Aug 2017, 10:21
by muaddib
Thank you, I set USB 2.0 controllers for VM and all works.
Re: problem with usb devices
Posted: 1. Aug 2017, 10:29
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...
Re: problem with usb devices
Posted: 1. Aug 2017, 12:53
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.
Re: problem with usb devices
Posted: 1. Aug 2017, 18:47
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.