MSCL icon indicating copy to clipboard operation
MSCL copied to clipboard

Cannot connect with device in VirtualBox

Open Robaire opened this issue 4 years ago • 1 comments

Trying to connect to a 3DM-GX5-45 device from Ubuntu over serial fails with Failed to communicate with the device. This only happens in VirtualBox, an identical setup running Ubuntu natively works without issue. Serial communication from VirtualBox is verified to work with other systems, it is only the 3DM-GX5-45 that does not work.

System:

  • Ubuntu 20.04
  • MSCL 58.0.7 amd64 installed from .deb
  • VirtualBox 6.1.14 on Windows 10 Host

Robaire avatar Oct 23 '20 14:10 Robaire

Sorry for the delayed response!

One of our firmware engineers recently ran into the same issue and is looking into improving stability. In testing they found the following worked reliably for them:

  • Setting up a logical serial port in your VM (instead of allowing direct access to the USB connection)
  • Connecting the device prior to launching the VM
  • Re-launching the VM if the device is disconnected or reset

If you were already using a logical serial port or it doesn't end up working as described let us know! It would be helpful at that point to have the VM serial port configuration details.

msclissa avatar Nov 13 '20 22:11 msclissa