You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok, it seems that setting DTR (Data Terminal Ready) and RTS (Ready To Send) are set in one fell swoop in the Linux CDC ACM kernel (I'm looking at a different version but the logic should be the same).
staticvoidacm_port_dtr_rts(structtty_port*port, intraise)
{
structacm*acm=container_of(port, structacm, port);
intval;
intres;
if (raise)
val=ACM_CTRL_DTR | ACM_CTRL_RTS;
elseval=0;
/* FIXME: add missing ctrlout locking throughout driver */acm->ctrlout=val;
res=acm_set_control(acm, val);
if (res&& (acm->ctrl_caps&USB_CDC_CAP_LINE))
dev_err(&acm->control->dev, "failed to set dtr/rts\n");
}
This means that either RTS or DTR can trigger DTR high.
The solution might be as simple as setting SerialPort.RtsEnable to false like the code already does with DTR.
@TomBruyneel if you've got the time can you check this? I'll try to get a .Net development environment set up on my Linux machine but that'll take some time.
Observed behaviour:
AC:
The text was updated successfully, but these errors were encountered: