JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
man pages section 1M: System Administration Commands     Oracle Solaris 10 1/13 Information Library
search filter icon
search icon

Document Information

Preface

Introduction

System Administration Commands - Part 1

System Administration Commands - Part 2

metahs(1M)

metaimport(1M)

metainit(1M)

metaoffline(1M)

metaonline(1M)

metaparam(1M)

metarecover(1M)

metarename(1M)

metareplace(1M)

metaroot(1M)

metaset(1M)

metassist(1M)

metastat(1M)

metasync(1M)

metattach(1M)

mib2c(1M)

mib2mof(1M)

mibiisa(1M)

mipagent(1M)

mipagentconfig(1M)

mipagentstat(1M)

mkbootmedia(1M)

mkdevalloc(1M)

mkdevmaps(1M)

mkfifo(1M)

mkfile(1M)

mkfs(1M)

mkfs_pcfs(1M)

mkfs_udfs(1M)

mkfs_ufs(1M)

mknod(1M)

mkpwdict(1M)

modinfo(1M)

modload(1M)

modunload(1M)

mofcomp(1M)

mofreg(1M)

monacct(1M)

monitor(1M)

mount(1M)

mountall(1M)

mount_cachefs(1M)

mountd(1M)

mount_hsfs(1M)

mount_nfs(1M)

mount_pcfs(1M)

mount_tmpfs(1M)

mount_udfs(1M)

mount_ufs(1M)

mount_xmemfs(1M)

mpathadm(1M)

mpstat(1M)

msgid(1M)

mvdir(1M)

named(1M)

named-checkconf(1M)

named-checkzone(1M)

named-compilezone(1M)

ncaconfd(1M)

ncheck(1M)

ncheck_ufs(1M)

ndd(1M)

netservices(1M)

netstat(1M)

netstrategy(1M)

newaliases(1M)

newfs(1M)

newkey(1M)

nfs4cbd(1M)

nfsd(1M)

nfslogd(1M)

nfsmapid(1M)

nfsstat(1M)

nisaddcred(1M)

nisaddent(1M)

nisauthconf(1M)

nisbackup(1M)

nis_cachemgr(1M)

nisclient(1M)

nisd(1M)

nisd_resolv(1M)

nisinit(1M)

nisldapmaptest(1M)

nislog(1M)

nispasswdd(1M)

nisping(1M)

nispopulate(1M)

nisprefadm(1M)

nisrestore(1M)

nisserver(1M)

nissetup(1M)

nisshowcache(1M)

nisstat(1M)

nisupdkeys(1M)

nlsadmin(1M)

nscd(1M)

nslookup(1M)

nsupdate(1M)

ntpdate(1M)

ntpq(1M)

ntptrace(1M)

nulladm(1M)

obpsym(1M)

ocfserv(1M)

oplhpd(1M)

parse_dynamic_clustertoc(1M)

passmgmt(1M)

patchadd(1M)

patchrm(1M)

pbind(1M)

pcitool(1M)

pcmciad(1M)

pfinstall(1M)

pginfo(1M)

pgstat(1M)

pgxconfig(1M)

picld(1M)

ping(1M)

pkg2du(1M)

pkgadd(1M)

pkgadm(1M)

pkgask(1M)

pkgchk(1M)

pkgcond(1M)

pkgdep(1M)

pkgrm(1M)

plockstat(1M)

pmadm(1M)

pmconfig(1M)

pntadm(1M)

pooladm(1M)

poolbind(1M)

poolcfg(1M)

poold(1M)

poolstat(1M)

ports(1M)

powerd(1M)

poweroff(1M)

ppdmgr(1M)

pppd(1M)

pppoec(1M)

pppoed(1M)

pppstats(1M)

pprosetup(1M)

pprosvc(1M)

praudit(1M)

prctmp(1M)

prdaily(1M)

printmgr(1M)

privatepw(1M)

prodreg(1M)

projadd(1M)

projdel(1M)

projmod(1M)

prstat(1M)

prtacct(1M)

prtconf(1M)

prtdiag(1M)

prtdscp(1M)

prtfru(1M)

prtpicl(1M)

prtvtoc(1M)

psradm(1M)

psrinfo(1M)

psrset(1M)

putdev(1M)

