When I attach a device without a capture: "VBoxManage controlvm {VM-name} usbattach {device_uuid}" it successfully attach the device but when I add "--capturefile filename" option it fails with this error in console:
Code: Select all
VBoxManage: error: Code NS_ERROR_FAILURE (0x80004005) - Operation failed (extended info not available)
VBoxManage: error: Context: "AttachUSBDevice(usbId.raw(), captureFilename.raw())" at line 1428 of file VBoxManageControlVM.cpp
Code: Select all
00:08:13.401972 VUSB: Disabled '00007fd9202d0890[proxy 1e3d:6025]' remote wakeup for configuration 0
00:08:13.453695 PDMUsb: Failed to attach USB device 'USBProxy' instance 3 to hub 00007fd9202bc320: VERR_NOT_FOUND
00:08:13.886253 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={Failed to create a proxy device for the USB device. (Error: VERR_NOT_FOUND)}, preserve=false aResultDetail=-78