failed to attach the usb device virtualbox что делать
How to Troubleshoot VirtualBox Failed to Attach USB?
VirtualBox failed to attach USB is an error that generally occurs when the users try to access USB devices from the VirtualBox device menu. And see the error message on the screen VirtualBox failed to attach USB and the USB device stopped mounting the guest systems.
VirtualBox failed to attach USB
Well, the VirtualBox lets users link to a USB drive to the virtual devices, therefore the guest system identifies and utilizes the USB drive. To understand better read our guide – How to Access a USB Device in VirtualBox VM?
But recently many users reported they are facing a problem “failed to attach the USB device to the VirtualBox machine.”
So, if you are also struggling with the same problem then this article is for you. Here find out the possible solutions to troubleshoot the error.
Please Note: Before starting with the fixes, make sure your USB is working properly in the host system.
Restart Your PC
Many times simply restarting the PC works to solve minor glitches and bugs. So, it is a good idea to reboot both the host and the guest computer a couple of times and see if the problem is resolved.
Try installing the VirtualBox Extension Pack and Guest Additions
VirtualBox Guest Additions are the software packages that could be installed on the guest systems for optimizing the system performance and offer additional communications and integrations with the host PC. And, if this extension pack is not installed you may lose many functions.
So, make sure to install the Guest Additions, and to do so run the virtual machine and click on Device and Install Guest Additions at the virtual machine main window’s top-left corner. And you will see the virtual machine will automatically install the Guest Additions.
Now, install the VirtualBox Extension Pack, as this helps you to encompass VirtualBox functionality, also if you require connecting a USB2.0 or USB 3.0 drive, then installing this pack is compulsory.
Follow the steps to install the extension pack:
Once the installation process is complete, you require enabling the USB controller and adding new USB filters. Follow the steps to do so:
Now connect the USB device to the guest again and check if the error is fixed.
Edit the Registry
Well, this solution works for many users, so if the above solution won’t work for you then it is worth giving it a try.
Important: Be sure to follow the steps cautiously as a small mistake may prevent your PC from booting.
Reinstall the VirtualBox USB drivers
This is an optional solution you can opt for if the above trick won’t work for you. So, if there is an issue with the VirtualBox USB drivers, then also you may face the problem.
So try reinstalling the drivers manually by following the steps given:
So, that’s it now your USB devices should start working properly.
Techyv.com
VirtualBox failed to attach USB device to the virtual machine
When I try to attach the USB device to the virtual Machine Ubuntu, I ended up with an error message. The error says that the USB device is busy with a previous request. Please try again later. To my knowledge, there is no previous request. How do I cancel the previous request? Please help me to connect the device. Thanks a lot.
Failed to attach the USB device Unknown device to the virtual machine Ubuntu.
USB device ‘USBtiny’ with UUID <7149a6cc-0cf-4fc2-bb67-41a662a10f3f>is busy with a provious request. Please try again later.
Resut code: E_INVALINDATG (0X80070057)
VirtualBox failed to attach USB device to the virtual machine
Your VirtualBox seems to have trouble attaching the USB device to your guest OS. Here are the ways to troubleshoot this issue.
First, update to the latest VirtualBox. It is recommended for having the best performance and improvements with virtual devices. Download VirtualBox. Also, download and install the VirtualBox Extension Pack.
If you still fail to attach the USB device, try to do the following thing:
This will attach the device into the guest OS. Now, mount the USB device inside your virtual PC.
Now, your virtual PC should recognize the USB device and mount it.
VirtualBox не видит USB устройств
Гостевые машины VirtualBox могут напрямую иметь доступ к USB устройствам. То есть можно переключить флэшку или внешний диск, USB Wi-Fi карту, электронный ключ или любое другое устройство, которое подключено к вашей хост машине (реальному компьютеру) в гостевую машину (виртуальный компьютер). На время такого переключения, для физического компьютера это USB устройство перестаёт существовать — его будто бы отключили.
Для переключения USB устройства зайдите в соответствующий пункт настроек:
Или воспользуйтесь строкой состояния:
VirtualBox не отображает USB устройства
Если вы не видите USB устройств, то убедитесь, что USB контроллер включён. Если это так, но VirtualBox не показывает ни одного устройства, будто бы они не подключены даже к хост машине, то, скорее всего, вам необходимо добавить вашего пользователя в группу. Это делается командой:
После выполнения этой команды необходима перезагрузка.
Чтобы посмотреть, в каких группах состоит ваш пользователь, выполните команду:
Как включить USB 2.0 (EHCI) и USB 3.0 (xHCI) в VirtualBox
Для включения USB 2.0 и USB 3.0 в VirtualBox необходимо установить пакет расширений (Oracle VM VirtualBox Extension Pack), который можно найти на странице скачивания.
Этот пакет является бесплатным, но у него закрыт исходный код.
Virtualbox не видит USB в Ubuntu
Но многие пользователи сталкиваются с проблемой что VirtualBox не видит USB. Устройства подключены к системе и точно работают, а в меню подключения их просто нет. В этой статье мы рассмотрим что делать если virtualbox linux не видит usb устройства. Статья рассчитана в первую очередь на Ubuntu, но подойдет также пользователям других дистрибутивов.
Ошибка Virtualbox не видит USB
Чаще всего такая ошибка возникает потому что у пользователя, от имени которого вы запустили VirtualBox нет доступа к необходимым файлам. Это решается очень просто, вам достаточно добавить своего пользователя в группу vboxusers. Для этого выполните команду:
После этого вам достаточно еще раз войти в систему чтобы все заработало. Вы можете проверить обнаруживаются ли USB устройства с помощью команды:
VBoxManage list usbhost
Но это помогает не всегда. Вам также нужно посмотреть включена ли поддержка USB контроллера для виртуальной машины. Для этого откройте контекстное меню для нее и выберите пункт «Настройка», затем перейдите на вкладку «USB»:
Тут должна быть установлена галочка напротив «Включить контроллер USB», а также выбран один из доступных интерфейсов. Для поддержки USB 2.0 или USB 3.0 вам необходимо установить Virtualbox Extensions Pack. Это набор проприетарных расширений, которые включают к тому же поддержку этой технологии. Скорее всего, вы уже можете подключить usb virtualbox.
В Ubuntu 16.04 это можно сделать проще, достаточно выполнить команду:
sudo apt install virtualbox-ext-pack
Готово, после этого вы можете включить поддержку USB 3.0.
В некоторых дистрибутивах, например, семейства Red Hat, не работает usb в virtualbox, потому что поддержка подключения USB отключена из соображений безопасности. В таком случае вам придется ее включить. Для этого нужно сначала раскомментировать все строки SUBSYSTEM в /etc/udev/rules.d/60-virtualbox.conf. Это можно сделать командой:
Затем скопируйте этот файл в каталог /usr/lib/udev:
И перезагрузите наборы правил:
Теперь можете опять проверить все ли еще не видит Virtualbox usb устройства или уже все работает.
Выводы
В этой статье мы рассмотрели что делать если VirtualBox не видит USB Ubuntu или других Linux дистрибутивах. В большинстве случаев проблема решается очень просто. Надеюсь, эта информация была вам полезной.
How to solve VirtualBox exception when attaching a USB device: failed to create a proxy device for the usb device. (error verr_pdm_no_usb_ports)
Carlos Delgado
Learn how to solve the virtualbox exception «failed to create a proxy device for the usb device» when trying to mount a USB on VirtualBox.
This exception happens when you are trying to attach directly a USB device to your VirtualBox when it’s already being used by the host OS. For example, if you are using Windows 10 Pro (HOST) and virtualize a new machine with Windows 10 Home Edition (VM), connecting the USB first, then initializing the virtual machine and you try to attach the USB like this:
Then, the exception will appears. This happens basically by this principle, USB devices can either be used on your host OS or guest OS, however it can’t be shared between the Host and the VM. Whatever captures the USB device first, will block now the communication for the other system.
The solution to this problem is quite easy and we will explain you how to solve it in this article.
1. Install Oracle VirtualBox extension pack
As first step, you need to install the official Oracle VirtualBox extension pack. You can follow this tutorial in order to install the extension pack easily. After installing it, you may continue with the next steps.
2. Connect your USB to the computer
Now connect the USB to the computer and verify that is working, if you can read the files and so, everything should work properly.
3. Open your virtual machine settings
Stop your virtual machine if it’s open and access the settings in the main menu:
Then, in the emergent dialog, go to the USB tab and check the Enable USB controller. Select from the options the USB 3.0 (or available) controller and select under the USB Device Filters the Add New USB device (USB with plus icon) and select from the dropdown the USB device that you want to use in the Virtual Machine:
In our case, the USB that we want is the Prolific Technology Inc. USB SD Card (which is a USB SD-Memory reader). Once you select the desired USB device, you should be able to access it within your virtual machine:
And that’s how you can easily get access to a USB connected in your computer from a Virtual Machine. It should work with any operative system as Linux, Ubuntu and Windows.