Framebuffer Documentation

NoMoreZealots picture NoMoreZealots · Mar 23, 2010 · Viewed 7.4k times · Source

Is there any documentation on how to write software that uses the framebuffer device in Linux? I've seen a couple simple examples that basically say: "open it, mmap it, write pixels to mapped area." But no comprehensive documentation on how to use the different IOCTLS for it anything. I've seen references to "panning" and other capabilities but "googling it" gives way too many hits of useless information.

Edit: Is the only documentation from a programming standpoint, not a "User's howto configure your system to use the fb," documentation the code?

Answer

slaphappy picture slaphappy · Jun 18, 2010

You could have a look at fbi's source code, an image viewer which uses the linux framebuffer. You can get it here : http://linux.bytesex.org/fbida/