Re: vesafb on archs !ia32 [Re: Calling VESA BIOS routines from kernel?]

Egbert Eich (eich@hilbert.ikp.physik.tu-darmstadt.de)
Tue, 14 Dec 1999 01:46:14 +0100 (MET)


Gerd Knorr writes:
>
> "turn on" is'nt very hard I think. You'll need some userland tool which
> initializes the graphics some way (vm86/cpu emulator/whatever) and loads
> a fbdev driver like this: "insmod genericfb mode=800x600x16 base=addr".
>
> "switch" does'nt work with the current fbcon design. The fbcon system
> keeps a video mode for each vt. You can run different video modes on
> your virtual consoles if your fbdev driver supports mode switches. fbcon
> will switch the video mode for you if you switch to a vt with a different
> video mode. If mode switches require some external utility, you'll run
> in trouble ...

Well, I'm talking about vesafb. With vesafb you need to have the same
mode on all vts anyway. Why can't one switch the mode externally and
then tell vesafb about the parameters of the new mode?
I agree that this won't work with chipset specific drivers (unless they
do mode switching by just reading out the register values which is not
always possible with clock chip registers for example)

Egbert.

-
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/