MirBSD manpage: getconfig(1)


getconfig(1)        UNIX Programmer's Manual         getconfig(1)

NAME

     getconfig - get configuration information for the XFree86
     server

SYNOPSIS

     getconfig [option ...]

DESCRIPTION

     getconfig is a programmatic interface that is used by the
     XFree86 server to get configuration information about video
     hardware when operating without an XF86Config file.

     This implementation of getconfig is written in perl.  It
     processes a prioritized and ordered list of rules supplied
     internally and from meta-configuration files.  The rules are
     in the form of perl expressions. getconfig writes to stan-
     dard output the XF86Config-style configuration data speci-
     fied by the last highest priority rule that evaluates to
     true. Information about the format of the meta-configuration
     files can be found in the getconfig(5) manual page.

OPTIONS

     -I search-path
             Specify the search path to use for meta-config
             files. search-path is a comma-separated list of
             directories to search.  Each directory in the search
             path is searched for files with a .cfg suffix.  Each
             such file is opened and checked for a valid signa-
             ture string.  Rules are read from files with a valid
             signature string and appended to the list of rules
             to evaluate.  If no search path is specified, only
             the internally supplied configuration rules will be
             used.

     -D      Enable debugging output.

     -V      Print out the version information and exit.

     -X XFree86-version
             Specify the XFree86 version in numeric (integer)
             form.

     -b subsys-id
             Specify the PCI subsystem ID of the video device.

     -c class
             Specify the PCI class of the video device.

     -d device-id
             Specify the PCI device ID of the video device.

     -r revision

XFree86                   Version 4.5.0                         1

getconfig(1)        UNIX Programmer's Manual         getconfig(1)

             Specify the PCI revision of the video device.

     -s subsysvendor-id
             Specify the PCI subsystem vendor ID of the video
             device.

     -v vendor-id
             Specify the PCI vendor ID of the video device.

     -S sbus-path
             Specify the SBUS path of the video device.

FILES

     .cfg files located in the search path.  The search path typ-
     ically specified by the XFree86 server is:

         /etc/X11
         /usr/X11R6/etc/X11
         <modulepath>
         /usr/X11R6/lib/X11/getconfig

     where <modulepath> is the XFree86 server's module search
     path.

SEE ALSO

     getconfig(5), XFree86(1), XF86Config(5).

AUTHORS

     The XFree86 automatic configuration support and the getcon-
     fig interface was written by David H. Dawes, with the sup-
     port of X-Oz Technologies.

XFree86                   Version 4.5.0                         2

Generated on 2021-12-07 11:07:08 by $MirOS: src/scripts/roff2htm,v 1.103 2021/01/23 20:24:35 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2021 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.