Re: serial callout devices

Miquel van Smoorenburg (miquels@cistron.nl)
Tue, 1 Jun 1999 09:22:06 +0200


According to Alan Curry:
> (
> stty 38400
> ) </dev/modem >/dev/modem

You still need the stty -F /dev/ttyS1 clocal, if clocal is off and
DCD is low, the shell will hang opening the serial device. That's
the entire point of this thread ...

Ofcourse you should also use proper locking, and for that you will
need an external utility anyway as that's impossible in a shell script ..

Mike.

-- 
Indifference will certainly be the downfall of mankind, but who cares?

- 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/