🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #3083

How to hang up modem line?

#3083
From: Bryan S. So
Date: Sat, 17 Nov 1990 19:59
15 lines
808 bytes
Other than sending +++ATZ to the modem, is there a more 
efficient way to hang up the phone line?  

I have tried to 

    outportb(mcr, 0);	/*  Modem control register 	*/
    outportb(lcr, 0);	/*  Line control register 	*/
    outportb(ier, 0);	/*  Interrupt enable register 	*/

in Turbo C.  It hangs up the phone line on many modems,
but not on several.  Is there a better way to do it?


Bryan So 
Technical Details
Message-ID: <11744@spool.cs.wisc.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!uwm.edu!uwvax!brownie.cs.wisc.edu!so

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!uwm.edu!uwvax!brownie.cs.wisc.edu!so
From: so@brownie.cs.wisc.edu (Bryan S. So)
Newsgroups: comp.os.msdos.programmer
Subject: How to hang up modem line?
Message-ID: <11744@spool.cs.wisc.edu>
Date: 17 Nov 90 19:59:57 GMT
Sender: news@spool.cs.wisc.edu
Organization: U of Wisconsin CS Dept
Lines: 15