Technical article 126799

How can I change the IRQ and IO Address of a COM port on my already installed OpenServer 6.0.0 system?

OpenServer 6.0.0

Written · Last revised

Problem

I have installed my OpenServer 6.0.0 system and now I want to change the IRQ and/or IO address used by one of the dumb serial ports (COM1/COM2) on my server. How do I do this?

Solution

The process for changing the IRQ and/or IO Address of a dumb serial port on an installed SCO OpenServer 6.0.0 system is described below.

NOTE: The example below assumes you are changing the IO address of COM1 (/dev/tty1a) to 0x3e8 and that you are leaving the IRQ at 4. Please adapt the example to your specific requirements. The example assumes that you are the root user.

1) Edit /etc/conf/pack.d/asyc/space.c
and change:

{ 0x3f8, 4, NOTYPE, NOSTATE, 8, 16,(struct termios *)0,(struct termiox *)0,0}, { 0x2f8, 3, NOTYPE, NOSTATE, 8, 16,(struct termios *)0,(struct termiox *)0,0}, { 0x3e8, 5, NOTYPE, NOSTATE, 0, 0, (struct termios *)0,(struct termiox *)0,0},

to

{ 0x3e8, 4, NOTYPE, NOSTATE, 8, 16,(struct termios *)0,(struct termiox *)0,0}, { 0x2f8, 3, NOTYPE, NOSTATE, 8, 16,(struct termios *)0,(struct termiox *)0,0}, { 0x3f8, 5, NOTYPE, NOSTATE, 0, 0, (struct termios *)0,(struct termiox *)0,0},

2) Locate the dumb serial port entries in the resmgr using:

resmgr | grep asyc

and locate the COM1/tty1a entry. Output should be like:

16 asyc 1 9 4 4 3f8 3ff - - - - 1 - - - 2 -

3) Change the COM1 entry to 3e8/3ef using:

resmgr -k 16 -p "IOADDR" -v "3e8 3ef"
4) Update the kernel configuration using:
/etc/conf/bin/idconfupdate -f
5) Rebuild the kernel using
/etc/conf/bin/idbuild -B

6) Shutdown the server, access the BIOS and change the BIOS configuration of COM1 from

IRQ 4 and IO 3F8
to
IRQ 4 and IO 3E8

7) Reboot the server and as root run:

stty -a < /dev/tty1a

to verify that you can now access the COM1 Serial Port on the new settings.

From the Xinuos technical article database, record 126799. Reproduced with permission. The original is at www.sco.com/ta/126799, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.