Date: Mon, 13 Jun 2005 22:06:50 -0700 From: "Ted Mittelstaedt" <tedm@toybox.placo.com> To: "Didier Wiroth" <didier.wiroth@mcesr.etat.lu>, <freebsd-stable@freebsd.org> Cc: freebsd-questions@freebsd.org Subject: RE: applying the vesa patch to stable for high console resolution Message-ID: <LOBBIFDAGNMAMLGJJCKNOELGFBAA.tedm@toybox.placo.com> In-Reply-To: <19891a045407.42ae0cc2@etat.lu>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Has this patch beeen applied to CURRENT? So it will be in the next release of FreeBSD? Ted >-----Original Message----- >From: owner-freebsd-questions@freebsd.org >[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Didier Wiroth >Sent: Monday, June 13, 2005 1:46 PM >To: freebsd-stable@freebsd.org >Cc: freebsd-questions@freebsd.org >Subject: applying the vesa patch to stable for high console resolution > > >Hi, > >USE AT YOUR OWN RISK!!!!! > >this for the freebsd5 branch only!!!! > >Here is how to apply the patch to get the "long awaited" high >console text modes under freebsd! >I actually use it on my nc6000 hp laptop with the following mode: >1400x1050x16 >damm .. really nice ;-)) > >This patch is actually for freebsd current but it works (for >me) with 5-stable and may be "release" or earlier versions (5.X) too. > >ONCE AGAIN BE WARNED!! USE AT YOUR OWN RISK!!! > >Let's go: >1) Get the patch here: >http://people.freebsd.org/~delphij/vesa/patchset-highres.20050522 > >2) Remove the lines which are not required for us and rename >the patch we will use to syscons.patch: >split -p "Index: usr.sbin" patchset-highres.20050522 && mv xaa >syscons.patch > >3) backup and patch your local (stable) sources: >(/usr/src/sys/dev/syscons - will be patched) >cp -Rp /usr/src/sys/dev/syscons /usr/src/sys/dev/BAK.syscons >cd /usr/src >patch < path_to_patch/syscons.patch > >4) recompile and install your kernel with sc_pixel_mode and >vesa support see handbook for details! >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernel config.html 5) backup your vidcontrol sources cp -Rp /usr/src/usr.sbin/vidcontrol /usr/src/usr.sbin/BAK.vidcontrol 6) update your vidcontrol sources with the "current/HEAD" vidcontrol sources cd /usr/src cvs -danoncvs@anoncvs.de.freebsd.org:/home/ncvs co -rHEAD usr.sbin/vidcontrol 7) recompile vidcontrol and install cd /usr/src/usr.sbin/vidcontrol && make clean && make all && make install 8) reboot 9) after having rebooted with your new kernel (with sc_pixel_mode and vesa) issue a "vidcontrol -i mode" You will get lots of ouput like this: 322 (0x142) 0x0000000f G 1400x1050x16 1 8x16 0xa0000 64k 64k 0x98000000 65472k Test the mode in a shell by issuying: vidcontrol MODE_322 If it works (I hope for you ;-)) but your corresponding mode in rc.conf like this: allscreens_flags="MODE_322" Voilą :-)) Long live freebsd _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LOBBIFDAGNMAMLGJJCKNOELGFBAA.tedm>