open-src/data/smf-rbac/ogl-select.man
changeset 970 272328fe1b4a
parent 969 f3e9f1ddd6a8
child 971 8459d3101073
equal deleted inserted replaced
969:f3e9f1ddd6a8 970:272328fe1b4a
     1 .\" Copyright (c) 2006, 2009, Oracle and/or its affiliates. All rights reserved.
       
     2 .\"
       
     3 .\" Permission is hereby granted, free of charge, to any person obtaining a
       
     4 .\" copy of this software and associated documentation files (the "Software"),
       
     5 .\" to deal in the Software without restriction, including without limitation
       
     6 .\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
       
     7 .\" and/or sell copies of the Software, and to permit persons to whom the
       
     8 .\" Software is furnished to do so, subject to the following conditions:
       
     9 .\"
       
    10 .\" The above copyright notice and this permission notice (including the next
       
    11 .\" paragraph) shall be included in all copies or substantial portions of the
       
    12 .\" Software.
       
    13 .\"
       
    14 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
       
    15 .\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
       
    16 .\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
       
    17 .\" THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
       
    18 .\" LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
       
    19 .\" FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
       
    20 .\" DEALINGS IN THE SOFTWARE.
       
    21 .\" 
       
    22 .ds q \N'34'
       
    23 .TH ogl-select 1 "25 Nov 2009"
       
    24 .SH NAME
       
    25 ogl-select \- boot time selection of OpenGL vendor files 
       
    26 .PP
       
    27 .SH DESCRIPTION
       
    28 .I ogl-select
       
    29 is a service for the Service Management Facility (SMF) under
       
    30 the identifier \fIsvc:/application/opengl/ogl-select\fP
       
    31 that determines at boot time which vendor supplied OpenGL headers
       
    32 and libraries will be used.  The selection of the OpenGL vendor
       
    33 should be automatic and in most cases will not require any
       
    34 configuration.  However, for system configurations with special
       
    35 needs a property can be used to select the vendor.  The property
       
    36 is described in the SMF PROPERTIES section below. 
       
    37 .PP
       
    38 The SMF method performs the automatic probe by querying the
       
    39 device driver attached to the primary framebuffer device, /dev/fb.
       
    40 If the name reported by the driver matches the value advertised
       
    41 by a vendor registry, the rules in the vendor registry will be
       
    42 used to select the OpenGL headers and libraries.  The name reported
       
    43 by the driver can be verfied with \fIconstype\fP(1).  If the system
       
    44 configuration does not match the desired OpenGL vendor, a SMF
       
    45 property can be used to force the vendor selection.
       
    46 .SH SMF PROPERTIES
       
    47 .PP
       
    48 Configuration properties for \fBogl-select\fP program are
       
    49 managed by the service management facility, \fBsmf\fR(5), under the service 
       
    50 identifier:
       
    51 .PP
       
    52 .nf
       
    53 svc:/application/opengl/ogl-select
       
    54 .fi
       
    55 Use \fBsvccfg\fR(1M) to make configuration changes and to view configuration 
       
    56 information for this service\&. 
       
    57 .PP
       
    58 These properties may be set for ogl-select:
       
    59 .TP
       
    60 .B options/vendor 
       
    61 (Type astring) The vendor tag to use for selecting the OpenGL headers
       
    62 and libraries, overriding the results of the automatic probe.  Available
       
    63 vendors can be found with 'ls /lib/opengl/ogl_select/*_vendor_select'.
       
    64 If the property is set to an unknown vendor tag, the method will default
       
    65 to "mesa".  Setting the property to "" or "notset" causes it to be ignored
       
    66 and the results of the automatic probe are used instead.  The default
       
    67 value is "notset". 
       
    68 .TP
       
    69 .SH FILES
       
    70 .TP 30
       
    71 .I /var/svc/manifest/opengl/ogl-select.xml
       
    72 The SMF manifest
       
    73 .TP 30
       
    74 .I /lib/svc/method/ogl-select
       
    75 The SMF method run by the manifest
       
    76 .TP 30
       
    77 .I /lib/opengl/ogl_select/\fB*\fP_vendor_select
       
    78 Vendor registry files scanned by the manifest
       
    79 .PP
       
    80 .SH SEE ALSO
       
    81 .PP
       
    82 \fIsmf\fP(5), \fIsvcadm\fP(1M), \fIsvccfg\fP(1M)
       
    83 .SH ATTRIBUTES
       
    84 See
       
    85 .BR attributes (5)
       
    86 for descriptions of the following attributes:
       
    87 .sp
       
    88 .TS
       
    89 box;
       
    90 cbp-1 | cbp-1
       
    91 l | l .
       
    92 ATTRIBUTE TYPE	ATTRIBUTE VALUE
       
    93 =
       
    94 Availability	SUNWxwplr
       
    95 Interface Stability	Uncommitted
       
    96 .TE 
       
    97