You have problems connecting or disconnecting USB devices on a Linux host system.
You are prompted to disconnect the driver on the host system when you connect a USB device to the virtual machine or disconnecting the device fails.
On Linux host systems, guest operating systems can use devices that are not claimed by a host operating system driver. A related issue sometimes affects devices that rely on automatic connection, such as PDAs. Occasionally, even if you successfully use autoconnection to connect the device to the virtual machine, you might experience problems with the connection to the device.
- If you have problems with autoconnection, perform these steps.
- Select the virtual machine and select to disconnect and reconnect the device.
- If the problem persists, unplug the device and plug it in again.
- If a warning message indicates that the device is in use, disable the device in the hotplug configuration files in the /etc/hotplug directory.
The documentation for the Linux distribution contains information on editing these configuration files.
- If disconnection fails, either disable the driver or unload the driver manually.
Disable the driver
If the driver was automatically loaded by hotplug, disable it in the hotplug configuration files in the /etc/hotplug directory. See the documentation for your Linux distribution for information on editing these configuration files.
Unload the driver manually
Become root (su -) and use the rmmod command.