Re: 2.1.66 serial driver broken -- baud rates..

Michael Nelson (nelson@seahunt.imat.com)
Thu, 27 Nov 1997 18:16:07 -0800 (PST)


mlord <mlord@pobox.com> wrote:
-> Well.. it's better: now when I set spd_vhi, I get 38400.

Use "spd_normal", and feed the real desired baud rate from your
application. For instance, I used to use spd_vhi with ppp, and
had 38400 in my ppp options. That resulted in 115200 comm port
speed. With spd_normal, I put 115200 in my ppp options file,
and I am back to getting consistent 33.6 connections on my ppp
link.

My understanding is that the spd_hi and spd_vhi were a kludge for
the old kernels and serial drivers that didn't understand speeds
higher than 38400. They are no longer necessary in recent kernels..
my fix works with 2.0.32 as well, even though the spd_vhi stuff
wasn't broken there.

Michael

--
Michael Nelson                                   nelson@seahunt.imat.com
San Francisco, CA                                   michaeln@csd.sgi.com