From owner-freebsd-newbies@FreeBSD.ORG Sun Feb 13 03:11:07 2005 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 A00BF16A4CE for ; Sun, 13 Feb 2005 03:11:07 +0000 (GMT) Received: from web30904.mail.mud.yahoo.com (web30904.mail.mud.yahoo.com [68.142.200.157]) by mx1.FreeBSD.org (Postfix) with SMTP id 4158143D1D for ; Sun, 13 Feb 2005 03:11:07 +0000 (GMT) (envelope-from mcd_advisory@yahoo.com) Received: (qmail 85054 invoked by uid 60001); 13 Feb 2005 03:11:06 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=x/+le5N/gUvBZbKeQoQ9iTNGnRuJ9ABEaYz6w9UlMkWVBZ8TJ8kdk3HM90QvgnV8LMzo793EPBPSTe3Sn89CmueSw4Ol6KvwgOxMtlU0FtdQlPea4pKH1vQYj1mFAzJ8/8K5I2UCTHK5jUMDAeAkXi2Q89qHQUWKdJ2mAM7GSp8= ; Message-ID: <20050213031106.85052.qmail@web30904.mail.mud.yahoo.com> Received: from [66.248.172.15] by web30904.mail.mud.yahoo.com via HTTP; Sat, 12 Feb 2005 19:11:06 PST Date: Sat, 12 Feb 2005 19:11:06 -0800 (PST) From: Mervin McDougall To: Joaquin Menchaca In-Reply-To: <4207A9E8.2040309@finnovative.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-newbies Subject: Re: kern/71142; VESA 1024x768 @ the console 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: Sun, 13 Feb 2005 03:11:07 -0000 --- Joaquin Menchaca wrote: > Hi. > > I missed the boat on this one, what does this patch > exactly do, and why > is it needed? > > - joaquin > > Nikolas Britton wrote: > > I got tired of having to patch by hand all the > systems I wanted this > > patch on and all the systems I patched but then > updated with cvsup so I > > made a simple batch script to do it for me, this > script will do steps > > 1...9 (see below). all you have to do is paste it > into a file and then > > run it as root (i.e. "sh vesa-patch-script"): > > > > cd /tmp > > rm current-vesa_patch.tar.gz > > fetch > http://www.nbritton.org/uploads/current-vesa_patch.tar.gz > > rm -r current-vesa_patch > > tar -zxvf current-vesa_patch.tar.gz > > cd /usr/src/sys/dev/syscons > > patch > > cd /usr/src/usr.sbin/vidcontrol > > cp /tmp/current-vesa_patch/current-vidcontrol.1 > ./vidcontrol.1 > > cp /tmp/current-vesa_patch/current-vidcontrol.c > ./vidcontrol.c > > make && make install && make clean > > > > > > Nikolas Britton wrote: > > > >> 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 > >> (make sure this applies > >> cleanly, no error messages!) > >> Step 6: cd into /usr/src/usr.sbin/vidcontrol > (usr.sbin is not a typo) > >> Step 7: Copy the file current-vidcontrol.1 here: > "cp > >> /tmp/current-vesa_patch/current-vidcontrol.1 > ./vidcontrol.1" > >> Step 8: Copy the file current-vidcontrol.c here: > "cp > >> /tmp/current-vesa_patch/current-vidcontrol.c > ./vidcontrol.c" > >> Step 9: while your in there rebuild vidcontrol: > "make && make install > >> && make clean" > >> Step 10: cd into /usr/src/sys/i386/conf > >> (if you have never done this before then your > kernel will be > >> "GENERIC", if you have then you don't need me to > explain what to do) > >> Step 11: Add the kernel option for VESA support > to your kernel: echo > >> "options VESA" >> 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). > >> > >> > >> > >> > >> > >> _______________________________________________ > >> freebsd-newbies@freebsd.org mailing list > >> > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies > >> To unsubscribe, send any mail to > >> "freebsd-newbies-unsubscribe@freebsd.org" > >> > > > > _______________________________________________ > > freebsd-newbies@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies > > To unsubscribe, send any mail to > "freebsd-newbies-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-newbies@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-newbies > To unsubscribe, send any mail to > "freebsd-newbies-unsubscribe@freebsd.org" > this patch allows you to achieve screen resolutions of 1024x768 for consoles. It is especially useful when using freebsd on laptops and more so in my case as mine uses an ati video card. __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250