A P P E N D I X  A

Setting the Default Console Display

These instructions describe how to set the Sun XVR-1200 graphics accelerator as the default monitor console display.



Note - Only the DVI-1 connector labeled "1" can be used as the console output.



1. At the ok prompt, type:

ok show-displays

Information similar to the text below is displayed:

a) /pci@1f,0/SUNW,m64B@13
b) /pci@8,700000/SUNW,XVR-1200@1
q) NO SELECTION 
Enter Selection, q to quit: b

2. Select the graphics board you want to be the default console display.

In the above example, we typed b for the Sun XVR-1200 graphics accelerator. Your selection is confirmed by the following output:

/pci@8,700000/SUNW,XVR-1200@1 has been selected.
Type ^Y ( Control-Y ) to insert it in the command line.
e.g. ok nvalias mydev ^Y
     for creating devalias mydev for /pci@8,700000/SUNW,XVR-1200@1

3. Create an alias name for the Sun XVR-1200 device:

This step is optional for all systems. Creating the alias, however, will simplify future OpenBoot PROM commands.

a. Use nvalias to name the Sun XVR-1200 graphics accelerator device.

This example uses mydev as the device.

ok nvalias mydev (Control-Y)

Complete the line entry by pressing Control-Y on your keyboard (that is, press and hold Control and press the Y key) and then Return. The output displays as:

ok nvalias mydev /pci@8,700000/SUNW,XVR-1200@10

b. Verify the alias.

ok devalias
mydev                    /pci@8,700000/SUNW,XVR-1200@1
screen                   /pci@8,700000/SUNW,XVR-1200@1
mouse                    /pci@9,700000/usb@1,3/mouse@2
keyboard                 /pci@9,700000/usb@1,3/keyboard@1
....

In the above output, both mydev and screen are mapped to /pci@8,700000/SUNW,XVR-1200@1 and are therefore interchangeable alias names.

In this procedure example, you can now refer to mydev as the Sun XVR-1200 graphics accelerator device, as shown in the next step.

4. Set the selected device to be the default console display.

For example,

ok setenv output-device mydev
output-device = mydev

Without Step 3 (creating an alias name), you will need to type the entire device name precisely. In this example, you would need to enter the following:

ok setenv output-device /pci@8,700000/SUNW,XVR-1200@1
output-device = /pci@8,700000/SUNW,XVR-1200@1

5. Reset the system using the new output-device as the console:

ok reset-all

6. Connect your monitor cable to the Sun XVR-1200 graphics accelerator on your system back panel.

7. To set a resolution (for example, 1280 × 1024 × 112), type:

ok setenv output-device mydev:r1280x1024x112
output-device=mydev:r1280x1024x112

Reset the system:

ok reset-all

You can get a list of available resolutions for your display device by typing the following:

ok cd /pci@8,700000/SUNW,XVR-1200@1
ok .screen-resolutions