Subject: Re: Serial speed.
To: Bill Studenmund <wrstuden@nas.nasa.gov>
From: Matthew Reilly <mjreilly@flashcom.net>
List: port-mac68k
Date: 07/09/1999 09:18:01
Bill Studenmund wrote:
[snip]
> You want to find the line:
> 
>                 xcs->cs_clocks[0].flags = ZSC_RTXBRG;
> 
> which is line 317 in version 1.31. Make it
> 
>                 xcs->cs_clocks[0].flags = ZSC_RTXBRG | ZSC_RTXDIV;
> 
> And you'll be able to do 230400.
> 
[snip]

Thanks Bill. I made the change and compiled myself a new kernel. I tried
to set the default speed for the modem port to 230400 in the booter but
I still got this when I booted:

zsc0 at obio0 chip type 0 
zsc0 channel 0: d_speed   9600 DCD clk 0 CTS clk 0
zstty0 at zsc0 channel 0
zsc0 channel 1: d_speed   9600 DCD clk 0 CTS clk 0
zstty1 at zsc0 channel 1 (console)

Does the booter not like anything faster than 57600?  Now, that's the
default speed, in my printcap I specify the following:

lp|direct|Epson Stylus 740:\
        :lp=/dev/tty00:sd=/var/spool/lpd:lf=/var/log/lpd-errs:\
        :br#230400:pc#500:xc#0177777:ms=-parity,ixon,-opost:sh:\
        :if=/usr/local/libexec/lpr/stc-if:

I'm still getting gibberish when I try to print a .ps file throught GS
but at least it seems to come quicker! Is there a way to check the speed
of the port? (Other than hooking up a cable and using a term program,
I'll do that when I get home from work.)

Thanks, 

Matthew