1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/usr.sbin/vidcontrol
Xin LI f112120666 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]
2005-05-29 08:43:44 +00:00
..
decode.c WANRS=6 cleanup for vidcontrol(1): 2005-01-13 03:59:44 +00:00
decode.h
Makefile WANRS=6 cleanup for vidcontrol(1): 2005-01-13 03:59:44 +00:00
path.h
vidcontrol.1 Add VESA mode support for syscons, which enables the support of 15, 16, 2005-05-29 08:43:44 +00:00
vidcontrol.c Add VESA mode support for syscons, which enables the support of 15, 16, 2005-05-29 08:43:44 +00:00