From owner-freebsd-questions@FreeBSD.ORG Mon Jun 13 20:46:30 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E64A516A41C; Mon, 13 Jun 2005 20:46:29 +0000 (GMT) (envelope-from didier.wiroth@mcesr.etat.lu) Received: from postino-1.etat.lu (postino-1.etat.lu [194.154.205.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4497D43D1D; Mon, 13 Jun 2005 20:46:28 +0000 (GMT) (envelope-from didier.wiroth@mcesr.etat.lu) Received: from avirus-1.cie.etat.lu (dispatch-1.cie.etat.lu [148.110.137.6]) by postino-1.etat.lu (Postfix) with ESMTP id E0D3B14A5B37; Mon, 13 Jun 2005 22:46:26 +0200 (CEST) Received: from avirus-1.cie.etat.lu (dispatch-1.cie.etat.lu [148.110.137.6]) by localhost (CIE ESMTP Dispatch 1) with ESMTP id E21AC23ACF; Mon, 13 Jun 2005 22:46:26 +0200 (CEST) Received: from hermes-1.cie.etat.lu (hermes-1.cie.etat.lu [148.110.136.56]) by dispatch-1.cie.etat.lu (CIE ESMTP Dispatch 1) with ESMTP id D319523AD2; Mon, 13 Jun 2005 22:46:26 +0200 (CEST) Received: from hermes-1.cie.etat.lu (hermes-1.cie.etat.lu [148.110.136.56]) by store.etat.lu (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0II1007KEJ1EGX70@store.etat.lu>; Mon, 13 Jun 2005 22:46:26 +0200 (MEST) Received: from etat.lu ([148.110.136.56]) by store.etat.lu (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0II1005MSJ1EFG50@store.etat.lu>; Mon, 13 Jun 2005 22:46:26 +0200 (MEST) Received: from [192.168.2.43] (Forwarded-For: [158.64.125.33]) by store.etat.lu (mshttpd); Mon, 13 Jun 2005 22:46:26 +0200 Date: Mon, 13 Jun 2005 22:46:26 +0200 From: Didier Wiroth To: freebsd-stable@freebsd.org Message-id: <19891a045407.42ae0cc2@etat.lu> MIME-version: 1.0 X-Mailer: Sun Java(tm) System Messenger Express 6.1 HotFix 0.05 (built Oct 21 2004) Content-type: text/plain; charset=iso-8859-1 Content-language: fr Content-transfer-encoding: quoted-printable Content-disposition: inline X-Accept-Language: fr Priority: normal Cc: freebsd-questions@freebsd.org Subject: applying the vesa patch to stable for high console resolution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 20:46:30 -0000 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