Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 1999 15:42:38 +0200
From:      "Jose M. Alcaide" <jose@we.lc.ehu.es>
To:        Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
Cc:        Mike Nowlin <mike@argos.org>, freebsd-hardware@FreeBSD.ORG
Subject:   Re: a desirable fetaure: syscons reset utility
Message-ID:  <3815AFCE.DB4ECE98@we.lc.ehu.es>
References:  <Pine.LNX.4.05.9910260149520.30669-100000@jason.argos.org> <199910260748.QAA15139@zodiac.mech.utsunomiya-u.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Kazutaka YOKOTA wrote:
> 
> This won't reliably work, if the said program is saving/restoring only
> the standard VGA registers.  Because the X server touches various
> extra registers which are not present in the standard VGA, you need to
> save these registers as well as the standard VGA registers.  Restoring
> only the standard VGA registers is not enough to bring the video card
> back to known state.
> 
> When vidcontrol issues the ioctl command to switch the video mode, the
> vga video driver will set the standard VGA registers to the values
> listed in the card's BIOS ROM (or use the VESA BIOS to set up the
> VESA video mode).  If the video BIOS cannot set up the card, then,
> what can we do?
> 

This is very interesting. Then, the conclusion is that this problem
should be redirected to the XFree86 people: perhaps, they could write
a utility (probably adapted to each Xserver) that restores the [S]VGA
registers.

BTW, when the Xserver crashes, sometimes the keyboard is also left
in an unusable state and "kbd_mode -a" does not solve the problem.
Perhaps a new "reset" option for kbdcontrol could be useful and easy
to implement 8)

-- JMA
-----------------------------------------------------------------------
José Mª Alcaide                         | mailto:jose@we.lc.ehu.es
Universidad del País Vasco              | mailto:jmas@FreeBSD.org
Dpto. de Electricidad y Electrónica     | http://www.we.lc.ehu.es/~jose
Facultad de Ciencias - Campus de Lejona | Tel.:  +34-946012479
48940 Lejona (Vizcaya) - SPAIN          | Fax:   +34-946013071
-----------------------------------------------------------------------
 "Beware of Programmers who carry screwdrivers"  --  Leonard Brandwein


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hardware" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3815AFCE.DB4ECE98>