From owner-freebsd-questions Thu Nov 9 14:13:07 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA08520 for questions-outgoing; Thu, 9 Nov 1995 14:13:07 -0800 Received: from tornado.netspace.net.au (ahill@netspace.net.au [203.10.110.110]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA08513 for ; Thu, 9 Nov 1995 14:13:00 -0800 Received: (from ahill@localhost) by tornado.netspace.net.au (8.7.1/8.7.1) id JAA23589; Fri, 10 Nov 1995 09:10:27 +1100 (EST) Date: Fri, 10 Nov 1995 09:10:26 +1100 (EST) From: Anthony Hill To: Owen Newnan cc: questions about FreeBSD Subject: Re: modem lights In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk > > > "> 2. Is there a program that can display the status of your modem > > > (the most essential ones are: OH - if the modem is off-hook (i.e. > > > dialed out) or not, RD - data being received, TR - data being > > > sent)? I have a internal modem, and this would be a useful thing; > > > it's probably also useful for the laptop/PCMCIA crowd. > > Never heard of any such thing on any modem. Do you happen to have anything > like a reference, on *any* modem, as an example? > > [Both my modems (Sound Modem and Express Fax Modem) support Hayes command set > variants returning "result codes," such as, "NO CARRIER", "NO DIAL TONE" or > "CONNECT 14400." They can be configured to give additional result codes for > protocol, e.g., are we using LAPM or V.42bis. This kind of stuff may be > helpful in debugging modem connectivity as might loopback testing. However, I > don't see any documented way to figure out if data is being sent or received, > although maybe that's buried in bit mapped registers somewhere.] > The status signals have nothing to do with AT commands or bit mapped registers - nor can they be read from RS232. For internal modems (and PCMCIA I belive) they CAN be read from the BUS. (I have seen Windows and MSDOS programs that do this) I have never seen a UNIX program that does though. (There is one called lights.zip for DOS)