Video mode selection on v2.0 vs. v2.1

Paul Gortmaker (paul@rasty.ph.unimelb.edu.au)
Fri, 20 Mar 1998 01:01:43 +1100 (EST)


When compared to 2.0, v2.1 doesn't offer the same selection of
video modes at boot. For example to get 132x25 on an ATI Mach32
with 2.1, I have to enter "vga=ask" and then enter "scan" to get
the same mode I got with "vga=7" om 2.0. Unfortunately this means
I can't boot unattended and get the same mode with 2.1 - which is
kind of annoying. The following patch allows 2.0 compatibility in
that "vga=7" works on both kernels.

--- linux/Documentation/Configure.help.orig Wed Mar 18 23:45:20 1998
+++ linux/Documentation/Configure.help Thu Mar 19 23:17:54 1998
@@ -1175,6 +1175,16 @@
for more information about the Video mode selection support. If
unsure, say N.

+Auto detect SVGA chipset and modes
+CONFIG_VIDEO_SVGA
+ If you enable video mode selection, but don't get the same video
+ modes available that you had in kernel version 2.0, you may need
+ to enable this option to get them. Another alternative is to use
+ "vga=ask" as described in the CONFIG_VIDEO_SELECT help, and then
+ enter "scan". However this method makes it impossible to do this
+ through boot arguments to facilitate an unattended boot. If unsure,
+ say N.
+
Parallel-port support
CONFIG_PARPORT
If you want to use devices connected to your parallel port (the
--- linux/arch/i386/boot/video.S.orig Thu Mar 19 22:30:00 1998
+++ linux/arch/i386/boot/video.S Thu Mar 19 22:37:37 1998
@@ -7,9 +7,10 @@

#include <linux/config.h> /* for CONFIG_VIDEO_* */

-! Enable autodetection of SVGA adapters and modes. If you really need this
-! feature, drop me a mail as I think of removing it some day...
-#undef CONFIG_VIDEO_SVGA
+! Enable autodetection of SVGA adapters and modes. You may need this to
+! get some modes that were available with 2.0 kernels, but now only
+! appear when you use "vga=ask" and then enter "scan".
+! CONFIG_VIDEO_SVGA -- set by 'make {x,menu,""}config'

! Enable autodetection of VESA modes
#define CONFIG_VIDEO_VESA
--- linux/arch/i386/config.in.orig Wed Mar 18 23:45:24 1998
+++ linux/arch/i386/config.in Thu Mar 19 22:49:55 1998
@@ -54,6 +54,9 @@
fi

bool 'Video mode selection support' CONFIG_VIDEO_SELECT
+if [ "$CONFIG_VIDEO_SELECT" = "y" ]; then
+ bool 'Auto detect SVGA chipset and modes' CONFIG_VIDEO_SVGA
+fi

tristate 'Parallel port support' CONFIG_PARPORT
if [ "$CONFIG_PARPORT" != "n" ]; then

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu