Re: open command failing on serial port

From: Bob Bailin (72027.3605_at_compuserve.com)
Date: 01/28/04


Date: Wed, 28 Jan 2004 20:22:21 GMT


"Justin Robbs" <justin_robbsNO@SPAMhotmail.com> wrote in message
news:bv8n9c$b44$1@news.tdl.com...
> --snip--
> > From the above info, the base I/O port is x18A0 and it
> > uses IRQ 9. Go back into serial manager and use this
> > info to correctly configure these 8 non-intelligent serial
> > ports.
> >
> > I'd be happy to be more specific in my help with serial
> > manager, but I just discovered that on a 5.0.7 system
> > with 2 std COMx ports, serial manager still hangs while
> > it attempts to discover my port configuration, just as it's
> > done since 5.0.4 or so due to some TCL bug in character
> > mode.
> >
> > So you're on your own.
> >
> > Bob
>
> Is there a way to manually tweak the files updated by the serial
> manager? The serial manager program doesn't allow you to set the
> IRQ and IO address for that card. I can see the drop down box on
> the to enter the values when I install the card, but I can't get
> to them with either the tab or the arrow keys. I know how to
> navigate through scoadmin and can change these values for the
> other card we use (an ISA card). The program just doesn't allow
> it. Also, once it is installed you can't modify that card. I
> can modify the other serial card no problem.

The serial configuration file is: /etc/conf/sdevice.d/sio

There's a line for each serial device configured into the kernel.
>From my system with 2 std serial ports:

# cat sio
sio Y 26 7 0 4 3F8 3FF 0 0
sio Y 55 7 0 3 2F8 2FF 0 0

The 6th column is the device IRQ,
the 7th column is the starting I/O port address (in hex),
the 8th column is the ending I/O port address (in hex).

See man sdevice for more file format info.

The serial manager gets all of its info from the file
/etc/conf/pack.d/sio/space.c , which has entries for
all dumb serial devices that SCO OSR knows about.
You shouldn't modify this file or you'll screw up the
serial manager program.

Looking at all the digiboard entries, there are none that
are pre-configured for your i/o and irq settings (I wouldn't
expect them to be since it's pci).

I would expect that when you add a new serial device,
you should be able to modify the i/o and irq settings.

Since you can't, try modifying them directly in the sio
config file mentioned above, and see where it gets you.
Use the settings in the old system to get an idea of what the
ending i/o port number should be relative to the starting
i/o port number.

Relink the kernel, reboot and hope for the best.

Bob



Relevant Pages