Re: applying the vesa patch to stable for high console resolution

2005-06-17 Thread Didier Wiroth
Hi,
I actually don't know.
As far as I've read (current-list) the patch comes from dragonflybsd
which is a continuation of the 4.x kernel, perhaps it already might
work.
You might try the syscon* patches on a freebsd4.x test box and see if it
works.
Didier

-Original Message-
From: Igor Pokrovsky [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 16, 2005 19:28
To: Didier Wiroth
Cc: freebsd-stable@freebsd.org; freebsd-questions@freebsd.org
Subject: [SPAM-PAL] Re: 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.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: applying the vesa patch to stable for high console resolution

2005-06-17 Thread Didier Wiroth
Hi, 
Sorry but I don't know.
You should ask the freebsd-current list.
Regards
Didier

-Original Message-
From: Remington L [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 16, 2005 21:06
To: Didier Wiroth; freebsd-stable@freebsd.org;
freebsd-questions@freebsd.org
Subject: [SPAM-PAL] Re: 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


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: applying the vesa patch to stable for high console resolution

2005-06-16 Thread Igor Pokrovsky
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 [EMAIL PROTECTED]


Re: applying the vesa patch to stable for high console resolution

2005-06-16 Thread Remington L
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 [EMAIL PROTECTED] 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 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: applying the vesa patch to stable for high console resolution

2005-06-14 Thread Giorgos Keramidas
On 2005-06-13 22:06, Ted Mittelstaedt [EMAIL PROTECTED] 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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


applying the vesa patch to stable for high console resolution

2005-06-13 Thread Didier Wiroth
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 [EMAIL PROTECTED]:/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) 0x000f G 1400x1050x16 1  8x16  0xa 64k 64k 0x9800 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 [EMAIL PROTECTED]


RE: applying the vesa patch to stable for high console resolution

2005-06-13 Thread Ted Mittelstaedt
Hi,

  Has this patch beeen applied to CURRENT?  So it will be in the next
release of FreeBSD?

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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 [EMAIL PROTECTED]:/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) 0x000f G 1400x1050x16 1  8x16  0xa 64k 64k 0x9800
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
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]