Modem control on ttyS0

Michael Hipp MHipp
Mon May 17 11:35:34 PDT 2004


I found the secret handshake:

stty -F /dev/ttyS0 crtscts
stty -F /dev/ttyS0 -clocal

This converts ttyS0 into a serial port with modem control on so the upsd
daemon can get signals from the UPS. You can check it with:

stty -F /dev/ttyS0 -a

Thanks for all who responded,
Michael

On Tue, 2002-07-30 at 11:35, Matthew Carpenter wrote:
> The cable?  Those are special cables, and some are for Smart and some are
> not.  Could you expound on the problem description?  Get some step-by-step
> details (perhaps I missed them, I only saw Chang's reply and the little
> snippit)





More information about the Linux-users mailing list