DTR Flow Control

Mike McCormack mike_mccormack at start.com.au
Sun Feb 24 03:34:35 CST 2002

Hi Michael,

> Is DTR flow control supported?

No. However the Win32 API uses very confusing names, so make sure the
app is really asking for DTR/DSR flow control.

DTR_CONTROL_ENABLE does not mean DTR/DSR flow control is enabled, it
means turn on the DTR line permanently. Only DTR_CONTROL_HANDSHAKE
means the serial port should use DSR/DTR handshaking. (AFAIK,
DTR_CONTROL_ENABLE and DTR_CONTROL_DISABLE flags are not correctly
handled in the current wine... they should actively turn on or turn
off DTR).

Additionally, there were some problems in the
GetCommState/SetCommState code that saw DTR_CONTROL_HANDSHAKE
accidently turned on, so make sure that it is really the application
that is requesting it.

As Marcus pointed out, the linux kernel itself does not support
DTR/DSR flow control, but given the time and motivation, we could
solve the problem if you really need to make this work...


mailto:Mike_McCormack at start.com.au
ph +82 16 430 0425

Get your free Australian email account at http://www.Looksmart.com.au

More information about the wine-devel mailing list