Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 1997 16:45:07 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        jbryant@tfs.net
Cc:        freebsd-hackers@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: vidcontrol under 2.2.2 
Message-ID:  <199705290745.QAA22196@zodiac.mech.utsunomiya-u.ac.jp>
In-Reply-To: Your message of "Thu, 29 May 1997 00:24:35 EST." <199705290524.AAA00286@argus.nuke.net> 
References:  <199705290524.AAA00286@argus.nuke.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
>got 2.2.2 in...
>
>vidcontrol says "device not configured" when attempting to change
>console dimensions....

(Um, please be explicit about the model of your video card and the
video mode which you are attempting to change to.)

It is probably either your video card is not VGA (this is unlikely
nowadays), or...

The mode parameter table in your VGA card's ROM is not organized the
way the console driver expects. There are unfortunately such cards out
there.  You can still use other functions of the console driver (such
as mouse pointer), but can not change video modes. (X is OK, in case
you are wondering :-)

To verify if this is the case with your card, boot the system with the
"-v" option at the "Boot:" prompt and check the output from the
`dmesg' command afterwards. You will see "sc0: VGA registers upon
power-up" followed by 64 bytes of hex dump.  If you don't see another
hex dump headed "sc0: VGA registers for mode:xx", the console driver
found the mode parameter table of your VGA ROM strange and decided not
to use it.

Kazu

PS: You will see "Invalid argument" error, if you have not loaded an
appropriate font set for the new video mode. You need to explicitly
load font sets other than the 16 line font (which is the built-in
default of the VGA card).

   video mode	required font
   --------------------------
   VGA_80x25	16 line font
   VGA_80x30	16 line font
   VGA_80x50	8 line font
   VGA_80x60	8 line font
   EGA_80x25	14 line font
   EGA_80x43	8 line font



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