Didier Wiroth
2005-Jun-13 20:46 UTC
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/kernelconfig.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
Ted Mittelstaedt
2005-Jun-14 05:07 UTC
applying the vesa patch to stable for high console resolution
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/kernelconfig.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"
Christian Brueffer
2005-Jun-14 06:59 UTC
applying the vesa patch to stable for high console resolution
On Mon, Jun 13, 2005 at 10:06:50PM -0700, Ted Mittelstaedt wrote:> Hi, > > Has this patch beeen applied to CURRENT? So it will be in the next > release of FreeBSD? >Yes, about two weeks ago. - Christian -- Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050614/afe7f6ed/attachment.bin
Giorgos Keramidas
2005-Jun-14 13:08 UTC
applying the vesa patch to stable for high console resolution
On 2005-06-13 22:06, Ted Mittelstaedt <tedm@toybox.placo.com> wrote:>> http://people.freebsd.org/~delphij/vesa/patchset-highres.20050522 > > Has this patch beeen applied to CURRENT? So it will be in the next > release of FreeBSD?Yes.
Igor Pokrovsky
2005-Jun-16 17:31 UTC
applying the vesa patch to stable for high console resolution
On Mon, Jun 13, 2005 at 10:46:26PM +0200, Didier Wiroth wrote:> Hi, > > USE AT YOUR OWN RISK!!!!! > > this for the freebsd5 branch only!!!!How about RELENG_4? Is it possible to port it there? -ip -- Never put all your eggs in your pocket.
Remington L
2005-Jun-16 19:06 UTC
applying the vesa patch to stable for high console resolution
Yet another thing to ask. I have a wide screen laptop where the VBIOS does not report correct resolutions, has the system taken steps to correct this? ~Its an Intel i915GM, 15.4", native windows of 1200x800 On 6/16/05, Igor Pokrovsky <ip@doom.homeunix.org> wrote:> > On Mon, Jun 13, 2005 at 10:46:26PM +0200, Didier Wiroth wrote: > > Hi, > > > > USE AT YOUR OWN RISK!!!!! > > > > this for the freebsd5 branch only!!!! > > How about RELENG_4? Is it possible to port it there? > > -ip > > -- > Never put all your eggs in your pocket. > _______________________________________________ > 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" >