[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-users
Subject:    simple serial port program
From:       Dan McMahill <dmcmahill () NetBSD ! org>
Date:       2006-06-24 17:28:05
Message-ID: 449D7625.9070409 () NetBSD ! org
[Download RAW message or body]

anyone have a simple program that monitors the handshaking lines on a 
serial port and can detect when one of them drops?  I'm wanting to do 
some simple monitoring where I'll connect RTS and CTS, set 1 high and 
monitor when the other goes low.  The connection will be made by a 
circuit which detects certain bad events like water on my basement floor 
and will email me at work and also to my phone.

I'd like it to set an alarm when the connection is broken so if the 
cable gets knocked out it will also trigger the alarm.

Can this monitoring be done without polling?  This will be on either an 
alpha (pc164) or a sparc (IPX).

Thanks
-Dan
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic