VirtualBox

Ticket #10734 (new defect)

Opened 22 months ago

The USB controller is lost at guest machines

Reported by: gchron Owned by:
Priority: major Component: USB
Version: VirtualBox 4.1.18 Keywords:
Cc: gchron Guest type: Windows
Host type: Mac OS X

Description

After updating to MacOS X 10.7 I had a strange problem with USB. When I tried to add a USB was given me the error that it faild to attach the USB device to the guest machine. I know that could happen if the device is in use and if it as USB storage device I just have to unmount it from the Desktop. But this device is not used from MacOS at all. After some testing I figured out that the device could be used after reboot. So if I wanted to use the device I had to reboot the machine. After updating to the new version I show something strange the USB was working with no problems at all. So I thought that the problem is solved. The problem actually is not solved. It is happening if the machine is going to sleep. After wake the VBOX dows not see the USB devices.

So the solution (at least until it is fixed from the developers) When we install the VBOX application the installed tops all kernel extensions in order to install the new ones and then loads the new ones.

I found this sh script that loads during the installation (I made some changes).

# # Unload any old extension that might be loaded already (ignore failures). #

kextunload -m org.virtualbox.kext.VBoxNetAdp kextunload -m org.virtualbox.kext.VBoxNetFlt kextunload -m org.virtualbox.kext.VBoxUSB kextunload -m org.virtualbox.kext.VBoxDrv

# # Load the extension, exit on first error. # kextload /Library/Extensions/VBoxDrv.kext kextload -d /Library/Extensions/VBoxDrv.kext /Library/Extensions/VBoxUSB.kext kextload -d /Library/Extensions/VBoxDrv.kext /Library/Extensions/VBoxNetFlt.kext kextload -d /Library/Extensions/VBoxDrv.kext /Library/Extensions/VBoxNetAdp.kext

after that the USB works with no restant any more. We have just run it every time we need USB before start VBOX.

I hope that This probl;em will be solved in future versions of VBOX

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use