From owner-freebsd-hackers Fri Feb 23 13:10:28 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA11313 for hackers-outgoing; Fri, 23 Feb 1996 13:10:28 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA11305 for ; Fri, 23 Feb 1996 13:10:20 -0800 (PST) Received: from ccnet.ccnet.com (root@ccnet.ccnet.com [192.215.96.2]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id NAA25966 for ; Fri, 23 Feb 1996 13:10:12 -0800 Received: (from root@localhost) by ccnet.ccnet.com (8.6.12/8.6.12) id NAA11758; Fri, 23 Feb 1996 13:02:46 -0800 Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [192.216.222.4]) by ccnet.ccnet.com (8.6.12/8.6.12) with ESMTP id LAA22597 for ; Fri, 23 Feb 1996 11:18:25 -0800 Received: from localhost (daemon@localhost) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA21983 Fri, 23 Feb 1996 09:12:12 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA21844 for hackers-outgoing; Fri, 23 Feb 1996 09:11:54 -0800 (PST) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id JAA21838 for ; Fri, 23 Feb 1996 09:11:48 -0800 (PST) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id LAA13363; Fri, 23 Feb 1996 11:10:03 -0600 From: Joe Greco Message-Id: <199602231710.LAA13363@brasil.moneng.mei.com> Subject: Re: 230.400 bps on serial port To: petzi@zit.th-darmstadt.de (Michael Beckmann) Date: Fri, 23 Feb 1996 11:10:03 -0600 (CST) Cc: hackers@freebsd.org In-Reply-To: from "Michael Beckmann" at Feb 23, 96 11:49:56 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org Precedence: bulk > Hello Hackers, > > I need a reliable data transfer rate of 230.400 bps on the serial port for > PPP. Can that be done ? getty only has a setting for 115.200 bps. I have a > Gigabyte 586 ATEP mainboard with FIFOs. Can I use them for 230.400 bps, and > how ? Or should I buy a special serial card for that ? > > Thanks, A standard 16550 in normal PC configuration has a maximum port speed of 115,200bps. It can't go at any faster usable speed because you're already at the smallest usable divisor. If you have a real 16550 (i.e. NatSemi, etc), and it's on a card, you can "overclock" it by a factor of 2 or 4 to give 230,400 or 460,800 bits per second. This essentially is a crystal replacement with a soldering iron. Not hard but not for beginners. FreeBSD still thinks that the port is 115,200, you have just changed the underlying hardware to rev up the true speed. I've done this. The interrupt load on the machine jumps accordingly but it works. At 230,400 you will probably be seeing close to 2000 interrupts per second, because the 16550 doesn't have a real large FIFO. I had minor problems with lossage on a 386DX/40. Hayes ("Hayes Microcomputer Products") has something called an "ESP Communications Accelerator". This is essentially a smart serial card which has a much larger FIFO (1K), and has a switchable speed multiplier, so you can get 230,400, 460,800, or 921,600 bps without soldering. Support for the card is at least partially there in -current, although someone said they weren't sure if the FIFO was fully enabled. This is a more pricey alternative (list $99) but Hayes has a special right now, see http://www.hayes.com/esp.htm The Hayes solution is probably the best solution in the long run. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968