*BSD News Article 12137


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!manuel.anu.edu.au!munnari.oz.au!metro!ipso!runxtsa!bde
From: bde@runx.oz.au (Bruce Evans)
Subject: Re: Faster com speeds?
Message-ID: <1993Mar1.010649.10751@runx.oz.au>
Organization: RUNX Un*x Timeshare.  Sydney, Australia.
References: <1993Feb25.181623.6494@coe.montana.edu>
Date: Mon, 1 Mar 93 01:06:49 GMT
Lines: 23

In article <1993Feb25.181623.6494@coe.montana.edu> osyjm@cs.montana.edu (Jaye Mathisen) writes:
>
>
>OK, 386bsd 0.1, 2.1 patchkit, 2.1 com drivers from cgd.  My com2 is a 16550.
>
>How do I make proper entries to say, run my incoming modem at 57.6k or
>76.8k, or 115.2k?

The standard and cgd drivers are probably too slow to handle these speeds.
76800 is not supported by xx50 hardware.

>I just edited gettytab to create a std.38400, but can I just keep
>tossing in numbers?  ie std.41200?  I don't think so.  So somewhere this
>stuff has to be defined/configured.

Arbitrary integral speeds work to within the limitations of the driver,
provided that the program uses the termios interface.  getty is not such
a program.  It uses the obsolescent sgttyb interface which is limited to
38400 in the standard driver.  It's easy to change the driver to support
more speeds (just enlarge a couple of tables).  It's more work to support
more speeds in all the old programs.
-- 
Bruce Evans  (bde@runx.oz.au)