Sponsored Content
Full Discussion: change CRT resolution
Special Forums UNIX Desktop Questions & Answers change CRT resolution Post 29462 by RTM on Monday 7th of October 2002 10:10:59 AM
Old 10-07-2002
Found on Sunsolve (realize things like Stop-a may crash your server):


Here are the steps to set up several (TurboGX) tgx cards.

(This may make assumptions about the OpenBoot[TM] prom rev level
and the resolutions the frame buffer supports.)

1) The console monitor is set up using output-device

User can find which device is the console monitor with:

L1-A (Stop-a)
ok devalias screen

It should say something like /sbus@1,f8000000/cgsix@3,0 this is
the console screen. This string will differ on other types of
hardware. For instance, it may be /obio/cgfourteen@2,0 on a
sparc-20.


Next, look at all the frame buffers on the system:

ok show-devs
... /cgsix@0,0
... /cgsix@2,0
... /cgsix@3,0


It has already been seen which device was the console frame buffer.
The other two frame buffers are cgsix@2 and cgsix@3. This output
will widely vary depending on the system architecture.


Now, set up a shell script:


#!/bin/sh
eeprom output-device='screen:r1280x1024x76'
eeprom fcode-debug\?=true
eeprom nvramrc='probe-sbus
" /iommu/sbus/cgsix@2" select-d ev
r1280x1024x76
" /iommu/sbus/cgsix@2" " set-resolution" execute-device-method drop
device-end
" /iommu/sbus/cgsix@3" select-dev
r1280x1024x76
" /iommu/sbus/cgsix@3" " set-resolution" execute-device-method drop
device-end
install-console
banner
'
eepr om use-nvramrc\?=true


Pay attention to the spaces within the double-quotes.

The output-device line sets the resolution for the console, which
is the primary frame buffer.

The nvramrc line sets up code that executes each time the system
boots. This program sets up the resolution on the second and
third tgx devices.

The last line says to use the script in nvramrc when booting.

Notes:

To find built-in resolutions available for some of the newer frame
buffers (this doesn't work for all devices), type:

L1-A
ok show-devices
...
/sbus@1,f8000000/cgsix@3,0 <-- this is the frame buffer
...
ok cd /sbus/cgsix@3,0
ok words

The resolutions supported show up like r1280x1024x76 (or hdtv).

Other references:
Open Boot Command Reference

Writing Fcode Programs
 

9 More Discussions You Might Find Interesting

1. Solaris

How to change display resolution

Hi, I would like to know how to change the display resolution in solaris on sparc. Can anyone please help me. Regards, Raja (3 Replies)
Discussion started by: RajaRC
3 Replies

2. Solaris

How to change CDE screen resolution?

I searched and found something about kdmconfig, but it's not installed. Isn't there an easy way to change the screen resolution in the CDE by right clicking or anything like that (like in Linux's KDE)? (1 Reply)
Discussion started by: lyonsd
1 Replies

3. UNIX for Dummies Questions & Answers

How to change display resolution in UnixV4.0D

I would like to know how to change the display resolution in UnixV4.0D. Can anyone please help me. Regards, Avgust (1 Reply)
Discussion started by: avgust
1 Replies

4. UNIX for Dummies Questions & Answers

Cannot change my display to high resolution

Hi all, i am one of the newbies with linux. i just install the Enterprise AS on my ibm z60t. I am trying to change the color setting to hight resolution, unfortunately, it does not work. it works only with the 256 color setting. It seems the widescreen or the vga card of my notebook does not... (3 Replies)
Discussion started by: sanlen
3 Replies

5. UNIX for Dummies Questions & Answers

SuSE Linux 9.0 resolution change

Hello, We have a Suse Linux 9.0 box at work and I need to change the video resolution on it. We have command line interface only. Can someone please tell me how to go about doing so? Thanks, (0 Replies)
Discussion started by: mojoman
0 Replies

6. Debian

Change resolution problem

Hi gurus I have notebook with connected external monitor. output of my xrandr looks like Screen 0: minimum 320 x 200, current 2960 x 1050, maximum 2960 x 1050 VGA connected 1680x1050+1280+0 (normal left inverted right x axis y axis) 478mm x 300mm 1680x1050 60.0*+ 1280x1024 ... (2 Replies)
Discussion started by: wakatana
2 Replies

7. Linux

How to change screen Resolution?

Dear all I install Cent OS 5.5 ( Linux OS), with bshell and also Windows OS on the my laptop (ASUA) maximum screen resolution in Windows OS is 1024*760 but in Cent OS 5.5 is 800 *600, I have a program that is necessary to install on Cent OS and I have problem with other Linux distributions... (2 Replies)
Discussion started by: mkhorami76
2 Replies

8. AIX

Change AIX display resolution ?

Hello, Running X on AIX local display - want to change resolution. On Linux for example I used xrandr. ? thanks Vilius (1 Reply)
Discussion started by: vilius
1 Replies

9. UNIX for Beginners Questions & Answers

Resolution Won't Change on Headless Linux Box?

Hello All, Wasn't sure if I was supposed to post this under Hardware so posting here... Device: CuBox-i OS: OpenSuSE 13.1 Uname: Linux CuBox-PC 3.14.14-cubox-i #1 SMP Sat Sep 13 03:48:24 UTC 2014 armv7l armv7l armv7l GNU/Linux Window Manager: XFCE Display Manager: lightdm (*XDM?) I... (2 Replies)
Discussion started by: mrm5102
2 Replies
SBUS(4) 						   BSD Kernel Interfaces Manual 						   SBUS(4)

NAME
SBus -- introduction to machine-independent SBus bus support and drivers SYNOPSIS
sbus* at mainbus? sbus* at iommu? sbus* at xbox? These SBus attachments are specific to the NetBSD/sparc and NetBSD/sparc64 ports. DESCRIPTION
SBus is a I/O interconnect bus mostly found in SPARC workstations and small to medium server class systems. It supports both on-board peripherals and extension boards. The SBus specifications define the bus protocol as well as the electrical and mechanical properties of the extension slots. HARDWARE
NetBSD includes machine-independent SBus drivers, sorted by device type and driver name: SCSI interfaces esp NCR53c94 and compatible SCSI interfaces. isp Qlogic SCSI interfaces. Network interfaces le Lance 7990 series Ethernet interfaces. hme ``Happy Meal'' Ethernet interfaces. en Midway-based Efficient Networks Inc. and Adaptec ATM interfaces. be ``Big Mac'' Ethernet board. qe Quad Ethernet Controller board. Bridges xbox an Sbus expansion box. Graphics devices bwtwo framebuffer device. cgthree framebuffer device. cgsix framebuffer device. pnozz framebuffer device. tcx framebuffer device. zx framebuffer device. Audio devices audiocs CS4231 codec. Serial interfaces magma Magma Serial/Parallel combo device. Floppy interfaces fdc Floppy disk controller SEE ALSO
audiocs(4), be(4), bwtwo(4), cgsix(4), cgthree(4), en(4), esp(4), fdc(4), hme(4), intro(4), isp(4), le(4), magma(4), pnozz(4), qe(4), tcx(4), xbox(4), zx(4) HISTORY
The machine-independent SBus subsystem appeared in NetBSD 1.3. BSD
January 7, 2009 BSD
All times are GMT -4. The time now is 02:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy