💻 Software
How to do hardware DTR/DSR flow control on Linux (serial port programming)?
Fresh5 days ago
Mar 15, 20268144 viewsConfidence Score0%
0%
Problem
It's possible to setup a serial port communication using hardware flow control with the RTS/CTS pins (CRTSCTS flag for tcsetattr), but there is no way to use the DTR/DSR pins for flow control in a reliable and efficient way. One can use the TIOCMGET ioctl() to check the pin state, but then we need …
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to do hardware DTR/DSR flow control on Linux (serial port programming)?
Low Risk
Answering my own question, thanks to an hint from @ktf, I found out that at least since 2.6.28 [1] there are IOCTLs (TCGETX, TCSETX, TCSETXF & TCSETXW) to setup extended attributes. They seem to have been added to the upstream kernel on 13 Oct 2008 …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix