lkml.org 
[lkml]   [1999]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: vesafb on archs !ia32 [Re: Calling VESA BIOS routines from kernel?]
In lists.linux.kernel, you wrote:
> Gerd Knorr writes:
> >
> > vesafb is a very simple fb driver. It expects to find a initialized vga
> > and the information "framebuffer memory starts at adress foo, video mode
> > is 800x600 at 16 bpp". The initialization is done using the VESA bios by
> > the real mode startup code.
> Why can't we turn on/switch the thin on run time?
> Have a simple utility execute the bios call from user space
> and then inform vesafb of the new paramters. But please:
> no IA32 emulator in the kernel!

"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 ...

Gerd

--
sigfault

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

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.631 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site