Re: Frame buffer device thinkings...

Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be)
Thu, 17 Sep 1998 11:55:25 +0200 (CEST)


On Thu, 17 Sep 1998, Olaf Titz wrote:
> > > get black-on-red instead of the desired red-on-white.) My problem is
> > > that the palette is reset to the default on every console switch. I'd
> > > like to have it persist across switches, but I don't know how
> > > impossible that would be. Comments?
> > ioctl FBIOPUTCMAP on /dev/fb0 (if you use a frame buffer device
> > console). More info in <linux/fb.h>.
>
> That's exactly what I'm using, straight from the manual if there was
> one ;-) It does work, but the next console switch resets the colors to

It's supposed to work.

> the default. I don't know if the cause is in the generic framebuffer
> or matroxfb. I've previously attempted to do the swap in the kernel
> at startup, i.e. at the end of fbcon_setup(), but that didn't work at
> all (that was 2.1.109 with vesafb then, and 2.1.121 with matroxfb now).
> It flashed the screen white and then immediately turned it black
> again. Apparently there is some (hardwired?) reset in the console
> switcher.

Are you using the vger kernel, or one from Linus?

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.tux.org/lkml/