Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Feb 2011 16:50:59 +0100
From:      David Demelier <demelier.david@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Set tty resolution using hint.sc.0.flags with VESA
Message-ID:  <4D4EC363.70202@gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
Hello,

I don't like much to use allscreens_flags to set my tty resolution 
because it's done at the end of /etc/rc process. I know we can edit the 
hint.sc.0.flags in /boot/device.hints to set the resolution at the 
earliest stage.

I want to use the 1366x768 mode :

# vidcontrol -i mode
[... snip ...]
496 (0x1f0) 0x0000001f G 1366x768x32 D   8x16  0xa0000 64k 64k 
0xc0000000 4128k

To use this mode I should write hint.sc.0.flags="0x1f00180" where 80 
means VESA mode following the sc(4) manpage.

It seems that my resolution is like 1024x768 when I bootup and not the 
one I want. However when I use vidcontrol MODE_496 after boot it works 
pretty well.

Is there something wrong on my line ?

Cheers,

-- 
David Demelier



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4D4EC363.70202>