cg14config sets up state on the selected cgfourteen device. platform-name can be found using the -i option of uname(1).
cg14config is supported only on Desktop SPARCsystems with SX graphics option.
The interface, output, and command location are uncommitted and subject to change in future releases.
Use device as the cgfourteen device to configure. Default is /dev/fb.
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:
1024x768@60 1024x768@66 1024x768@70 1152x900@66 1152x900@76 1280x1024@66 1280x1024@76 1600x1280@66 1920x1080@72
The default is the value read from the monitor sense codes. Note that some or all of the resolutions above may not be supported by any given monitor. If a programmed resolution is outside of the range of allowable values for a monitor, unpredictable results can occur, including damage to the monitor. Thus, care should be taken when programming the resolution. See Openboot Command Reference for a description of how to reset the console device to the default value if it becomes unusable from programming an unsupported resolution.
The -r option is not available when the window system is running.
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.
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.
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.
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.
cg14config returns 0 on success and a positive integer on failure.
Selected device is not a cgfourteen device.
Requested action failed.
Gamma or degamma value out of range.
See attributes(5) for descriptions of the following attributes:
|ATTRIBUTE TYPE||ATTRIBUTE VALUE|
Platform Notes: SPARCstation 10SX System Configuration Guide
Openboot Command Reference