MSCL icon indicating copy to clipboard operation
MSCL copied to clipboard

3DMGQ7 cdc_adm: failed to set dtr/rts, then Error: Failed to communicate with device

Open scotts11 opened this issue 2 years ago • 0 comments

I am working with a 3DMGQ7 with Ubuntu 20.04. I have had this code working fine in previous months, but in the past couple months, I have been getting this error message fairly consitently:

cdc_acm:1-1:1.0: Failed to set dtr/rts Error: Failed to communicate with device.

code snippet:

connection = mscl.Connection.Serial("/dev/ttyACM0", 115200)
self.node = mscl.InertialNode(connection)
try:
    self.node.setToIdle()
except mscl.Error as e:
    print('Error:', e)

I plugged the 3DMGQ7 into SensorConnect to verify that it wasn't streaming at startup (which it does not seem to be).

This is failing on multiple different units, so it seems something has changed in the last couple months. My only idea is that there has been a change in the amount of data streaming and that is somehow overloading the bandwidth of the serial channel so I can't transmit my Idle command?

scotts11 avatar Feb 03 '24 00:02 scotts11