linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christian Heim <phreak@gentoo.org>
To: Antonino Daplas <adaplas@pol.net>
Cc: linux-fbdev-devel@lists.sourceforge.net,
	linux-kernel@vger.kernel.org, trivial@kernel.org
Subject: [PATCH] Updating Documentation/fb/vesafb.txt
Date: Sat, 5 Aug 2006 09:02:17 +0200	[thread overview]
Message-ID: <200608050902.20163.phreak@gentoo.org> (raw)


[-- 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 --]

             reply	other threads:[~2006-08-05  7:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-05  7:02 Christian Heim [this message]
2006-08-05 12:48 ` [PATCH] Updating Documentation/fb/vesafb.txt Antonino A. Daplas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200608050902.20163.phreak@gentoo.org \
    --to=phreak@gentoo.org \
    --cc=adaplas@pol.net \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).