|
| 以 PDF 格式下載這本書
NAME
- cg14config - configure the cgfourteen device
SYNOPSIS
-
/usr/kvm/cg14config [ -d device ] [ -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 Desktop SPARCsystems with SX graphics option.
- 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:
- 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 unuseable from programming an unsupported resolution.
-
-
-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
-
init(1M), mmap(2)
-
-
Platform Notes: SPARCstation 10SX System Configuration Guide
Openboot Command Reference
|
|