Re: IPX Serial port speed (OpenBSD)

Matt Crawford <[email protected]>
Newsgroups gmane.os.solaris.at-home
Message-ID <[email protected]>
On Feb 17, 2010, at 11:44 PM, Alex Carver wrote:

> 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.

As soon as the device is closed, it reverts to the default. So you have to set it from a process that keeps it open, or engage in some other trickery:


( stty 38400; myprog ) < /dev/ttyb 2>&1 > /dev/ttyb


      Matt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.