Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Feb 2011 02:52:12 +1000
From:      Dima Panov <fluffy@fluffy.khv.ru>
To:        David Demelier <demelier.david@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Set tty resolution using hint.sc.0.flags with VESA
Message-ID:  <187091297011132@web140.yandex.ru>
In-Reply-To: <4D4EC363.70202@gmail.com>
References:  <4D4EC363.70202@gmail.com>

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

[fluffy@Beastie] ~$ cat /boot/device.hints|grep sc.0
hint.sc.0.at="isa"
hint.sc.0.flags="0x180"
hint.sc.0.vesa_mode=0x1f0


07.02.2011, 01:50, "David Demelier" <demelier.david@gmail.com>:
> 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
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

-- 
Dima Panov (fluffy@FreeBSD.org)
KDE@FreeBSD team

Facebook: http://www.facebook.com/?id=100000181104157



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