VGA(4) | Device Drivers Manual | VGA(4) |
vga
— generic
video card interface
options VESA
options VESA_DEBUG=N
options VGA_ALT_SEQACCESS
options VGA_NO_FONT_LOADING
options VGA_NO_MODE_CHANGE
options VGA_SLOW_IOACCESS
options VGA_WIDTH90
device vga
In /boot/device.hints:
hint.vga.0.at="isa"
The vga
driver is a generic video card
driver which provides access to video cards. This driver is required for the
console driver syscons(4). The console driver will call
the vga
driver to manipulate video hardware
(changing video modes, loading font, etc).
The vga
driver supports the standard video
cards: MDA, CGA, EGA and VGA. In addition, the driver can utilize VESA BIOS
extensions if the video card supports them. VESA support can either be
statically included in the kernel or can be loaded as a separate module.
In order to statically link the VESA support to the kernel, the
VESA
option (see below) must be defined in the
kernel configuration file.
The vesa
module can be dynamically loaded
into the kernel using kldload(8).
The following kernel configuration options (see
config(8)) can be used to control the
vga
driver. These options provide compatibility with
certain VGA cards.
VGA_ALT_SEQACCESS
VGA_SLOW_IOACCESS
VGA_WIDTH90
The following options add optional features to the driver.
VESA
VESA_DEBUG=N
The following options will remove some features from the
vga
driver and save kernel memory.
VGA_NO_FONT_LOADING
vga
driver can load software font to EGA and
VGA cards. This option removes this feature. Note that if you use this
option and still wish to use the mouse on the console then you must also
use the SC_ALT_MOUSE_IMAGE
option. See
syscons(4).VGA_NO_MODE_CHANGE
Your kernel configuration should normally have:
device vga
And you need the following line in /boot/device.hints.
hint.vga.0.at="isa"
The following lines should be included in the kernel configuration file in order to enable the VESA BIOS Extension support.
options VESA
device vga
If you do not want VESA support included in the kernel, but want
to use occasionally, do not add the VESA
option. And
load the vesa
module as desired:
kldload vesa
Video Electronics Standards Association, VESA BIOS Extension (VBE).
The vga
driver first appeared in
FreeBSD 3.1.
The vga
driver was written by
Søren Schmidt
<sos@FreeBSD.org> and
Kazutaka Yokota
<yokota@FreeBSD.org>.
This manual page was written by Kazutaka Yokota.
June 30, 1999 | Debian |