Re: thinkpad t30 console support 800x600 resolution?

Sean Welch <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <7179639.1056319327848.JavaMail.nobody@grover.psp.pas.earthlink.net>
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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.