<br></div><div>The Virtualbox logs aren't clear to me so I'm studying those at this time, as well as asking in the VIrtualbox forums and here.</div><div><br></div><div>Thanks in advance,</div><div>Mark</div></div>
Does anyone have experience with what causes random USB disconnects in a Virtualbox VM and possibly how to fix them?
I have a new external DSP processor box that connects to Windows host software over USB. If I dual boot my Linux box into Win10 the control software works fine for as long as I want to use it. Communication is bi-directional and everything is great.
If instead I'm in Linux with a Win10 VM running I can run the same software in the VM, and it will always see the external DSP when first started, but
at random times, generally 5-20 seconds but never more than 5 minutes, the software will tell me the USB connection has been interrupted and I am
forced in the software to reestablish a connection. I am always able to reconnect but I am so far unable to keep it connected.
I've tried the VB USB 1.1, 2.0 and 3.0 virtual interfaces. Only 3.0 works
at all.
I have tried multiple USB ports on the host machine. All work in native Windows. All work in Virtualbox but all disconnect.
I see absolutely no messages of any type about USB disconnection in dmesg.
I don't know where else to look.
The Virtualbox logs aren't clear to me so I'm studying those at this time,
as well as asking in the VIrtualbox forums and here.
Thanks in advance,
Mark
On Thursday, 14 July 2022 18:42:10 BST Mark Knecht wrote:
Does anyone have experience with what causes random USB disconnects in a Virtualbox VM and possibly how to fix them?
I don't recall having noticed a similar problem with different USBdevices on a
Win10 VM here, but just in case have you checked USB power savingsettings?
https://www.windowscentral.com/how-prevent-windows-10-turning-usb-devices
If instead I'm in Linux with a Win10 VM running I can run the same
software in the VM, and it will always see the external DSP when first started, but at random times, generally 5-20 seconds but never more than
5 minutes, the software will tell me the USB connection has been
interrupted and I am forced in the software to reestablish a connection.
I am always able to reconnect but I am so far unable to keep it connected.
On 14/07/2022 18:42, Mark Knecht wrote:connected.
If instead I'm in Linux with a Win10 VM running I can run the same
software in the VM, and it will always see the external DSP when first started, but at random times, generally 5-20 seconds but never more than
5 minutes, the software will tell me the USB connection has been interrupted and I am forced in the software to reestablish a connection.
I am always able to reconnect but I am so far unable to keep it
Is there a setting in VB to say "take over the USB port"? ISTR something
of the sort, which would basically let Win10 take over the port and
drive it, with linux out of the picture.
Don't trust me on this, I don't play with USB and it's ages since I
stumbled across this, but it's worth taking a look.
Cheers,
Wol
<div>possibly it could be done with USB but my guess is it might be</div><div>difficult as most USB controllers are part of the chipset. Still, it's worth</div><div>some study.</div><div><br></div><div>As this DSP processor is identified as anaudio device I wondered</div><div>today if possibly pulseaudio might be trying to grab it. I intend to</div><div>look into configuring PA not to touch it.</div><div><br></div><div>There's also (possibly) blacklisting certain USB device IDs. In the </
<div>VM I configured it to understand the device ID and hook to it.</div><div>Possibly I can tell the Linux USB stack to ignore this device so that</div><div>PA or some other part of the system just stays away.</div><div><br></div><div>But being thatthe DSP device is an guitar amplifier modeler</div><div>and my new Tele came back from my guitar tech at lunchtime</div><div>I spent the afternoon playing the guitar! Nonproductive but fun!</div><div><br></div><div>Thanks for the ideas,</div><div>Mark</
</div>
On Thu, Jul 14, 2022, 4:25 PM Wol <antlists@youngman.org.uk> wrote:than
On 14/07/2022 18:42, Mark Knecht wrote:
If instead I'm in Linux with a Win10 VM running I can run the same software in the VM, and it will always see the external DSP when first started, but at random times, generally 5-20 seconds but never more
connection.5 minutes, the software will tell me the USB connection has been interrupted and I am forced in the software to reestablish a
connected.I am always able to reconnect but I am so far unable to keep it
Is there a setting in VB to say "take over the USB port"? ISTR something
of the sort, which would basically let Win10 take over the port and
drive it, with linux out of the picture.
Don't trust me on this, I don't play with USB and it's ages since I stumbled across this, but it's worth taking a look.
Cheers,
Wol
Good questions. I'm not sure with USB. As I understand it thereworth
are options in Virtualbox to pass through complete pieces of hardware.
I've read that people do this with complete graphics cards. In theory possibly it could be done with USB but my guess is it might be
difficult as most USB controllers are part of the chipset. Still, it's
some study.
As this DSP processor is identified as an audio device I wondered
today if possibly pulseaudio might be trying to grab it. I intend to
look into configuring PA not to touch it.
There's also (possibly) blacklisting certain USB device IDs. In the
VM I configured it to understand the device ID and hook to it.
Possibly I can tell the Linux USB stack to ignore this device so that
PA or some other part of the system just stays away.
But being that the DSP device is an guitar amplifier modeler
and my new Tele came back from my guitar tech at lunchtime
I spent the afternoon playing the guitar! Nonproductive but fun!
Thanks for the ideas,
Mark
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 303 |
Nodes: | 16 (2 / 14) |
Uptime: | 84:18:32 |
Calls: | 6,808 |
Calls today: | 4 |
Files: | 12,328 |
Messages: | 5,401,327 |