putdgrp(1M)

pwck(1M)

pwconv(1M)

quot(1M)

quota(1M)

quotacheck(1M)

quotaoff(1M)

quotaon(1M)

raidctl(1M)

ramdiskadm(1M)

rarpd(1M)

rcapadm(1M)

rcapd(1M)

rctladm(1M)

rdate(1M)

rdisc(1M)

reboot(1M)

regadm(1M)

reject(1M)

rem_drv(1M)

remove_allocatable(1M)

removef(1M)

repquota(1M)

re-preinstall(1M)

restricted_shell(1M)

rexd(1M)

rexecd(1M)

rlogind(1M)

rm_install_client(1M)

rmmount(1M)

rmt(1M)

rndc(1M)

rndc-confgen(1M)

roleadd(1M)

roledel(1M)

rolemod(1M)

root_archive(1M)

route(1M)

routeadm(1M)

routed(1M)

rpcbind(1M)

rpc.bootparamd(1M)

rpcinfo(1M)

rpc.mdcommd(1M)

rpc.metad(1M)

rpc.metamedd(1M)

rpc.metamhd(1M)

rpc.nisd(1M)

rpc.nisd_resolv(1M)

rpc.nispasswdd(1M)

rpc.rexd(1M)

rpc.rstatd(1M)

rpc.rusersd(1M)

rpc.rwalld(1M)

rpc.smserverd(1M)

rpc.sprayd(1M)

rpc.yppasswdd(1M)

rpc.ypupdated(1M)

rpld(1M)

rquotad(1M)

rsh(1M)

rshd(1M)

rstatd(1M)

rtc(1M)

rtquery(1M)

runacct(1M)

rusersd(1M)

rwall(1M)

rwalld(1M)

rwhod(1M)

sa1(1M)

sa2(1M)

sac(1M)

sacadm(1M)

sadc(1M)

saf(1M)

sar(1M)

savecore(1M)

scadm(1M)

sckmd(1M)

sconadm(1M)

sdpadm(1M)

sendmail(1M)

setuname(1M)

setup_install_server(1M)

sf880drd(1M)

sftp-server(1M)

share(1M)

shareall(1M)

share_nfs(1M)

showmount(1M)

showrev(1M)

shutacct(1M)

shutdown(1M)

slpd(1M)

smartcard(1M)

smattrpop(1M)

smbios(1M)

smc(1M)

smccompile(1M)

smcconf(1M)

smcregister(1M)

smcron(1M)

smcwebserver(1M)

smdiskless(1M)

smexec(1M)

smgroup(1M)

smlog(1M)

smmaillist(1M)

smmultiuser(1M)

smosservice(1M)

smpatch(1M)

smprofile(1M)

smreg(1M)

smrole(1M)

smrsh(1M)

smserialport(1M)

smtnrhdb(1M)

smtnrhtp(1M)

smtnzonecfg(1M)

smuser(1M)

snmpbulkget(1M)

snmpbulkwalk(1M)

snmpcmd(1M)

snmpconf(1M)

snmpd(1M)

snmpdelta(1M)

snmpdf(1M)

snmpdx(1M)

snmpget(1M)

snmpgetnext(1M)

snmpinform(1M)

snmpnetstat(1M)

snmpset(1M)

snmptable(1m)

snmptest(1M)

snmptranslate(1m)

snmptrap(1M)

snmptrapd(1M)

snmpusm(1M)

snmpvacm(1M)

snmpwalk(1M)

snmpXdmid(1M)

snmpXwbemd(1M)

snoop(1M)

soconfig(1M)

soladdapp(1M)

soldelapp(1M)

solstice(1M)

sppptun(1M)

spray(1M)

sprayd(1M)

sshd(1M)

ssh-keysign(1M)

startup(1M)

statd(1M)

stclient(1M)

stmsboot(1M)

strace(1M)

strclean(1M)

strerr(1M)

sttydefs(1M)

su(1M)

sulogin(1M)

suninstall(1M)

SUNWafb_config(1M)

SUNWffb_config(1M)

SUNWgfb_config(1M)

SUNWifb_config(1M)

SUNWjfb_config(1M)

SUNWkfb_config(1M)

SUNWm64_config(1M)

SUNWnfb_config(1M)

