How to open a modem which isn't asserting carrier-detect?

Chris Torek chris at umcp-cs.UUCP
Fri Feb 1 10:11:02 AEST 1985


What we did was add another major device, which uses all the same entry
points except two (open and close).  The ``outgoing mode'' open routine
asserts the software carrier, and also checks to make sure the line isn't
in use incoming (actually that the real carrier is off), which prevents
people from ``dialing out'' on the line you're using to log *in*.

Actually, the entire open and close routines in the outgoing-mode driver
consists of one call, to the open and close routines in the regular
driver, but with the ``flag'' argument being -1 (since it's always >= 0
for normal opens).
-- 
(This line accidently left nonblank.)

In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690)
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at maryland



More information about the Comp.unix.wizards mailing list