Lost connection to USB

Discussions related to using VirtualBox on Windows hosts.
Post Reply
maniecki
Posts: 2
Joined: 31. Jul 2021, 12:40

Lost connection to USB

Post by maniecki »

Hello everyone. I have a fiber laser marking machine that only has 32 bit controls, so I use VirtualBox.
When I use USB 2.0 everything is fine. The problem occurs when I switch to the USB 3.0 controller.
Initially the machine runs normally, but after about 20 minutes it disconnects and I get the error "BJJCZ USBLM-V1 'with UUID {long code} is busy with a previous request. Please try again later."
Only when I restart the guest system, it can be used again, but for a short time and the problem reappears.
I would like to use USB 3.0 because everything works faster.
Host OS - Windows 10 64 bit
Guest OS - Windows 7 32 bit


- I created Virtualbox USB Filters
- There is no UpperFilters entry in the registry
- Extension pack installed

I am asking for help, what can be done to keep the machine working on USB 3.0 and not losing connection with the guest.
Thank you in advance for your help.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Lost connection to USB

Post by scottgus1 »

Per USB basics and troubleshooting, "busy with a previous request" means:
something else (most probably the host) is using the device.
So in some fashion your device is disconnecting from the VM and reconnecting to the host.

Why this is happening would at least need a log from the VM when the disconnect occurs. See the USB tutorial post 8 and provide the requested information. Note also that Windows 7 needed drivers to handle USB 3, I'm assuming you installed such drivers in the VM.

FWIW forum guru advice is to not try to control real-time-ish robot control devices with VMs. I have a Shopbot, I wouldn't dream of trying to run it with a VM. Physical control hardware is important for the outcome of the project, so as to not lose step because the VM or comms glitched. Since you're using Windows 7, there's still enough decently-priced refurbished PCs from the 7 era that you could get a couple and keep one active, one in reserve, for more solid control of your laser burner. A PC with native USB3 or a PCIe slot for a USB3 card would probably work quite well.
maniecki
Posts: 2
Joined: 31. Jul 2021, 12:40

Re: Lost connection to USB

Post by maniecki »

Thank you for your response. I use VB to control the machine because I have one computer on which I use graphics programs and I do all the operations and it would be difficult to have another computer with a 32 bit system, and I like to make my work easier :)

Below are the logs. Please check if they are correctly read. I have doubts whether I entered the query "VBoxManage showvminfo" <Your_Virtual_Machine_Name> "" correctly because an error appeared.

VBoxManage -version:
6.1.22r144080

VBoxManage list extpacks:
Extension Packs: 1
Pack no. 0: Oracle VM VirtualBox Extension Pack
Version: 6.1.22
Revision: 144080
Edition:
Description: Oracle Cloud Infrastructure integration, USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module: VBoxVRDP
Usable: true
Why unusable:


VBoxManage list usbhost:
Host USB Devices:

UUID: faa13252-e7b4-47bf-a8e9-12ddc806838c
VendorId: 0x9588 (9588)
ProductId: 0x9990 (9990)
Revision: 0.1 (0001)
Port: 1
USB version/speed: 2/High
Current State: Available

UUID: 36b946a2-d7fd-4320-9906-40c9e3b60686
VendorId: 0x8087 (8087)
ProductId: 0x0aaa (0AAA)
Revision: 0.2 (0002)
Port: 10
USB version/speed: 2/Full
Manufacturer: Intel Corp.
Address: {e0cbf06c-cd8b-4647-bb8a-263b43f0f974}\0000
Current State: Busy

UUID: d333f7c8-3ea7-438f-b8b9-2e564af01cb4
VendorId: 0x27c6 (27C6)
ProductId: 0x55b4 (55B4)
Revision: 1.0 (0100)
Port: 2
USB version/speed: 2/High
Address: {53d29ef7-377c-4d14-864b-eb3a85769359}\0000
Current State: Busy

UUID: 07c39d56-e72a-4830-a542-040b0f88c578
VendorId: 0x13d3 (13D3)
ProductId: 0x56b2 (56B2)
Revision: 23.17 (2317)
Port: 4
USB version/speed: 2/High
Manufacturer: IMC Networks
Address: {36fc9e60-c465-11cf-8056-444553540000}\0004
Current State: Busy

UUID: a680da58-7b06-4626-a9fd-eae35a2abb13
VendorId: 0x04b4 (04B4)
ProductId: 0x4a59 (4A59)
Revision: 1.116 (01116)
Port: 2
USB version/speed: 1/Low
Manufacturer: Cypress Semiconductor Corp.
Current State: Available


VBoxManage list usbfilters:
Global USB Device Filters:

<none>

VBoxManage showvminfo "<fiber>":
VBoxManage.exe: error: Could not find a registered machine named '<fiber>'
VBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee IUnknown
VBoxManage.exe: error: Context: "FindMachine(Bstr(VMNameOrUuid).raw(), machine.asOutParam())" at line 2727 of file VBoxManageInfo.cpp
Attachments
Fiber_VB_win-shoutdown.zip
shutdown by pressing the windows icon and then shut down the system
(32.11 KiB) Downloaded 9 times
fiber_VB.zip
close the virtual machine window by pressing the cross and "power off the machine" and click OK
(31.14 KiB) Downloaded 11 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Lost connection to USB

Post by scottgus1 »

Please repeat the "VBoxManage showvminfo" command without the <>'s:

VBoxManage showvminfo "fiber"

Also, please identify which device in "usbhost" is the laser device.
Post Reply