Need to disable DTR on serial port
Rein Klazes
rklazes at xs4all.nl
Mon Apr 12 01:40:22 CDT 2004
On Sun, 11 Apr 2004 23:15:14 -0500, you wrote:
>
> In any case, it turns out that one of the many requirements to get the
> watch to respond is to have DTR disabled (done by setting fDtrControl =
> DTR_CONTROL_DISABLE). But apparently the default for linux is
> DTR_CONTROL_ENABLE, and Wine will ignore any requests to change it
> (DTR_CONTROL_HANDSHAKE being unimplemented as well)
>
> I assume that driving the DTR line low is the trigger that tells the
> watch to listen to the Rx line.
>
> I am not sure if this is a Wine or Linux limitation, (as I have very
> limited knowledge of serial protocols), so I was wondering if anyone had
> any ideas for a suibtable workaround?
Geoffrey,
Please try my patch, submitted two days ago, that is just doing that -
obeying DTR_CONTROL_DISABLE.
http://www.winehq.org/hypermail/wine-patches/2004/04/att-0145/01-comm-DTR-RTS-1.diff
Rein.
--
Rein Klazes
rklazes at xs4all.nl
More information about the wine-devel
mailing list