Re: Need to disable DTR on serial port

2004-04-12 Thread Mike McCormack
Geoffrey Hausheer 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

Re: Need to disable DTR on serial port

2004-04-12 Thread Mike McCormack
Hey Rein, Your patch looks a little more complete than mine :) I was writing an improved one, and then saw your patch... Two comments: 1) it might be better to call COMM_WhackModem() after tcsetattr() so previous flow control settings don't interfere with setting the RTS/DTS lines. 2)

Re: Need to disable DTR on serial port

2004-04-12 Thread Rein Klazes
On Mon, 12 Apr 2004 16:46:56 +0900, you wrote: Hey Rein, Your patch looks a little more complete than mine :) I was writing an improved one, and then saw your patch... Two comments: 1) it might be better to call COMM_WhackModem() after tcsetattr() so previous flow control settings

Re: Need to disable DTR on serial port

2004-04-12 Thread Geoffrey Hausheer
On Mon, 12 Apr 2004 09:26:30 +0200, Rein Klazes said: 1) it might be better to call COMM_WhackModem() after tcsetattr() so previous flow control settings don't interfere with setting the RTS/DTS lines. 2) #ifdef guards around TIOCM_DTR and TIOCM_RTS? Agreed, I will fix this in a

Need to disable DTR on serial port

2004-04-11 Thread Geoffrey Hausheer
In an ongoing effort to get TzMax working, I've been fighting to get it to talk to the device through the COM port. The problem is that the device (a wrist-watch...the program is used to download heart-rate data from said watch) is very difficult to comunicate with. In theory it is quite simple: