nrelease - fix/improve livecd
[dragonfly.git] / share / man / man4 / vga.4
1 .\"
2 .\" Copyright (c) 1999
3 .\" Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
4 .\" All rights reserved.
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
8 .\" are met:
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.
15 .\"
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.
26 .\"
27 .\" $FreeBSD: src/share/man/man4/vga.4,v 1.7.2.10 2002/12/20 18:03:05 trhodes Exp $
28 .\"
29 .Dd March 3, 2020
30 .Dt VGA 4
31 .Os
32 .Sh NAME
33 .Nm vga
34 .Nd generic video card interface
35 .Sh SYNOPSIS
36 .Cd "device vga0 at isa? port ?"
37 .Pp
38 .Cd "options VGA_KEEP_POWERON_MODE"
39 .Cd "options VGA_NO_FONT_LOADING"
40 .Cd "options VGA_NO_MODE_CHANGE"
41 .Cd "options VGA_DEBUG=N"
42 .Cd "options VGA_WIDTH90"
43 .Sh DESCRIPTION
44 The
45 .Nm
46 driver is a generic video card driver which provides access to
47 video cards.
48 This driver is required for the
49 .Xr syscons 4
50 console driver which will call the
51 .Nm
52 driver to manipulate video hardware (changing video modes, loading fonts, etc).
53 .Pp
54 The
55 .Nm
56 driver supports the standard VGA video cards.
57 .Sh DRIVER CONFIGURATION
58 The following kernel configuration options can be used to control the
59 .Nm
60 driver.
61 These options provide compatibility with certain VGA cards.
62 .Bl -tag -width ".Dv VGA_KEEP_POWERON_MODE"
63 .It Dv VGA_DEBUG=N
64 Set the VGA support debug level to
65 .Fa N .
66 The default value is 0, which suppresses all debugging output.
67 A value of 2 gives maximum verbosity.
68 .It Dv VGA_KEEP_POWERON_MODE
69 This option keeps the initial mode's register settings for switching back
70 to it from another mode.
71 .It Dv VGA_WIDTH90
72 This option enables 90 column modes: 90x25, 90x30, 90x43, 90x50, 90x60.
73 These modes are not always supported by the video card and the display.
74 It is highly likely that LCD display cannot work with these modes.
75 .El
76 .Pp
77 The following option will remove some features from the
78 .Nm
79 driver and save kernel memory.
80 .Bl -tag -width ".Dv VGA_KEEP_POWERON_MODE"
81 .It Dv VGA_NO_FONT_LOADING
82 This option removes font loading from the driver.
83 Note that if you use this option and
84 still wish to use the mouse on the console then you must also use the
85 .Dv SC_ALT_MOUSE_IMAGE
86 option.
87 See
88 .Xr syscons 4 .
89 .It Dv VGA_NO_MODE_CHANGE
90 This option prevents the driver from changing video modes.
91 .El
92 .Sh SEE ALSO
93 .Xr vgl 3 ,
94 .Xr syscons 4
95 .Sh STANDARDS
96 .Rs
97 .%A "Apple, IBM, Motorola"
98 .%T "Common Hardware Reference Platform: I/O Device Reference"
99 .%B "Appendix A: VGA Programming Model"
100 .%P "p. 195"
101 .%U "ftp://ftp.software.ibm.com/rs6000/technology/spec/chrp/"
102 .Re
103 .Sh HISTORY
104 The
105 .Nm
106 driver first appeared in
107 .Fx 3.1 .
108 .Sh AUTHORS
109 .An -nosplit
110 The
111 .Nm
112 driver was written by
113 .An S\(/oren Schmidt Aq Mt sos@FreeBSD.org
114 and
115 .An Kazutaka Yokota Aq Mt yokota@FreeBSD.org .
116 This manual page was written by
117 .An Kazutaka Yokota .