Ticket #10749 (new defect)
Opened 3 years ago
VBoxManage can not find USB device
|Reported by:||dj_bushido||Owned by:|
|Version:||VirtualBox 4.1.18||Keywords:||VBoxManage USB proc bus|
Hello everyone! I've recently been running into an issue with VirtualBox where the VBoxManage command can't mount a USB drive. The way our system is set up, a udev script grabs the USB device when it's plugged in, and under conditions, tells VBoxManage to mount the drive in the VM (VBoxManage controlvm usbattach). This way, it's not allowed to be marked busy. Previously, this was confirmed working, I'm not sure what broke. An example of the full command line is 'VBoxManage controlvm <vm_name> usbattach /proc/bus/usb/001/005' When trying to do this, VBoxManage reports:
VBoxManage: error: Could not find a USB device with address '/proc/bus/usb/001/009' VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component Host, interface IHost, callee nsISupports Context: "FindUSBDeviceByAddress(Bstr(a->argv).raw(), dev.asOutParam())" at line 842 of file VBoxManageControlVM.cpp
I'm not exactly sure on what version this stopped working, but we are running 4.1.8 currently. I did also test it, the issue is present on 4.1.18. Might there be any hints to why this isn't working? This exact system has previously been working on VirtualBox 4, not sure where everything died. Also, this ticket seems to show a similar issue, not sure if it is related: https://www.virtualbox.org/ticket/8978 Please let me know if there's anything else that I can do to help, happy to provide as much info as is necessary. Thank you much!