NAME cg14config - configure the cgfourteen device SYNOPSIS /usr/platform/ platform-name /sbin/cg14config [ -d device ] [ -r resolution ] [ -g gammavalue ] [ -G gammafile ] [ -u degammavalue ] [ -U degammafile ] DESCRIPTION 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. OPTIONS -d device Use device as the cgfourteen device to configure. Default is /dev/fb. -r resolution Use resolution as the desired screen resolution. Reso- lution 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 descrip- tion of how to reset the console device to the default value if it becomes unusable from programming an unsupported reso- lution. The -r option is not available when the window system is running. -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 charac- ters. The integers must be in the range 0 to 255, inclusive. EXIT STATUS 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 /platform/platform-name/kernel/drv/cgfourteen cgfourteen device driver ATTRIBUTES See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Availability | SUNWkvm | |_____________________________|_____________________________| SEE ALSO uname(1), init(1M), mmap(2), attributes(5) Platform Notes: SPARCstation 10SX System Configuration Guide Openboot Command Reference
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |