Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5)

2008-01-11 Thread Roy Wright
Howdy,

emerge sys-libs/lrmi

then from a console run:  vbetest

this will display the video modes your graphics card supports.
Note I had differing results running from an xterm, so I suggest
running from a console with X stopped.

You might want to look at using uvesa:

  http://dev.gentoo.org/~spock/projects/uvesafb/


I'm in the middle of getting the new fbsplash stuff installed (didn't
work first try :-) but the higher res console works fine with uvesa
(which is what I really wanted in the first place).


HTH,
Roy


-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5)

2008-01-10 Thread Etaoin Shrdlu
On Wednesday 9 January 2008, Renat Golubchyk wrote:

> If you only want to convert one number (or an arithmetic expression)
> you can write, e.g. ":echo 0x31a" in vim and be done with it. :-)
>[snip]
> Or an even simpler way would be
>
> $ echo $((0x31a))
> 794
>
> Bash is really cool. It can understand numbers up to base 64. ;-)

Great tips! I did not know them. Especially the bash one is really 
useful!

Thanks
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5)

2008-01-09 Thread Renat Golubchyk
On Wed, 9 Jan 2008 22:17:37 +0100 Etaoin Shrdlu
<[EMAIL PROTECTED]> wrote:
> On Wednesday 9 January 2008, [EMAIL PROTECTED] wrote:
> 
> > [EMAIL PROTECTED] writes:
> > > do you know of a chart that shows the decimal notation like you
> > > posted? (Its not in `man vga')
> > >
> > > And I don't recall where I got that from... where ever it was, it
> > > probably also has the decimal equivalents.
> >
> > You can ignore this request... I found a nifty hex to decimal
> > converter for vim here:
> >http://vim.wikia.com/wiki/VimTip27

If you only want to convert one number (or an arithmetic expression) you
can write, e.g. ":echo 0x31a" in vim and be done with it. :-)

> 
> A perhaps simpler way is to use the bc program (which needs to be 
> installed for this to work, of course):
> 
> $ echo 'obase=10; ibase=16; 31A' | bc
> 794

Or an even simpler way would be

$ echo $((0x31a))
794

Bash is really cool. It can understand numbers up to base 64. ;-)


Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5)

2008-01-09 Thread Alan McKinnon
On Wednesday 09 January 2008, Tony Stohne wrote:
> Tony Stohne skrev:
> >  ...
> > less /usr/src/linux/Documentation/fb/vesafb.txt
> > should do it, i think.
>
> No, that was not it. Sorry for wasting bandwidth...
>
> > Regards
> > //Tony


Courtesy of fb/vesa.fb, kcalc hex<->dec and 10 minutes free time ;-)

##640x480   800x600  1024x768  1280x1024
##   256  769   771  773   775
##   32k  784   787  790   793
##   64k  785   788  791   794
##   16M  786   789  792   795

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5)

2008-01-09 Thread Etaoin Shrdlu
On Wednesday 9 January 2008, Etaoin Shrdlu wrote:

> then. But again, it does not matter whether you use hex or decimal, as
> long as the value you use is the same.

Sorry, bad wording. I meant: as long as the number you enter (whether hex 
or decimal) represents the video mode you want to get.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5)

2008-01-09 Thread Etaoin Shrdlu
On Wednesday 9 January 2008, [EMAIL PROTECTED] wrote:

> [EMAIL PROTECTED] writes:
> > do you know of a chart that shows the decimal notation like you
> > posted? (Its not in `man vga')
> >
> > And I don't recall where I got that from... where ever it was, it
> > probably also has the decimal equivalents.
>
> You can ignore this request... I found a nifty hex to decimal
> converter for vim here:
>http://vim.wikia.com/wiki/VimTip27

A perhaps simpler way is to use the bc program (which needs to be 
installed for this to work, of course):

$ echo 'obase=10; ibase=16; 31A' | bc
794

(you can do that from inside vim also by using the "!" vim command)
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5)

2008-01-09 Thread Tony Stohne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tony Stohne skrev:
>  ...
> less /usr/src/linux/Documentation/fb/vesafb.txt
> should do it, i think.
> 

No, that was not it. Sorry for wasting bandwidth...

> Regards
> //Tony
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHhTWsJDzv6DN+QUkRAnTQAJ0a5tOcXpbVGkVXDO7JfJ2/NHTnigCgg8OZ
BWMkznvgBxTPvQTmVVEhevw=
=8CNG
-END PGP SIGNATURE-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5)

2008-01-09 Thread Etaoin Shrdlu
On Wednesday 9 January 2008, [EMAIL PROTECTED] wrote:

> By the way about the vga= setting.  I grabbed a chart from some where
> long ago showing the notation I was using:
>
>  ##640x480   800x600 1024x768 1280x1024
>  ##   256 0x301   0x303   0x3050x307
>  ##   32k 0x310   0x313   0x3160x319
>  ##   64k 0x311   0x314   0x3170x31A
>  ##   16M 0x312   0x315   0x3180x31B

That is correct. You can use the hex values in the config.

> do you know of a chart that shows the decimal notation like you
> posted? (Its not in `man vga')

No, I just did the math :-)

> And I don't recall where I got that from... where ever it was, it
> probably also has the decimal equivalents.

I think I found the vga=791 line in some ancient LILO sample config file 
(even before I started using Gentoo) and I stuck with it since then. But 
again, it does not matter whether you use hex or decimal, as long as the 
value you use is the same.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Kernel setting for frame buffer (2.6.23-r5)

2008-01-09 Thread Tony Stohne
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] skrev:
> ...
> By the way about the vga= setting.  I grabbed a chart from some where
> long ago showing the notation I was using:
> 
>  ##640x480   800x600 1024x768 1280x1024
>  ##   256 0x301   0x303   0x3050x307
>  ##   32k 0x310   0x313   0x3160x319
>  ##   64k 0x311   0x314   0x3170x31A
>  ##   16M 0x312   0x315   0x3180x31B
> 
> do you know of a chart that shows the decimal notation like you
> posted? (Its not in `man vga')
> 
> And I don't recall where I got that from... where ever it was, it
> probably also has the decimal equivalents.
> 

less /usr/src/linux/Documentation/fb/vesafb.txt
should do it, i think.

Regards
//Tony
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHhTOJJDzv6DN+QUkRAnNOAJ42skY/nV5TtxH/WpNYCfdps7LFmQCg6wbD
ayI1OguUAxE5hAnT1daSINQ=
=SzfT
-END PGP SIGNATURE-
-- 
gentoo-user@lists.gentoo.org mailing list