SUNWpfb_config(1M)

SUNWzulu_config(1M)

svcadm(1M)

svccfg(1M)

svc.configd(1M)

svc.startd(1M)

swap(1M)

sync(1M)

syncinit(1M)

syncloop(1M)

syncstat(1M)

sysdef(1M)

syseventadm(1M)

syseventconfd(1M)

syseventd(1M)

sysidconfig(1M)

sysidkbd(1M)

sysidnet(1M)

sysidnfs4(1M)

sysidns(1M)

sysidpm(1M)

sysidroot(1M)

sysidsys(1M)

sysidtool(1M)

syslogd(1M)

sys-unconfig(1M)

talkd(1M)

tapes(1M)

taskstat(1M)

telinit(1M)

telnetd(1M)

tftpd(1M)

System Administration Commands - Part 3

SUNWnfb_config

- fbconfig module for configuring XVR-300 Graphics Accelerator

Synopsis

fbconfig [-dev device-filename] 
     [-res video-mode [now | try] [noconfirm | nocheck]] 
     [-file machine | system] [-fake8 enable | disable] 
     [-doublewide enable | disable] 
     [-doublehigh enable | disable] 
     [-clone enable | disable] [-outputs swapped | direct] 
     [-depth 8 | 24] [-offset xval yval] [-defaults]
fbconfig [-propt] [-prconf]
fbconfig [-help] [-res ?]

Description

