From owner-freebsd-newbies@FreeBSD.ORG Fri Dec 24 11:48:21 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D063A16A4CE for ; Fri, 24 Dec 2004 11:48:21 +0000 (GMT) Received: from sccimhc91.asp.att.net (sccimhc91.asp.att.net [63.240.76.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7845643D41 for ; Fri, 24 Dec 2004 11:48:21 +0000 (GMT) (envelope-from freebsd@nbritton.org) Received: from [192.168.1.10] (12-223-129-46.client.insightbb.com[12.223.129.46]) by sccimhc91.asp.att.net (sccimhc91) with ESMTP id <20041224114820i9100rffv3e>; Fri, 24 Dec 2004 11:48:20 +0000 Message-ID: <41CC0203.6020609@nbritton.org> Date: Fri, 24 Dec 2004 05:48:19 -0600 From: Nikolas Britton User-Agent: Mozilla Thunderbird 1.0 (X11/20041219) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mervin McDougall References: <20041224085217.42737.qmail@web61205.mail.yahoo.com> In-Reply-To: <20041224085217.42737.qmail@web61205.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-newbies@freebsd.org Subject: Re: kern/71142; VESA 1024x768; (Poor Console resolution on Compaq 2103US) X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Dec 2004 11:48:22 -0000 Disclaimer!!!: please note that this patch was never meant for newbies and that if you decide to use it you are basically on your own if you have any problems with it. This patch is very much still in alpha status, but it does work and if It breaks your system you can always back it out. >1. do I copy the patch exactly as is from the webpage? > > no, forget the patches from the webpage it's all messed up and you have to run it though scripts and edit it and stuff etc etc.... ----------------------------- Step 0: su to root. Step 1: cd into /tmp Step 2: fetch the patch: "fetch http://www.nbritton.org/uploads/current-vesa_patch.tar.gz" Alternate Source (these patches are from Deng XueFeng BTW): http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2004-08/att-2992/current-vesa_patch.tar.gz Step 3: Extract the files from the archive: "tar -zxvf curr*gz" Step 4: cd into /usr/src/sys/dev/syscons Step 5: patch the files: "patch > GENERIC Step 12: Add the kernel option for SC_PIXEL_MODE to your kernel: echo "options SC_PIXEL_MODE" >> GENERIC Step 13: config your kernel: config GENERIC Step 14: cd into ../compile/GENERIC Step 15: rebuild your kernel: "make depend && make && make install" Step 16: reboot (After FreeBSD reboots and loads you will see this message several times (ignore it) "vidcontrol: showing the mouse: Invalid argument") Step 17: login as root Step 18: Now change the video mode "vidcontrol MODE_279" (you should now have a console at 1024x768, if you don't you did something wrong.) Step 19: If everthing seems ok then add it to the /etc/rc.conf file: allscreens_flags="MODE_279" Step 20: reboot or do a "shutdown now" Step 21: login as a normal user, you're done, have fun :-), report any bugs your having to I think ether freebsd-current or freebsd-hackers mailing lists. you can also use "vidcontrol -i mode | grep G" to see a complete list of supported modes (this is a list of modes supported by your video card, not your monitor!) and if you want you can play with these other modes "vidcontrol MODE_modenumber" Also note that if you try to update your sources with cvsup it will overwrite the changes you made to the files so you will have to redo steps 0 though 8 again (this is how you can back out the changes if you have problems with it).