from sunsolve.sun.com
Document ID: ID14297
Synopsis: Setting resolution of second TGX video card
--------------------------------------------------------------------------------
Document Body
Setting the resolution of a second monitor using a TGXplus frame buffer:
To set the resolution of the second head using a TGXplus frame buffer you
can use a UNIX script.
Here is an example that will set the resolution to r1280x1024x76 :
#! /bin/sh
eeprom fcode-debug\?=true
eeprom nvramrc='probe-all
: vsetup " 135000000,81128,76,32,64,288,1280,2,8,32,1024,COLOR,0OFFSET" 4 ;
vsetup
" /sbus/cgsix@1" " override" execute-device-method drop
install-console
banner
'
eeprom use-nvramrc\?=true
Note: the line that includes " /sbus/cgsix@1" indicates that the card is
in sbus slot 1 if the card is in another slot change the number to match
the card's location.
For example if the card was in sbus slot 3 the line would be:
" /sbus/cgsix@3" " override" execute-device-method drop
This procedure is covered in the "TurboGXplus Installation Guide" Appendix B;
however, the procedure that is given in the manual has a few typos, so use
the previous example instead.
To set the resolution to different resolution settings, use these values
in the vsetup line instead of the one shown:
These are the supported modes for the TurboGXplus frame buffer:
resolution: code:
=========== =====
r1024x768x60 " 64125000,48286,60,16,128,160,1024,2,6,29,768,COLOR"
r1024x768x70 " 74250000,56593,70,16,136,136,1024,2,6,32,768,COLOR"
r1024x768x77 " 84375000,62040,77,32,128,176,1024,2,4,31,768,COLOR"
r1152x900x66 " 94500000,61845,66,40,128,208,1152,2,4,31,900,COLOR"
r1152x900x76 " 108000000,71808,76,32,128,192,1152,2,4,31,900,COLOR,0OFFSET"
r1280x1024x67 " 117000000,71691,67,16,112,224,1280,2,8,33,1024,COLOR,0OFFSET"
r1280x1024x76 " 135000000,81128,76,32,64,288,1280,2,8,32,1024,COLOR,0OFFSET"
r1600x1280x76 " 216000000,101890,76,24,216,280,1600,2,8,50,1280,COLOR,0OFFSET"
Regards
-- Franz
Sorry I'm not a native spaeker, I'm from Munich, Germany - "Home of the Whopper", oh no, "Home of the Oktoberfest" ;-)