DOCUMENT ID: 0906-02 SYNOPSIS: How to make Solaris recognize COM2 port OS RELEASE: 2.x PRODUCT: Solaris x86 KEYWORDS: configure OpenWindows COM1 COM2 port DESCRIPTION: This describes how to make Solaris recognize COM2 port: 1. without having to reboot the system when you know your PC is already set up to enable COM2 port. or 2. how to prepare the Solaris files before reboot if you have to shutdown to configure COM2 port on PC. SOLUTION: Solaris defaults to enable COM1 port only. If you connect mouse on COM2 port and configure OpenWindows as such, you will get an error message when you run openwin: xinit: no such file or directory. This is because openwin is trying to access /dev/tty01 device file which does not exist on your system. If you know that you already enabled the COM2 port on the PC hardware, all you have to do is enable it under Solaris. Follow the steps: 1. edit /kernel/drv/asy.conf file (/platform/i86pc/kernel/drv/asy.conf in Solaris 2.5 and later) and uncomment the following lines: (Use the /platform/i86pc/kernel/drv file for 2.5).#name="asy" class="sysbus" interrupts=12,3 reg=0x2f8,0,0 # ioaddr=0x2f8; name="asy" class="sysbus" interrupts=12,3 reg=0x2f8,0,0 ioaddr=0x2f8; Note IRQ and IO port on COM2 is set as 3 and 2f8 as default. If your COM2 port is using different values than the default, you need to make changes accordingly on these lines. 2. run drvconfig to recognize the new asy driver: # drvconfig 3. run devlinks to create links from /dev directory to the /devices directory, this will create device files including /dev/tty01. # devlinks 4. Now try openwin again. You should not get the same error message. If you have not enabled COM2 port on the PC hardware, then you must shutdown your system to configure PC first. Do the following: 1. do the step 1 above. 2. # touch /reconfigure 3. shutdown 4. configure your PC to enable COM2 5. reboot your system. 6. Now try openwin again, you should not get the same error message. DATE APPROVED: 10/23/95