Re: Programmers documetnation on framebuffer console?
flat view
From: Richard Drummond <hidden>
Date: 2003-03-19 03:34:03
Hi Kendal
Since nobody else has replied to you yet, I'll stop lurking and attempt a
reply. ;-b)
On Tuesday 18 March 2003 16:58, Kendall Bennett wrote:Can someone point me at programmer's documentation on how to use the framebuffer console subsystem on Linux? I have been to linux-fbdev.org and a few other places, but all of the linux to what would appear to be useful documentation or libraries are all dead.
There seems to be precious little documentation around on actually how to use
the fbdev API. Alas, the only real sources of information seem to be the code
of the projects that actually use fbdev - for example, LibSDL, DirectFB (see
http://www.directfb.org), and tools such as fbset, fbi, etc. Luckily, the API
is very simple.
I need something that talks about the ioctl()'s that an application uses to get mode information, set modes and use the acceleration functions from the framebuffer console driver.
The kernel source code is of course the definitive source of info here. Look in drivers/video/fbmem.c to see the ioctl()s that fbdev supports. As far as acceleration goes, this is useable only from the kernel space and is designed for accelerating text consoles (the accelerated functions are called by various functions in drivers/video/fbcon.c). Cheers, Rich ------------------------------------------------------- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en