VirtualBox can't plug USB device in windows guest.
VirtualBox can't plug USB device in windows guest.
Hello.
I used the last version of VirtualBox on Debian 8.6 amd64. When I plug a USB device like flash drive and want use it in windows guest then windows OS show me an error about device driver. Why? I installed VirtualBox guest additional tools too.
How can I solve it?
Thank you.
I used the last version of VirtualBox on Debian 8.6 amd64. When I plug a USB device like flash drive and want use it in windows guest then windows OS show me an error about device driver. Why? I installed VirtualBox guest additional tools too.
How can I solve it?
Thank you.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VirtualBox can't plug USB device in windows guest.
Install the extension pack in the host and add your user name too the vboxusers group. ( log off or reboot for permissions to take effect ).
Re: VirtualBox can't plug USB device in windows guest.
I resolve a similar problem with any of this commands (read about this and take time to find a solution with some of this parameters):
# Enable USB and type in "ON"
sudo VBoxManage modifyvm "Replace-This-Text-With-Your-Virtual-Machine-Name" --usb on --usbehci on
# List the USB devices that are plugged in the system with this command:
sudo VBoxManage list usbhost
# Write in a text file (or in a paper) the "VendorId" and the "ProductId" numbers between parenthesis of your correct device.
# You can see something like this result:
Host USB Devices:
UUID: f1g765f1-a241-4215-b15t-7185dgy39d3c
VendorId: 0x0B10 (0B10)
ProductId: 0x8c3A (8c3A)
Revision: 1.1 (0101)
[Other lines ...]
# Then execute this command:
VBoxManage usbfilter add 0 --target "Replace-This-Text-With-Your-Virtual-Machine-Name" --name usbstick --vendorid 0B10 --productid 8c3A
It took me several hours to find this answer to my problem.
The USB key was required for the execution of a system that supposedly was impossible to run on Linux. I managed to make it work thanks to these simple corrections.
I hope this helps you!
# Enable USB and type in "ON"
sudo VBoxManage modifyvm "Replace-This-Text-With-Your-Virtual-Machine-Name" --usb on --usbehci on
# List the USB devices that are plugged in the system with this command:
sudo VBoxManage list usbhost
# Write in a text file (or in a paper) the "VendorId" and the "ProductId" numbers between parenthesis of your correct device.
# You can see something like this result:
Host USB Devices:
UUID: f1g765f1-a241-4215-b15t-7185dgy39d3c
VendorId: 0x0B10 (0B10)
ProductId: 0x8c3A (8c3A)
Revision: 1.1 (0101)
[Other lines ...]
# Then execute this command:
VBoxManage usbfilter add 0 --target "Replace-This-Text-With-Your-Virtual-Machine-Name" --name usbstick --vendorid 0B10 --productid 8c3A
It took me several hours to find this answer to my problem.
The USB key was required for the execution of a system that supposedly was impossible to run on Linux. I managed to make it work thanks to these simple corrections.
I hope this helps you!
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VirtualBox can't plug USB device in windows guest.
Or you could add your user name to the vboxusers group and not need to use sudo. Most if not all of this is covered in the VirtualBox users manual. Here is a link to the online one. http://www.virtualbox.org/manual/UserManual.html
Re: VirtualBox can't plug USB device in windows guest.
I did it first all because if you never do it then VirtualBox not let you plug any USB to guest OS. After it guest OS can see USB but windows show an error about device driver.Perryg wrote:Or you could add your user name to the vboxusers group and not need to use sudo. Most if not all of this is covered in the VirtualBox users manual. Here is a link to the online one. http://www.virtualbox.org/manual/UserManual.html
Re: VirtualBox can't plug USB device in windows guest.
In you idea doing all of these steps is logical for plug a USB?proferay wrote:I resolve a similar problem with any of this commands (read about this and take time to find a solution with some of this parameters):
# Enable USB and type in "ON"
sudo VBoxManage modifyvm "Replace-This-Text-With-Your-Virtual-Machine-Name" --usb on --usbehci on
# List the USB devices that are plugged in the system with this command:
sudo VBoxManage list usbhost
# Write in a text file (or in a paper) the "VendorId" and the "ProductId" numbers between parenthesis of your correct device.
# You can see something like this result:
Host USB Devices:
UUID: f1g765f1-a241-4215-b15t-7185dgy39d3c
VendorId: 0x0B10 (0B10)
ProductId: 0x8c3A (8c3A)
Revision: 1.1 (0101)
[Other lines ...]
# Then execute this command:
VBoxManage usbfilter add 0 --target "Replace-This-Text-With-Your-Virtual-Machine-Name" --name usbstick --vendorid 0B10 --productid 8c3A
It took me several hours to find this answer to my problem.
The USB key was required for the execution of a system that supposedly was impossible to run on Linux. I managed to make it work thanks to these simple corrections.
I hope this helps you!
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VirtualBox can't plug USB device in windows guest.
I would like to see the guests log file ( as an attachment ) and the following from the hosts terminal:
- id
VBoxManage list extpacks
VBoxManage list usbhost
VBoxManage list usbfilters
Re: VirtualBox can't plug USB device in windows guest.
I use "VirtualBox 5.1.10" and when I want to install "Oracle_VM_VirtualBox_Extension_Pack-5.0.30-112061.vbox-extpack" it show me:Perryg wrote:Install the extension pack in the host and add your user name too the vboxusers group. ( log off or reboot for permissions to take effect ).
Code: Select all
VBoxExtPackRegister returned VERR_VERSION_MISMATCH, pReg=0000000000000000 ErrInfo='VirtualBox version mismatch - expected 5.0 got 5.1'.
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: VirtualBox can't plug USB device in windows guest.
The Extension Pack (ExtPack) has to match the VirtualBox version, which means you have to install the 5.1.10 ExtPack.
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.
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.
Re: VirtualBox can't plug USB device in windows guest.
Hello.Perryg wrote:I would like to see the guests log file ( as an attachment ) and the following from the hosts terminal:
- id
VBoxManage list extpacks
VBoxManage list usbhost
VBoxManage list usbfilters
The outputs that you need:
Code: Select all
$ sudo VBoxManage list usbhost
[sudo] password for jason:
Host USB Devices:
UUID: ec09eabe-7856-4edc-95df-cf3cc634512b
VendorId: 0x090c (090C)
ProductId: 0x1000 (1000)
Revision: 17.0 (1700)
Port: 7
USB version/speed: 2/High
Manufacturer: General
Product: USB Flash Disk
SerialNumber: 0413170000013800
Address: sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8//device:/dev/vboxusb/001/003
Current State: Busy
UUID: 4d2eb522-714c-4ceb-93aa-8217d4bcebab
VendorId: 0x046d (046D)
ProductId: 0xc05a (C05A)
Revision: 99.0 (9900)
Port: 2
USB version/speed: 2/Low
Manufacturer: Logitech
Product: USB Optical Mouse
Address: sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3//device:/dev/vboxusb/001/002
Current State: Busy
Code: Select all
$ VBoxManage list usbfilters
Global USB Device Filters:
<none>
Code: Select all
$ id
uid=1000(jason) gid=1000(jason) groups=1000(jason),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),108(netdev),111(scanner),123(vboxusers)
Code: Select all
$ lsusb
Bus 004 Device 002: ID 8087:8000 Intel Corp.
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:8008 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
Bus 001 Device 002: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Code: Select all
$ sudo VBoxManage modifyvm "Word" --usb on --usbehci on
VBoxManage: error: Could not find a registered machine named 'Word'
VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee nsISupports
VBoxManage: error: Context: "FindMachine(Bstr(a->argv[0]).raw(), machine.asOutParam())" at line 500 of file VBoxManageModifyVM.cpp
Re: VirtualBox can't plug USB device in windows guest.
I can't see any Extension Pack for my VirtualBox version!!!!!socratis wrote:The Extension Pack (ExtPack) has to match the VirtualBox version, which means you have to install the 5.1.10 ExtPack.
Re: VirtualBox can't plug USB device in windows guest.
https://www.virtualbox.org/wiki/Downloads Does the link at the end of the second bullet not work for you?hack3rcon wrote:I can't see any Extension Pack for my VirtualBox version!!!!!
Re: VirtualBox can't plug USB device in windows guest.
As you see "If you are using VirtualBox 5.0.30, please download the extension pack". My VirtualBox is 5.1
.
I attached a photo too.
I attached a photo too.
- Attachments
-
- Screenshot-VirtualBox - Preferences.png (34.64 KiB) Viewed 4024 times
Re: VirtualBox can't plug USB device in windows guest.
Thank you.
I installed the extension pack but when I want mount a USB get same error:
I installed the extension pack but when I want mount a USB get same error:
- Attachments
-
- VBox.png (11.33 KiB) Viewed 4014 times
-
- Screenshot-VirtualBox - Preferences-1.png (34.27 KiB) Viewed 4014 times