Copyright (c) 2001,2002 Matthieu Herrb
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
shorthand for double quote that works everywhere.
"Section \*qDevice\*q" " Identifier \*q" devname \*q " Driver \*qscfb\*q" ... EndSection
A StaticGray monochrome visual is provided for depth 1, all visual types are supported for depth 8 and a TrueColor visual is supported for the other depths. Multi-head configurations are supported.
For this driver it is not required to specify modes in the Screen section of the configuration file. The scfb driver picks up the currently used video mode from the framebuffer driver and uses it. Video modes specifications in the configuration file are ignored.
The following driver options are supported in the Device section:
"Option \*qdevice\*q \*q" string \*q The wsdisplay framebuffer device to use. Default for OpenBSD: /dev/ttyC0. Default for NetBSD: /dev/ttyE0.
"Option \*qShadowFB\*q \*q" boolean \*q Enable or disable use of the shadow framebuffer layer. See shadowfb(__drivermansuffix__) for further information. Default: on for depths were it is supported, off otherwise.
ShadowFB is currently not supported on monochrome displays.
"Option \*qRotate\*q \*q" string \*q Enable rotation of the display. The supported values are "CW" (clockwise, 90 degrees), "UD" (upside down, 180 degrees) and "CCW" (counter clockwise, 270 degrees). Implies use of the shadow framebuffer layer. Default: off.