lkml.org 
[lkml]   [1999]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Serial port, DTR & CTS - serial experts wanted
> also don't like the RTS signal doing funky stuff when I open the port
> just to toggle the DTR signal...

Exactly my problem.

> 2) This sounds like an oversight in the driver. I mean I don't know
> about these semantics, and I write serial drivers....

Yes, is there any reason why the driver should toggle DTR and RTS when the
serial port gets opened?

If there is none, I suggest the behaviour be removed or at least be easily
switchable. Disabling it with a speed of 0 is cumbersome:
1/ The first time your program runs, the driver still toggles the lines.
2/ If your program dies unexpectedly, the driver is still at speed, say,
1200; you have to open the file again to set it to speed 0.
So I don't consider the speed 0 thing as an easy switch.

Regards,
David


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.128 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site