Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2001 08:41:03 -0700
From:      "Dominic" <clone@sduteam.com>
To:        "'Rohit Panda'" <prohit99@yahoo.com>
Cc:        <freebsd-questions@freebsd.org>
Subject:   RE: enabling VESA support in FreeBSD recompilation ???
Message-ID:  <002e01c15334$4d0ce4e0$130aa840@tml>
In-Reply-To: <20011012085936.37420.qmail@web12808.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
http://groups.google.com/groups?q=console+resolution&hl=en&rnum=10&selm=
Pine.OSF.4.33.0103272241440.27878-100000%40cpu.WPI.EDU
Search Result 10
From: C. Boumenot (boum@wpi.edu)
Subject: Re: Console Resolution and Syslogd
Newsgroups: comp.unix.bsd.freebsd.misc
View: Complete Thread (7 articles) | Original Format
Date: 2001-03-27 19:54:54 PST


Thanks for the advice, on the syslogd, works like a charm!

For changing the screen resolution I did something slightly
easier/different.

1.) kldload vesa, or add 'options VESA' to the kernel
2.) vidcontrol -i mode   # to display all available video modes
3.) vidcontrol -f 8x8 iso-8x8 132x43  # sets a good resolution
4.) add this to rc.conf  # make sure VESA is already loaded or a part of
			 # the kernel before hand
	font8x8="iso-8x8"
	allscreens_flags="132x43"

Chris


On Wed, 28 Mar 2001, Alexey Dokuchaev wrote:

> "C. Boumenot" wrote:
>
> > Two questions:
> >
> > First, is it possible to increase the screen resolution at boot up
for the
> > console.  I don't run X, and I would like to have more screen space
> > available.
>
> Sure.  First, you will need to hack /usr/src/usr.sbin/vidcontrol.c a
bit.
> There are macros defined in the very beginning, called something like
> VESA_800x600_COLS and VESA_800x600_ROWS.  Those defaulted to (why
would they
> do that? I really do not know) to 80x25.  Simple math will show you
that these
> numbers actually better be changed to 100x37 (for 8x16 font).
> After that, in the vidcontrol directory, say make all install clean.
You're
> done!  Now use your new vidcontrol proggy just as before, using
VESA_800x600
> video mode.  I've tried doing the same for 1024x768, but it didn't
work out
> for some reason :(
>
> > Second, is it possible to capture syslogd output to a terminal, so I
can
> > just hit Alt-F12 and see the logs as they come in.
>
> Yeah, sure.  Add this line to your /etc/ttys (actually, this is not
needed,
> but I'd rather do this anyway):
>
> ttyvb none off
>
> Hup init (kill -1 1) after that, or, better, say init -q.
>
> Then, add this line to your /etc/syslog.conf (remember, spaces are NOT
valid
> separators here):
>
> *.*                             /dev/ttyvb
>
> And hup your syslogd: kill -1 `cat /var/run/syslog.pid`.
>
> You are done!
>
>
>




 ;======================================;
 ; ____                  _       _      ;
 ;|  _ \  ___  _ __ ___ (_)_ __ (_) ___ ;
 ;| | | |/ _ \| '_ ` _ \| | '_ \| |/ __|;
 ;| |_| | (_) | | | | | | | | | | | (__ ;
 ;|____/ \___/|_| |_| |_|_|_| |_|_|\___|;
 ;                                      ;
 ;======================================;


-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Rohit Panda
Sent: Friday, October 12, 2001 2:00 AM
To: freebsd-questions@FreeBSD.org
Subject: enabling VESA support in FreeBSD recompilation ???


hi,
iam trying to recompile the kernel with VESA support in my 4.3 release
Freebsd.here's the output from the command
vidcontrol -i mode
1:49 PM 10/12/01    mode#     flags   type    size       font
window      linear buffer
------------------------------------------------------------------------
------
  0 (0x000) 0x00000001 T 40x25           8x8   0xb8000 32k 32k
0x00000000 32k
  1 (0x001) 0x00000001 T 40x25           8x8   0xb8000 32k 32k
0x00000000 32k
  2 (0x002) 0x00000001 T 80x25           8x8   0xb8000 32k 32k
0x00000000 32k
  3 (0x003) 0x00000001 T 80x25           8x8   0xb8000 32k 32k
0x00000000 32k
  4 (0x004) 0x00000003 G 320x200x2 1     8x8   0xb8000 32k 32k
0x00000000 32k
  5 (0x005) 0x00000003 G 320x200x2 1     8x8   0xb8000 32k 32k
0x00000000 32k
  6 (0x006) 0x00000003 G 640x200x1 1     8x8   0xb8000 32k 32k
0x00000000 32k
 13 (0x00d) 0x00000003 G 320x200x4 4     8x8   0xa0000 64k 64k
0x00000000 256k
 14 (0x00e) 0x00000003 G 640x200x4 4     8x8   0xa0000 64k 64k
0x00000000 256k
 16 (0x010) 0x00000003 G 640x350x2 2     8x14  0xa0000 64k 64k
0x00000000 128k
 18 (0x012) 0x00000003 G 640x350x4 4     8x14  0xa0000 64k 64k
0x00000000 256k
 19 (0x013) 0x00000001 T 40x25           8x14  0xb8000 32k 32k
0x00000000 32k
 20 (0x014) 0x00000001 T 40x25           8x14  0xb8000 32k 32k
0x00000000 32k
 21 (0x015) 0x00000001 T 80x25           8x14  0xb8000 32k 32k
0x00000000 32k
 22 (0x016) 0x00000001 T 80x25           8x14  0xb8000 32k 32k
0x00000000 32k
 23 (0x017) 0x00000001 T 40x25           8x16  0xb8000 32k 32k
0x00000000 32k
 24 (0x018) 0x00000001 T 80x25           8x16  0xb8000 32k 32k
0x00000000 32k
 26 (0x01a) 0x00000003 G 640x480x4 4     8x16  0xa0000 64k 64k
0x00000000 256k
 27 (0x01b) 0x00000003 G 640x480x4 4     8x16  0xa0000 64k 64k
0x00000000 256k
 28 (0x01c) 0x00000003 G 320x200x8 1     8x8   0xa0000 64k 64k
0x00000000 64k
 30 (0x01e) 0x00000001 T 80x50           8x8   0xb8000 32k 32k
0x00000000 32k
 32 (0x020) 0x00000001 T 80x30           8x16  0xb8000 32k 32k
0x00000000 32k
 34 (0x022) 0x00000001 T 80x60           8x8   0xb8000 32k 32k
0x00000000 32k
 37 (0x025) 0x00000003 G 320x240x8 4     8x8   0xa0000 64k 64k
0x00000000 256k
112 (0x070) 0x00000000 T 80x43           8x8   0xb8000 32k 32k
0x00000000 32k
113 (0x071) 0x00000001 T 80x43           8x8   0xb8000 32k 32k
0x00000000 32k
is 1024X768 resolution supported.i think its supported.but what changes
should be made to the kernel configuration file to activate the changes
after the compilation.




Do You Yahoo!?
Make a great connection at Yahoo! Personals.



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002e01c15334$4d0ce4e0$130aa840>