Subject: Re: GENERIC-104 on PB not finding serial ports
To: Douglas R. Troeger <dtroeger@ix.netcom.com>
From: Dr. Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 04/14/1999 10:27:22
On Tue, 13 Apr 1999, Douglas R. Troeger wrote:

> I am having trouble accessing a Hayes external modem
> connected to my PB 145 B, running the 19990322
> Generic-104 kernel.  The modem speed is 14.4.
> 
> My chat script (from Mark Andres' FAQ) hangs at
> ATZ -- the OK response is never sent (I am
> looking at tail -f /var/log/messages
> 
> /usr/sbin/pppd /dev/tty00 19200 connect
>  '/usr/sbin/chat -v  "" ATZ OK ATDT###-####
> 
> (the rest is omitted)
> 
> This occurs whether I set the port to stty raw
> in the booter or not;  it occurs for /dev/tty01 as well,
> when I connect the modem to the printer port.

Are you using the powerbook open-before-boot option (forgot its name)? The
condition you describe certainly sounds like it might be MacOS hasn't
enabled the power to the serial ports. :-)

> Using echo to send something to the port just
> locks the window
> 
>   echo "ATDT/n" > /dev/tty00

Did the modem lights flicker any when you did that?

> Is this a problem with the kernel?
> 
> The port and modem work perfectly well under
> MacOS.

If it's power control, that's because MacOS knows how to turn on the
serial port power. :-)

Take care,

BIll