Date: Mon, 08 Sep 2003 18:41:05 +0200 From: Christian Gennerat <[EMAIL PROTECTED]> Subject: Framebuffer for Lib 100/110
I have patched vga16fb.c so I can use 800x480 mode as default mode on Libretto display.
and have now 40 lines of 100 chars.
diff -ru ./drivers/video/vga16fb.c.orig ./drivers/video/vga16fb.c --- ./drivers/video/vga16fb.c.orig 2003-09-06 10:01:51.000000000 +0200 +++ ./drivers/video/vga16fb.c 2003-09-06 17:20:07.000000000 +0200 @@ -81,7 +81,7 @@ /* --------------------------------------------------------------------- */
static struct fb_var_screeninfo vga16fb_defined = {
- 640,480,640,480,/* W,H, W, H (virtual) load xres,xres_virtual*/
+ 800,480,800,480,/* W,H, W, H (virtual) load xres,xres_virtual*/
0,0, /* virtual -> visible no offset */
4, /* depth -> load bits_per_pixel */
0, /* greyscale ? */
@@ -93,8 +93,8 @@
FB_ACTIVATE_NOW,
-1,-1,
0,
- 39721, 48, 16, 39, 8,
- 96, 2, 0, /* No sync info */
+ 28361, 15, 56, 0, 2,
+ 184, 6, 0x03, /* No sync info */
FB_VMODE_NONINTERLACED,
{0,0,0,0,0,0}
};
@@ -214,6 +214,7 @@
{ 70616 /* 14.161 */, 0x04, 0x08},
{ 39721 /* 25.175 */, 0x00, 0x00},
{ 35308 /* 28.322 */, 0x04, 0x00},
+ { 28361 /* 35.260 */, 0x04, 0x00}, /* Neomagic NM2160 Mode "800x480" */
{ 0 /* bad */, 0x00, 0x00}};
int err;
-- Christian Gennerat
************************************************************** http://libretto.basiclink.com - Libretto mailing list http://www.silverace.com/libretto/ - Archives
-------TO UNSUBSCRIBE------- Reply to any of the list messages. The reply mail should be addressed to: [EMAIL PROTECTED] - Then replace any text on the message's subject line: cmd:unsubscribe --------TO UNSUBSCRIBE DIGEST------ Do above but with this on subject line: cmd:unsubscribe digest **************************************************************