Date: Mon, 13 Jun 2005 22:46:26 +0200 From: Didier Wiroth <didier.wiroth@mcesr.etat.lu> To: freebsd-stable@freebsd.org Cc: freebsd-questions@freebsd.org Subject: applying the vesa patch to stable for high console resolution Message-ID: <19891a045407.42ae0cc2@etat.lu>
next in thread | raw e-mail | index | archive | help
Hi=2C USE AT YOUR OWN RISK!!!!! this for the freebsd5 branch only!!!! Here is how to apply the patch to get the =22long awaited=22 high consol= e text modes under freebsd! I actually use it on my nc6000 hp laptop with the following mode=3A 1400x1050x16 damm =2E=2E really nice =3B-)) This patch is actually for freebsd current but it works (for me) with 5-= stable and may be =22release=22 or earlier versions (5=2EX) too=2E ONCE AGAIN BE WARNED!! USE AT YOUR OWN RISK!!! Let=27s go=3A 1) Get the patch here=3A http=3A//people=2Efreebsd=2Eorg/=7Edelphij/vesa/patchset-highres=2E20050= 522 2) Remove the lines which are not required for us and rename the patch w= e will use to syscons=2Epatch=3A split -p =22Index=3A usr=2Esbin=22 patchset-highres=2E20050522 =26=26 mv= xaa syscons=2Epatch 3) backup and patch your local (stable) sources=3A (/usr/src/sys/dev/sys= cons - will be patched) cp -Rp /usr/src/sys/dev/syscons /usr/src/sys/dev/BAK=2Esyscons cd /usr/src patch =3C path=5Fto=5Fpatch/syscons=2Epatch 4) recompile and install your kernel with sc=5Fpixel=5Fmode and vesa sup= port see handbook for details! http=3A//www=2Efreebsd=2Eorg/doc/en=5FUS=2EISO8859-1/books/handbook/kern= elconfig=2Ehtml 5) backup your vidcontrol sources cp -Rp /usr/src/usr=2Esbin/vidcontrol /usr/src/usr=2Esbin/BAK=2Evidcontr= ol 6) update your vidcontrol sources with the =22current/HEAD=22 vidcontrol= sources cd /usr/src cvs -danoncvs=40anoncvs=2Ede=2Efreebsd=2Eorg=3A/home/ncvs co -rHEAD usr=2E= sbin/vidcontrol 7) recompile vidcontrol and install cd /usr/src/usr=2Esbin/vidcontrol =26=26 make clean =26=26 make all =26=26= make install 8) reboot 9) after having rebooted with your new kernel (with sc=5Fpixel=5Fmode an= d vesa) issue a =22vidcontrol -i mode=22 You will get lots of ouput like this=3A 322 (0x142) 0x0000000f G 1400x1050x16 1 8x16 0xa0000 64k 64k 0x9800000= 0 65472k Test the mode in a shell by issuying=3A vidcontrol MODE=5F322 If it works (I hope for you =3B-)) but your corresponding mode in rc=2Ec= onf like this=3A allscreens=5Fflags=3D=22MODE=5F322=22 Voil=E0 =3A-)) Long live freebsd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19891a045407.42ae0cc2>