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.cand 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 asycand 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 -f5) Rebuild the kernel using/etc/conf/bin/idbuild -B6) Shutdown the server, access the BIOS and change the BIOS configuration of COM1 from
IRQ 4 and IO 3F8toIRQ 4 and IO 3E87) Reboot the server and as root run:
stty -a < /dev/tty1ato verify that you can now access the COM1 Serial Port on the new settings.