cg14config(1M)
NAME
cg14config − configure the cgfourteen device
SYNOPSIS
/usr/kvm/cg14config [ −d device ] [ −m mode ] [ −r resolution ] [ −g gammavalue ]
[ −G gammafile ] [ −u degammavalue ] [ −U degammafile ]
AVAILABILITY
SUNWkvm
DESCRIPTION
cg14config sets up state on the selected cgfourteen device.
The −r option is not available when the window system is running.
cg14config is supported only on SPARCstation 10SX machines.
The interface, output, and command location are uncommitted and subject to change in future releases.
OPTIONS
−d device Use device as the cgfourteen device to configure. Default is /dev/fb.
−r resolution
Use resolution as the desired screen resolution. Resolution is specified in terms of screen width and height (in pixels), and vertical refresh (in hz). Available resolutions are:
1152x900@66
1152x900@76
1024x800@84
1280x1024@66
1600x1280@66
1024x768@70
1024x768@66
1024x768@60
The default is the value read from the monitor sense codes.
−g gammavalue
Each entry of the gamma lookup table will be loaded with entry^(1/gammavalue). The gamma lookup table has 256 entries. Default gammavalue is 2.2.
−G filename Initialize the gamma lookup table with the contents of filename. The format of filename is 256 triplets (red green blue) of non-negative integers separated by NEWLINE characters. The integers must be in the range 0 to 1023, inclusive.
−u degammavalue
Each entry of the degamma lookup table will be loaded with entry^(degammavalue). The degamma lookup table has 256 entries. Default degammavalue is 2.2.
−U filename Initialize the degamma lookup table with the contents of filename. The format of filename is 256 entries of non-negative integers separated by NEWLINE characters. The integers must be in the range 0 to 255, inclusive.
EXIT CODES
cg14config returns 0 on success, and a positive integer on failure.
1 Selected device is not a cgfourteen device.
2 Requested action failed.
3 Unsupported resolution.
4 Gamma or degamma value out of range.
FILES
/kernel/drv/cgfourteen cgfourteen device driver
SEE ALSO
Platform Notes: SPARCstation 10SX System Configuration Guide
Sun Microsystems — Last change: 27 Apr 1993