3 .\" Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer as
11 .\" the first lines of this file unmodified.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in the
14 .\" documentation and/or other materials provided with the distribution.
16 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35 generic video card interface
38 .Cd "options VESA_DEBUG=N"
39 .Cd "options VGA_ALT_SEQACCESS"
40 .Cd "options VGA_NO_FONT_LOADING"
41 .Cd "options VGA_NO_MODE_CHANGE"
42 .Cd "options VGA_SLOW_IOACCESS"
43 .Cd "options VGA_WIDTH90"
44 .Cd "device vga0 at isa? port ? conflicts"
48 driver is a generic video card driver which provides access to
49 video cards. This driver is required for the console driver
51 The console driver will call the
53 driver to manipulate video hardware (changing video modes, loading font, etc).
57 is required, as the video card may use I/O ports in the same range
62 driver supports the standard video cards: MDA, CGA, EGA and VGA. In
63 addition, the driver can utilize VESA BIOS extensions if the video card
64 supports them. VESA support can either be statically included in the kernel
65 or can be loaded as a separate module.
67 In order to statically link the VESA support to the kernel, the
69 option (see below) must be defined in the kernel configuration file.
73 module can be dynamically loaded into the kernel using
75 .Sh DRIVER CONFIGURATION
76 .Ss Kernel Configuration Options
77 The following kernel configuration options
79 can be used to control the
82 These options provide compatibility with certain VGA cards.
84 .It Em VGA_ALT_SEQACCESS
85 You may want to try this option if the mouse pointer is not drawn correctly
86 or the font does not seem to be loaded properly on the VGA card.
87 However, it may cause flicker on some systems.
88 .It Em VGA_SLOW_IOACCESS
89 Older VGA cards may require this option for proper operation.
90 It makes the driver perform byte-wide I/O to VGA registers and
93 This option enables 90 column modes: 90x25, 90x30, 90x43, 90x50, 90x60.
94 These modes are not always supported by the video card and the display.
95 It is highly likely that LCD display cannot work with these modes.
98 The following options add optional features to the driver.
101 Add VESA BIOS support to the driver.
102 If the VGA card has the VESA BIOS extension 1.2 or later,
103 this option will utilize the VESA BIOS service to switch to high
106 Set the VESA support debug level to
108 The default value is zero, which suppresses all debugging output.
111 The following options will remove some features from the
113 driver and save kernel memory.
114 .Bl -tag -width MOUSE
115 .It Em VGA_NO_FONT_LOADING
118 driver can load software font to EGA and VGA cards.
119 This option removes this feature.
120 .It Em VGA_NO_MODE_CHANGE
121 This option prevents the driver from changing video modes.
125 Your kernel configuration should normally have:
127 .Dl "device vga0 at isa? port ? conflicts"
129 The following lines should be included in the kernel configuration file
130 in order to enable the VESA BIOS Extension support.
133 .Dl "device vga0 at isa? port ? conflicts"
135 If you do not want VESA support included in the kernel, but
136 want to use occasionally, do not add the
154 .%T "VESA BIOS Extension (VBE)"
155 .%A Video Electronics Standards Association
160 driver first appeared in
165 driver was written by
166 .An Søren Schmidt Aq sos@FreeBSD.org
168 .An Kazutaka Yokota Aq yokota@FreeBSD.org .
169 This manual page was written by
170 .An Kazutaka Yokota .