1 |
On Thursday, 14 July 2022 18:42:10 BST Mark Knecht wrote: |
2 |
> Does anyone have experience with what causes random USB disconnects in a |
3 |
> Virtualbox VM and possibly how to fix them? |
4 |
> |
5 |
> I have a new external DSP processor box that connects to Windows host |
6 |
> software over USB. If I dual boot my Linux box into Win10 the control |
7 |
> software works fine for as long as I want to use it. Communication is |
8 |
> bi-directional and everything is great. |
9 |
> |
10 |
> If instead I'm in Linux with a Win10 VM running I can run the same software |
11 |
> in the VM, and it will always see the external DSP when first started, but |
12 |
> at random times, generally 5-20 seconds but never more than 5 minutes, the |
13 |
> software will tell me the USB connection has been interrupted and I am |
14 |
> forced in the software to reestablish a connection. I am always able to |
15 |
> reconnect but I am so far unable to keep it connected. |
16 |
> |
17 |
> I've tried the VB USB 1.1, 2.0 and 3.0 virtual interfaces. Only 3.0 works |
18 |
> at all. |
19 |
> |
20 |
> I have tried multiple USB ports on the host machine. All work in native |
21 |
> Windows. All work in Virtualbox but all disconnect. |
22 |
> |
23 |
> I see absolutely no messages of any type about USB disconnection in dmesg. |
24 |
> I don't know where else to look. |
25 |
> |
26 |
> The Virtualbox logs aren't clear to me so I'm studying those at this time, |
27 |
> as well as asking in the VIrtualbox forums and here. |
28 |
> |
29 |
> Thanks in advance, |
30 |
> Mark |
31 |
|
32 |
I don't recall having noticed a similar problem with different USB devices on a |
33 |
Win10 VM here, but just in case have you checked USB power saving settings? |
34 |
|
35 |
https://www.windowscentral.com/how-prevent-windows-10-turning-usb-devices |