Date: Sun, 22 Jun 2003 15:00:09 -0500 (GMT) From: Sean Welch <welchsm@earthlink.net> To: wsk@mail.gddsn.org.cn Cc: freebsd-mobile@freebsd.org Subject: Re: thinkpad t30 console support 800x600 resolution? Message-ID: <7179639.1056319327848.JavaMail.nobody@grover.psp.pas.earthlink.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7179639.1056319327848.JavaMail.nobody>
