Problem detecting and reacting to serial break
doconnor at gsoft.com.au
Sat Aug 14 23:43:17 UTC 2010
On 15/08/2010, at 3:00, Paul Thornton wrote:
> So according to the documentation, the effect of the break should be to
> flush the input and output buffers, and send a SIGINT to my process. The
> buffer doesn't seem to get flushed, and I don't get sent the SIGINT.
It does sounds like it's ignoring your request :(
However you won't get a SIGINT unless the serial port is the controlling terminal of your process (which it won't be if you just open()'d it)
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
More information about the freebsd-hackers