[Suns-at-Home] IPX Serial port speed (OpenBSD)

Alex Carver agcme2002 at yahoo.com
Thu Feb 18 16:05:30 EST 2010


--- On Thu, 2/18/10, Sandwich Maker <adh at an.bradford.ma.us> wrote:

> From: Sandwich Maker <adh at an.bradford.ma.us>
> Subject: Re: [Suns-at-Home] IPX Serial port speed (OpenBSD)
> To: suns-at-home at net-kitchen.com
> Date: Thursday, February 18, 2010, 9:53 AM
> " From: Alex Carver <agcme2002 at yahoo.com>
> " 
> " If I remember correctly, the IPX on-board serial ports
> will support up
> " to 38400 baud.  My current problem is that I can't
> seem to change it
> " to anything other than 9600.  In OpenBSD, I use stty
> to change it
> " (logged in as root) and it always bounces back to
> 9600.  Is there
> " something else conflicting with the port speed?
> " 
> " Serial consoles are disabled since I have a keyboard and
> monitor
> " plugged in.
> 
> is there a getty running on it?
> 
> the obp also sets it on bootup, for access before the os
> loads.
> 
> and as der mouse said, something else may be holding it
> open.

No gettys are enabled on the ports.  The getty config file has them both set to "off".  As far as I can tell, nothing else has control of the ports.  Every time I use stty, though, it shows this:

#stty -f /dev/ttya speed 19200
9600
#

There's a brief delay while it runs the command and before it prints out the 9600.

What I'm trying to do is plug in a SiRF GPS on the machine to use gpsd and ntp.  Gpsd has a utility for changing the port speed but it doesn't appear to be able to do that either.  No matter what I do the port stays locked at 9600 (gpsd prints an error that the driver refused to change port speeds).

Is there a way to check if something has grabbed the port?


      


More information about the Suns-at-Home mailing list