* [PATCH] Updating Documentation/fb/vesafb.txt
@ 2006-08-05 7:02 Christian Heim
2006-08-05 12:48 ` Antonino A. Daplas
0 siblings, 1 reply; 2+ messages in thread
From: Christian Heim @ 2006-08-05 7:02 UTC (permalink / raw)
To: Antonino Daplas; +Cc: linux-fbdev-devel, linux-kernel, trivial
[-- Attachment #1.1: Type: text/plain, Size: 1021 bytes --]
Hello Antonino,
I recently tried to figure how to get my vesafb to 1600x1200 and updated the
vesafb.txt documentation accordingly. I'm still not sure about the video mode
for 256, since it doesn't seem to follow the algorithm the other vga-modes
seem to follow.
Example:
| 640x480 800x600 1024x768 1280x1024
----+-------------------------------------
256 | 0x301 0x303 0x305 0x307 | +0x002
32k | 0x310 0x313 0x316 0x319
------- ------- ------- -------
+0x009 +0x010 +0x011 +0x012
So accordingly to that algorithm, the mode for 1600x1200@256 should either be
0x309 or 0x360 which both don't work.
Find attached the mentioned patch to update vesafb.txt.
Please CC me on replies, since I'm not subscribed to the list.
--
Christian Heim <phreak at gentoo.org>
GPG: 9A9F68E6 / AEC4 87B8 32B8 4922 B3A9 DF79 CAE3 556F 9A9F 68E6
Your friendly mobile/kernel/vserver/openvz monkey
Signed-off-by: Christian Heim <phreak@gentoo.org>
--
[-- Attachment #1.2: vesafb-document-1600x1200-video-mode.patch --]
[-- Type: text/x-diff, Size: 1901 bytes --]
diff --git a/Documentation/fb/vesafb.txt b/Documentation/fb/vesafb.txt
index ee277dd..9565543 100644
--- a/Documentation/fb/vesafb.txt
+++ b/Documentation/fb/vesafb.txt
@@ -40,12 +40,12 @@ The graphic modes are NOT in the list wh
vga=ask and hit return. The mode you wish to use is derived from the
VESA mode number. Here are those VESA mode numbers:
- | 640x480 800x600 1024x768 1280x1024
-----+-------------------------------------
-256 | 0x101 0x103 0x105 0x107
-32k | 0x110 0x113 0x116 0x119
-64k | 0x111 0x114 0x117 0x11A
-16M | 0x112 0x115 0x118 0x11B
+ | 640x480 800x600 1024x768 1280x1024 1600x1200
+----+-----------------------------------------------
+256 | 0x101 0x103 0x105 0x107 0x???
+32k | 0x110 0x113 0x116 0x119 0x173
+64k | 0x111 0x114 0x117 0x11A 0x174
+16M | 0x112 0x115 0x118 0x11B 0x175
The video mode number of the Linux kernel is the VESA mode number plus
0x200.
@@ -54,12 +54,12 @@ The video mode number of the Linux kerne
So the table for the Kernel mode numbers are:
- | 640x480 800x600 1024x768 1280x1024
-----+-------------------------------------
-256 | 0x301 0x303 0x305 0x307
-32k | 0x310 0x313 0x316 0x319
-64k | 0x311 0x314 0x317 0x31A
-16M | 0x312 0x315 0x318 0x31B
+ | 640x480 800x600 1024x768 1280x1024 1600x1200
+----+-----------------------------------------------
+256 | 0x301 0x303 0x305 0x307 0x???
+32k | 0x310 0x313 0x316 0x319 0x373
+64k | 0x311 0x314 0x317 0x31A 0x374
+16M | 0x312 0x315 0x318 0x31B 0x375
To enable one of those modes you have to specify "vga=ask" in the
lilo.conf file and rerun LILO. Then you can type in the desired
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Updating Documentation/fb/vesafb.txt
2006-08-05 7:02 [PATCH] Updating Documentation/fb/vesafb.txt Christian Heim
@ 2006-08-05 12:48 ` Antonino A. Daplas
0 siblings, 0 replies; 2+ messages in thread
From: Antonino A. Daplas @ 2006-08-05 12:48 UTC (permalink / raw)
To: phreak; +Cc: trivial, Antonino Daplas, linux-fbdev-devel, linux-kernel
Christian Heim wrote:
> Hello Antonino,
>
> + | 640x480 800x600 1024x768 1280x1024 1600x1200
> +----+-----------------------------------------------
> +256 | 0x301 0x303 0x305 0x307 0x???
> +32k | 0x310 0x313 0x316 0x319 0x373
> +64k | 0x311 0x314 0x317 0x31A 0x374
> +16M | 0x312 0x315 0x318 0x31B 0x375
>
> To enable one of those modes you have to specify "vga=ask" in the
> lilo.conf file and rerun LILO. Then you can type in the desired
This is not correct. VESA did not define 1600x1200 as part of
its DVT standard. And starting with VBE 2.0, VESA is not going to
define new mode ID's. Thus the mode ID that you get for 1600x1200 may
be unique only for your particular hardware/Video BIOS.
You may use X's 'vesa' driver to get a list of modes that your
BIOS supports. It will be written to /var/log/X*.0.log.
Tony
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-05 12:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-05 7:02 [PATCH] Updating Documentation/fb/vesafb.txt Christian Heim
2006-08-05 12:48 ` Antonino A. Daplas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).