From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 16:52:14 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9489B1065670 for ; Sun, 6 Feb 2011 16:52:14 +0000 (UTC) (envelope-from fluffy@fluffy.khv.ru) Received: from forward11.mail.yandex.net (forward11.mail.yandex.net [95.108.130.93]) by mx1.freebsd.org (Postfix) with ESMTP id 4A0B28FC0C for ; Sun, 6 Feb 2011 16:52:14 +0000 (UTC) Received: from web140.yandex.ru (web140.yandex.ru [95.108.130.8]) by forward11.mail.yandex.net (Yandex) with ESMTP id 8138023F8417; Sun, 6 Feb 2011 19:52:12 +0300 (MSK) Received: from localhost (localhost.localdomain [127.0.0.1]) by web140.yandex.ru (Yandex) with ESMTP id 6E17F14F800F; Sun, 6 Feb 2011 19:52:12 +0300 (MSK) Received: from [46.38.1.85] ([46.38.1.85]) by mail.yandex.ru with HTTP; Sun, 06 Feb 2011 19:52:12 +0300 From: Dima Panov To: David Demelier In-Reply-To: <4D4EC363.70202@gmail.com> References: <4D4EC363.70202@gmail.com> MIME-Version: 1.0 Message-Id: <187091297011132@web140.yandex.ru> Date: Mon, 07 Feb 2011 02:52:12 +1000 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r Cc: freebsd-questions@freebsd.org Subject: Re: Set tty resolution using hint.sc.0.flags with VESA X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2011 16:52:14 -0000 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" : > 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