lkml.org 
[lkml]   [1998]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Console fixes for 2.1.108
On Fri, 10 Jul 1998, Daniel Engstrom wrote:
> Once booted (with vgafb) I still have a version of the black-on-black
> problem. Kernel console messages appear right, but any output though
> the tty seems to be written with the current background color. But if I
> switch to another VC and then back the screen content is updated and
> appears correct, but any updates while focused only affects the cursor
> position.

drivers/char/console.c is optimized too agressively if you also enable
CONFIG_VGA_CONSOLE. This patch fixes that:

--- geert-2.1.108b/include/linux/vt_buffer.h.orig Sat Jul 11 15:34:19 1998
+++ geert-2.1.108b/include/linux/vt_buffer.h Sat Jul 11 20:43:20 1998
@@ -16,7 +16,7 @@
#include <linux/config.h>

#ifdef CONFIG_VGA_CONSOLE
-#ifndef CONFIG_FB_MODULE
+#if !defined(CONFIG_FB) && !defined(CONFIG_FB_MODULE)
#define VT_BUF_VRAM_ONLY
#endif
#include <asm/vga.h>
Greetings,

Geert

--
Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.097 / U:0.380 seconds]
©2003-2014 Jasper Spaans. Advertise on this site