SUNWnfb_config is the XVR-300 device dependent layer for fbconfig. It configures the XVR-300 Graphics Accelerator and some of the X11 window system defaults for XVR-300. The XVR-300 provides the capability to drive two monitors, each with a unique video stream (Stream #1 and Stream #2).

The first form of SUNWnfb_config shown in the SYNOPSIS section sets options for the XVR-300. This form stores the specified options in the OWconfig file. These options will be used to initialize the XVR-300 device the next time the window system is run on that device. Updating options in the OWconfig file provides persistence of these options across window system sessions and system reboots. For -res now, the XVR-300 device will be immediately programmed.

The second form, which invokes the -prconf and -propt options, queries the XVR-300 for status.

The third form, which invokes the -help and -res ? options, provides instruction on using SUNWnfb_config. Additionally, for the third form all other options are ignored.

Options may be specified for only one XVR-300 device at a time. Specifying options for multiple XVR-300 devices requires multiple invocations of SUNWnfb_config.

Only XVR-300-specific options can be specified through SUNWnfb_config. The normal window system options for specifying default depth, default visual class and so forth can still be specified as device modifiers on the command line when the X Server is started. See the dtlogin(1) reference to Xservers File.

The user can also specify the OWconfig file that is to be updated. By default, the machine-specific file in the /etc/openwin directory tree is updated. The -file option can be used to specify an alternate file to use. For example, the system-global OWconfig file in the /usr/openwin directory tree can be updated instead.

Options

-dev device-filename

Specifies the XVR-300 special file. The default is /dev/fb.

-file machine | system

Specifies which OWconfig file to update. If machine, the machine-specific OWconfig file in the /etc/openwin directory tree is used. If system, the global OWconfig file in the /usr/openwin directory tree is used. If the file does not exist, it is created.

-res video-mode [now | try] [noconfirm | nocheck ]

Specifies the video mode used to drive the monitor connected to the specified XVR-300 device. Video modes are built-in.

video-mode

Specifies resolution and timing information for the display (for example, 1280x1024x76). The format of the video-mode specifier is: widthxheightxrate. width is the screen width in pixels, height is the screen height in pixels, and rate is the vertical frequency of the screen refresh. As a convenience, -res also accepts formats with @ preceding the refresh rate instead of x. For example, 1280x1024@76.

Symbolic names. For convenience, some video modes have symbolic names defined for them. Instead of the form widthxheightxrate, one of these names may be supplied as the argument to -res. The meaning of the symbolic name none is that when the window system is run, the screen resolution will be the video mode that is currently programmed in the device.

Some video-modes supported by XVR-300 may not be supported by the monitor. The list of video-modes supported by the XVR-300 device and the monitor can be obtained by running SUNWnfb_config with the -res ? option (the third form shown in the command SYNOPSIS section).

-res option arguments. The -res option also accepts additional, optional arguments immediately following the video mode specification. Any or all of these may be present.

now

If present, not only will the video mode be updated in the OWconfig file, but the XVR-300 device will be immediately programmed to display this video mode. (This is useful for changing the video mode before starting the window system).

It is inadvisable to use this suboption with SUNWnfb_config while the configured device is being used (for example, while running the window system) because unpredictable results may occur. To run SUNWnfb_config with the now suboption, first bring the window system down. If the now suboption is used within a window system session, the video mode will be changed immediately, but the width and height of the affected screen won't change until the window system is exited and reentered again. Consequently, this usage is discouraged.

noconfirm

Using the -res option, the user could put the system into an unusable state, which has no video output. To reduce the chance of this, the default behavior of SUNWnfb_config is to print a warning message and to ask the user whether to continue. The noconfirm suboption bypasses this confirmation. This suboption is useful when SUNWnfb_config is being run from a shell script.

nocheck

If present, the normal error checking based on the monitor sense code will be suspended. The video mode specified by the user will be accepted regardless of whether it is appropriate for the currently attached monitor. This suboption is useful if a different monitor is to be connected to the XVR-300 device. Use of this suboption implies noconfirm as well.

try

If present, the specified video mode will be programmed on a trial basis. The user will be asked to confirm the video mode by typing 'y' within 10 seconds. Or the user may terminate the trial before 10 seconds are up by typing any character. Any character other than 'y' or carriage return is considered a no and the previous video mode will be restored and SUNWnfb_config will not change the video mode in the OWconfig file (other options specified will still take effect). If a carriage return is typed, the user is prompted for a yes or no answer on whether to keep the new video mode. This option implies the now suboption (see the warning note on the now suboption).

-doublewide enable | disable

This option allows you to configure the two outputs of the Sun XVR-300 into one horizontal virtual display. Both video outputs will be set to the same resolution. Default is disable.

-doublehigh enable | disable

This option allows you to configure the two outputs of the Sun XVR-300 into one vertical virtual display. Both video outputs will be set to the same resolution. Default is disable.

-clone enable | disable

If this option is set to enable, the two outputs will display identically. Default is disable.

-outputs swapped | direct

If either doublewide or doublehigh is enabled, this option allows you to reverse the positions of the two outputs relative to each other. Default is direct.

-fake8 enable | disable

If enabled, simple 8 bit X windows will be rendered without a hardware colormap to reduce colormap flashing. Some performance reductions may be observed. Default is disable.

-depth 8 | 24

Sets the default depth for the window system to start with. Possible values are 8 or 24. Log out of the current window system session and log back in for the change to take effect. Any defdepth setting in the Xserver command line takes precedence over what is set using fbconfig. Default is 24. This option is only supported on Solaris 9. For Solaris 10 and above, use /usr/sbin/svccfg to configure depth.

-offset xval yval

Adjusts the position of the specified stream by the value specified. Currently only implemented in -doublewide and -doublehigh modes. For -doublewide, the xval is used to position the rightmost stream. Negative is left (overlaps with the left stream). For -doublehigh, the yval is used to position the bottom stream. Negative is up (overlaps with top stream). Positive values are treated as 0. Default is [0, 0]

-defaults

Resets all option values to their default values.

-propt

Prints the current values of all XVR-300 options in the OWconfig file specified by the -file option for the device specified by the -dev option. Prints the values of options as they will be in the OWconfig file after the call to SUNWnfb_config completes. This is a typical display:

--- Graphics Configuration for /dev/fbs/nfb0 ---

OWconfig: machine
Video Mode: NONE

Screen Information:
        Doublewide: Disable
        Doublehigh: Disable
        Clone: Disable
        Offset/Overlap: [0, 0]
        Output Configuration: Direct
        Fake8 Rendering: Disable
-prconf

Prints the XVR-300 hardware configuration. This is a typical display:

--- Hardware Configuration for /dev/fbs/nfb0 ---

Type: XVR-300
ASIC: version 0x5b64  REV : version 0x3800080
PROM: version 1.6

Monitor/Resolution Information:
Monitor 1:
       Monitor Manufacturer: SUN
       Product code: 1383
       Serial #: 18499659
       Manufacture date: 1999, week 36
       Monitor dimensions: 39x29 cm
       Monitor preferred resolution: SUNW_STD_1280x1024x76
       Separate sync supported: yes
       Composite sync supported: yes
       EDID:  Version 1, Revision 1
       Monitor Supported resolutions from EDID: SUNW_STD_1280x1024x76,
        SUNW_STD_1152x900x76, 1600x1200x75, SUNW_STD_1280x1024x76,
        SUNW_STD_1152x900x76, VESA_STD_1280x1024x75,
        SUNW_STD_1280x1024x67, SUNW_STD_1152x900x66,
        VESA_STD_1024x768x75, SUNW_STD_1600x1200x75, 960x720x112,
        VESA_STD_720x400x70, VESA_STD_720x400x88, VESA_STD_640x480x60,
        VESA_STD_640x480x67, VESA_STD_640x480x72, VESA_STD_640x480x75,
        VESA_STD_800x600x56, VESA_STD_800x600x60, VESA_STD_800x600x72,
        VESA_STD_800x600x75, VESA_STD_832x624x75, VESA_STD_1024x768x60,
        VESA_STD_1024x768x70, VESA_STD_1024x768x75,
        VESA_STD_1280x1024x75, APPLE_1152x870x75
       Current resolution setting: 1280x1024x76
Monitor 2:
       Monitor Manufacturer: SUN
       Product code: 1352
       Serial #: 7225675
       Manufacture date: 1997, week 51
       Monitor dimensions: 48x31 cm
       Monitor preferred resolution: 1920x1200x70
       Separate sync supported: yes
       Composite sync supported: yes
       EDID:  Version 1, Revision 1
       Monitor Supported resolutions from EDID: 1920x1200x70,
      SUNW_STD_1600x1000x76, SUNW_STD_1600x1000x66,
        SUNW_STD_1440x900x76, 1920x1080x70,
        1600x900x76, 1600x900x66, 1440x810x76, 1280x720x76,
        1920x1080x72, VESA_STD_720x400x70, VESA_STD_720x400x88,
        VESA_STD_640x480x60, VESA_STD_640x480x67, VESA_STD_640x480x72,
        VESA_STD_640x480x75, VESA_STD_800x600x56, VESA_STD_800x600x60,
        VESA_STD_800x600x72, VESA_STD_800x600x75, VESA_STD_832x624x75,
        VESA_STD_1024x768x60, VESA_STD_1024x768x70,
        VESA_STD_1024x768x75, VESA_STD_1280x1024x75, APPLE_1152x870x75
       Current resolution setting: 1152x900x66
-help

Prints a list of the SUNWnfb_config command line options, along with a brief explanation of each.

-res ?

Prints list of defined video-mode names.

DEFAULTS

For a given invocation of a SUNWnfb_config command line if an option does not appear on the command line, the corresponding OWconfig option is not updated and retains its previous value.

When the window system is run, if an XVR-300 option has never been specified via SUNWnfb_config, a default value is used. The option defaults are as follows:

Option
Default
–dev
/dev/fb
–file
machine
–res
none
–fake8
disable
–doublewide
disable
–doublehigh
disable
–clone
disable
–outputs
direct
–offset
[0,0]

The default for the -res option of none means that when the window system is run, the screen resolution will be the video mode that is currently programmed in the XVR-300 PROM.

This provides compatibility for users who are used to specifying the device resolution through the XVR-300 PROM. On some devices (for example, GX) this is the only way of specifying the video mode. This means that the PROM ultimately determines the default XVR-300 video mode.

Examples

Example 1 Switching the monitor type

The following example switches the monitor type to the resolution of 1280 × 1024 at 76 Hz:

example% fbconfig -res 1280x1024x76

Files

/dev/fbs/nfbn

Device special file for XVR-300 single screen

/dev/fbs/nfbna

Device special file for the XVR-300 first video out

/dev/fbs/nfbnb

Device special file for the XVR-300 second video out

/usr/lib/fbconfig/SUNWnfb_config

Device dependent configuration module

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
SUNWnfbcf
Interface Stability
Evolving

See Also

fbconfig(1M), attributes(5), nfb(7D)

See the dtlogin(1) man page in the CDE man page collection. Also useful is the XSun(1) man page in the OpenWindows man page collection.