diff options
author | delphij <delphij@FreeBSD.org> | 2005-05-29 08:43:44 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2005-05-29 08:43:44 +0000 |
commit | d85e2a245dcc8641613836c5e18ff42c27142b88 (patch) | |
tree | aab9212340bf7a27e76d41fc69335774ce01644e /usr.sbin/vidcontrol/vidcontrol.1 | |
parent | 0f324ed5e81e771192910f591b74e28af9e1141a (diff) | |
download | FreeBSD-src-d85e2a245dcc8641613836c5e18ff42c27142b88.zip FreeBSD-src-d85e2a245dcc8641613836c5e18ff42c27142b88.tar.gz |
Add VESA mode support for syscons, which enables the support of 15, 16,
24, and 32 bit modes. To use that, syscons(4) must be built with
the compile time option 'options SC_PIXEL_MODE', and VESA support (a.k.a.
vesa.ko) must be either loaded, or be compiled into the kernel.
Do not return EINVAL when the mouse state is changed to what it already is,
which seems to cause problems when you have two mice attached, and
applications are not likely obtain useful information through the EINVAL
caused by showing the mouse pointer twice.
Teach vidcontrol(8) about mode names like MODE_<NUMBER>, where <NUMBER> is
the video mode number from the vidcontrol -i mode output. Also, revert the
video mode if something fails.
Obtained from: DragonFlyBSD
Discussed at: current@ with patch attached [1]
PR: kern/71142 [2]
Submitted by: Xuefeng DENG <dsnofe at msn com> [1],
Cyrille Lefevre <cyrille dot lefevre at laposte dot net> [2]
Diffstat (limited to 'usr.sbin/vidcontrol/vidcontrol.1')
-rw-r--r-- | usr.sbin/vidcontrol/vidcontrol.1 | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/usr.sbin/vidcontrol/vidcontrol.1 b/usr.sbin/vidcontrol/vidcontrol.1 index 9bf881c..d879e2a 100644 --- a/usr.sbin/vidcontrol/vidcontrol.1 +++ b/usr.sbin/vidcontrol/vidcontrol.1 @@ -13,7 +13,7 @@ .\" @(#)vidcontrol.1 .\" $FreeBSD$ .\" -.Dd May 27, 2002 +.Dd May 29, 2005 .Dt VIDCONTROL 1 .Os .Sh NAME @@ -88,7 +88,12 @@ The modes currently recognized are: The raster text mode .Ar VESA_800x600 can also be chosen. -See +Alternatively, a mode can be specified with its number by using a mode name of +the form +.Ar MODE_<NUMBER> . +A list of valid mode numbers can be obtained with the +.Fl i Cm mode +option. See .Sx Video Mode Support below. .It Ar foreground Op Ar background @@ -292,9 +297,8 @@ so that desired font files will be automatically loaded when the system starts up. See below. .Pp -If you want to use the raster text mode -.Ar VESA_800x600 , -you need to recompile your kernel with the +If you want to use any of the raster text modes you need to recompile your +kernel with the .Dv SC_PIXEL_MODE option. See @@ -528,6 +532,7 @@ categories of the .Em "Ports Collection" . .Sh AUTHORS .An S\(/oren Schmidt Aq sos@FreeBSD.org +.An Sascha Wildner .Sh CONTRIBUTORS .An Maxim Sobolev Aq sobomax@FreeBSD.org , .An Nik Clayton Aq nik@FreeBSD.org |