From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 19 20:27:28 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 404EE16A4BF; Tue, 19 Aug 2003 20:27:28 -0700 (PDT) Received: from hiram.io.com (hiram.io.com [199.170.88.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F11E43F3F; Tue, 19 Aug 2003 20:27:27 -0700 (PDT) (envelope-from eighner@io.com) Received: from io.com (aus-as2-050.io.com [199.170.89.50]) by hiram.io.com (8.11.2/8.11.2) with SMTP id h7K3QeL06076; Tue, 19 Aug 2003 22:26:41 -0500 Date: Tue, 19 Aug 2003 22:25:23 -0500 (CDT) From: Lars Eighner To: Don Lewis In-Reply-To: <200308200300.h7K2xtM7032288@gw.catspoiler.org> Message-ID: <20030819221817.M7004@pearl.io.com> References: <200308200300.h7K2xtM7032288@gw.catspoiler.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@FreeBSD.org Subject: Re: Modem won't connect at full speed X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2003 03:27:28 -0000 On Tue, 19 Aug 2003, Don Lewis wrote: > On 19 Aug, Lars Eighner wrote: > > This has been answered by somebody on some forum, but I lost it. > If you manually dial using cu or tip, what connection speed does the > modem report? Oh geez, pull out the manual and spend all night trying to figure out how to config cu or tip, whatever they are! > > BAUD=9600 PARITY=N WORDLEN=8 > > DIAL=TONE ON HOOK CID=0 > It is somewhat worrysome that your modem is reporting 9600 BAUD in the > fixed DTE speed setting. I don't know about USR Internal modems, but at > least some implementations will pace the data flow rate to the reported > DTE speed to avoid overwhelming the host with quick bursts of > interrupts. This might be the reason for your slow connection speeds. Hmmm. Of course this is "on hook." I obtained these values using minicom. I don't know how to talk to the modem when it is connected to somewhere, or more to the point how to query it. I assumed the 9600 here was just the default for talking to the serial port, not the pass-through. > It's been a while since I've used the proper incantation to reset the > speed on a USR modem, but I think with a serial modem, the procedure was > to connect to the modem, repeatedly type AT to get its attention, put it > in variable speed mode, reconnect at the desired speed, and set &B1 to > get it back to fixed rate. Probably something similar will work with an > internal modem. The modem will probably peek at the UART speed control > register to pick up the desired DTE rate and save it to its non-volatile > memory. -- Lars Eighner eighner@io.com -finger for geek code- http://www.io.com/~eighner/index.html 8800 N IH35 APT 1191 AUSTIN tx 78753-5266