thinkpad t30 console support 800x600 resolution?

Sean Welch welchsm at earthlink.net
Sun Jun 22 15:02:29 PDT 2003


Suken, it looks as though you have an ATI adapter in your 
machine.  ATI represents all of its VESA modes with a flag
set that FreeBSD interprets as meaning the mode is bad.

There is a simple fix for this but you'll need to recompile
your kernel for it to take effect (I do this on my machine).

Apply this patch to /usr/src/sys/i386/isa/vesa.c :

--- vesa.c.orig Mon Aug 12 21:42:33 2002
+++ vesa.c      Sun Oct 13 21:59:20 2002
@@ -672,12 +672,11 @@
 
                /* reject unsupported modes */
 #if 0
-               if ((vmode.v_modeattr & (V_MODESUPP | V_MODEOPTINFO 
-                                       | V_MODENONVGA))
+               if ((vmode.v_modeattr & (V_MODESUPP | V_MODEOPTINFO))
                    != (V_MODESUPP | V_MODEOPTINFO))
                        continue;
 #else
-               if ((vmode.v_modeattr & (V_MODEOPTINFO | V_MODENONVGA))
+               if ((vmode.v_modeattr & V_MODEOPTINFO)
                    != (V_MODEOPTINFO))
                        continue;
 #endif


Getting rid of the (V_MODENONVGA) test will allow you to get
VESA modes and the vesa.ko module should load right up for you.

I've been unable to get the SC_PIXEL_MODE kernel configuration
option (check LINT) to work so I can't get it to switch into
800x600 VESA mode on my machine...

Good luck!

                                                 Sean


More information about the freebsd-mobile mailing list