How do I configure another serial port, /dev/ttyb-ttyd (COM2-4)?

How do I configure another serial port, /dev/ttyb-ttyd (COM2-4)?

Solaris 2.6 and above configures the second serial port automatically.
If you just added a serial port type the following:


touch /reconfigure; /usr/sbin/reboot


If the serial port isn't present after rebooting,
follow these instructions:


For Solaris 7 and above, use admintool and select "Browse-->Serial Ports."


For earlier Solaris versions, or if the steps above don't work,
perform the following, as root, to add the second serial port.
For other serial ports and internal modems follow the same steps but
change the appropriate line in the asy.conf file.
This file is located at /kernel/drv/asy.conf
(Solaris 8) or /platform/i86pc/kernel/drv/asy.conf
(Solaris 2.6 and earlier).


Solaris 2.6 and above:


Edit file asy.conf with to read:



#interrupt-priorities=12; # This line is present in Solaris 8
name="asy" class="sysbus" interrupts=12,4 reg=0x3f8,0,0 ioaddr=0x3f8;
ignore-hardware-nodes=1;
name="asy" class="sysbus" interrupts=12,3 reg=0x2f8,0,0 ioaddr=0x2f8;


Solaris 2.5.1 and earlier:


Remove the comment from the following line in file
/platform/i86pc/kernel/drv/asy.conf:



name="asy" class="sysbus" interrupts=12,3 reg=0x2f8,0,0 ioaddr=0x2f8;


For all versions of Solaris:


  • Save the changed file, asy.conf
  • Type "touch /reconfigure"
  • Type "/usr/sbin/reboot" to restart the system.
  • After you get a message saying syncing file systems and no more [N]
    characters appear, turn your machine off and then turn it on again.
  • Verify the device is present with "ls -l /dev/ttyb"
  • For details and for COM3 and COM4 instructions, see

    http://access1.Sun.COM/cgi-bin/rinfo2html?228402.faq



[Modified from Bruce Riddle's Solarisx86 2.5/Dialup PPP Configs FAQ;
updates from Michael Wang]





Home
FAQ