Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2001 01:54:13 +0100
From:      "Anthony Atkielski" <anthony@atkielski.com>
To:        "list" <list@museum.rain.com>
Cc:        "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: How do I set vidcontrol modes?
Message-ID:  <01bd01c17227$0da4f510$0a00000a@atkielski.com>
References:  <014d01c1721d$74e0c470$0a00000a@atkielski.com> <20011120164631.B11629@museum.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
But the vidcontrol -i mode command only lists modes with numbers to reference
them; it doesn't seem to give the keywords that I need to specify in the same
command in order to change the mode.  But then vidcontrol doesn't seem to
recognize just a number for the mode.  So how do I pick a mode off the list and
specify it in a subsequent vidcontrol command in order to change modes?

For example:

freebie# vidcontrol -i mode
    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
325 (0x145) 0x0000000f G 1600x1200x8 1   8x16  0xa0000 64k 64k 0xd0000000 65536k
[...]
326 (0x146) 0x0000000f G 1600x1200x16 1  8x16  0xa0000 64k 64k 0xd0000000 65536k

Now how do I specify one of these modes in a vidcontrol command?

----- Original Message -----
From: "list" <list@museum.rain.com>
To: "Anthony Atkielski" <anthony@atkielski.com>
Cc: "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG>
Sent: Wednesday, November 21, 2001 01:46
Subject: Re: How do I set vidcontrol modes?


> On Wed, Nov 21, 2001 at 12:45:31AM +0100, Anthony Atkielski wrote:
> > Okay, I give up:  How do I set a video mode in vidcontrol after finding one
on
> > the list produced by vidcontrol -i mode that I wish to use?  I tried
specifying
> > the number of the mode, with no luck.  Tried it in hex, too (e.g.,
"vidcontrol
> > 0x325") but that doesn't work, either.  What's the secret?  No, the man page
> > doesn't explain it.
> >
>
> You want  vidcontrol mode  where mode is the mode you want.  For example,
>
> vidcontrol 80x43
>
> Make sure you have the necessary kernel stuff for VESA support.
>


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?01bd01c17227$0da4f510$0a00000a>