[lkml]   [2006]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH] Updating Documentation/fb/vesafb.txt
    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.

    | 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>
    GPG: 9A9F68E6 / AEC4 87B8 32B8 4922 B3A9 DF79 CAE3 556F 9A9F 68E6

    Your friendly mobile/kernel/vserver/openvz monkey

    Signed-off-by: Christian Heim <>
    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
    @@ -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[unhandled content-type:application/pgp-signature]
     \ /
      Last update: 2006-08-05 09:05    [W:0.022 / U:30.464 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site