*BSD News Article 12224


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!gatech!emory!ogicse!flop.ENGR.ORST.EDU!gaia.ucs.orst.edu!umn.edu!umeecs!quip.eecs.umich.edu!dmuntz
From: dmuntz@quip.eecs.umich.edu (Dan Muntz)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Faster com speeds?
Message-ID: <1993Mar2.031148.13802@zip.eecs.umich.edu>
Date: 2 Mar 93 03:11:48 GMT
Article-I.D.: zip.1993Mar2.031148.13802
References: <1993Feb25.181623.6494@coe.montana.edu> <1993Mar1.010649.10751@runx.oz.au>
Sender: news@zip.eecs.umich.edu (Mr. News)
Organization: University of Michigan EECS Dept., Ann Arbor
Lines: 25

In article <1993Mar1.010649.10751@runx.oz.au> bde@runx.oz.au (Bruce Evans) writes:
>In article <1993Feb25.181623.6494@coe.montana.edu> osyjm@cs.montana.edu (Jaye Mathisen) writes:
>>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 regularly run at 57.6k and 115.2k: 57.6k to the modem for slip and
115.2k between directly wired machines.  It works quite well.  To simplify
things, I added the two '+'-marked lines to com.c in comspeed():

	else if (speed < 0) return(-1);

+	if (speed == 50) speed = 57600;
+	if (speed == 75) speed = 115200;

	x = divrnd(COMTIK,speed);

This way I can just tell tip, slattach, etc. that I want to connect
at 50 or 75 bps, but I get 57.6k and 115.2k respectively.

  -Dan
   dmuntz@citi.umich.edu