[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-port-sparc
Subject: set resolution on secondary fb (cgsix)
From: Lubomir Sedlacik <salo () Xtrmntr ! org>
Date: 2002-07-11 14:07:58
[Download RAW message or body]
hi,
i have a SPARCstation 10 dual-booting Solaris and NetBSD from different
hard drives, equipped with AG-10E and TGX+ framebuffers.
i'd like to keep AG-10E as my primary head and set resolution on TGX+ to
1280x1024x76 to run XFree86 under NetBSD on it (1152x900x60 is really
killing my eyes).
since cgsix framebuffers can be configured only in OBP, i searched the
web for hints how to set resolution on secondary framebuffer and found
something in well known Framebuffer FAQ:. the example looks this way:
eeprom nvramrc='probe-all
install-console
banner
: vsetup " 135000000,81128,76,32,64,288,1280,2,8,32,1024,COLOR,0OFFSET" ;
vsetup 4
" /sbus/cgsix@2" " override" execute-device-method drop
'
Notes for TGX+ from the same document:
Note that the number 4 in vsetup 4 refers to the sense code of the
monitor. Here is the appropriate voodoo for several supported
resolutions. Note also that this will only work for the TGX or TGX+.
1280 x 1024 at 76 Hz 135000000,81128,76,32,64,288,1280,2,8,32,1024,COLOR,0OFFSET
FRAMEBUFFER DEFAULT RESOLUTIONS BY SENSE CODE
Code TGXplus(1) TGX(2) GXplus GX (LSC chip)
-------------------------------------------------------------------
4 1152x900x76 1152x900x76 1280x1024x67 1152x900x76
2 1280x1024x76 1152x900x66 mutant(3) mutant(3)
i changed it to something i hoped would fit my needs (my cgsix resides
in /iommu/sbus/cgsix@0):
eeprom nvramrc='probe-all
install-console
banner
: vsetup " 135000000,81128,76,32,64,288,1280,2,8,32,1024,COLOR,0OFFSET" ;
vsetup 2
" /iommu/sbus/cgsix@0" " override" execute-device-method drop
'
but without expected results. the card is still in 1152x900x60 mode.
if i change the output-device manually to screen:r1280x1024x76 and boot
NetBSD while screen is alias for cgsix, the card boots fine in
1280x1024x76 mode.
any hints how to set nvramrc properly to achieve $SUBJ are appreciated.
thanks,
--
-- Lubomir Sedlacik <salo@Xtrmntr.org> ASCII Ribbon campaign against /"\ --
-- <salo@silcnet.org> e-mail in gratuitous HTML and \ / --
-- Microsoft proprietary formats X --
-- PGPkey: http://Xtrmntr.org/salo.pgp / \ --
-- Key Fingerprint: 75B2 2B96 CD75 0385 1C49 39B8 8B08 C30E 54BC 7263 --
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic