开发者

inteldrmfb api?

I have a kernel 2.6.31 booting from a USB stick using Intel 915 based KMS to get to graphics mode. It appears to be setting itself to the native resolution and its booting nic开发者_JAVA百科ely into framebuffer console with a beautiful Tux logo!

Question is, how do I access the inteldrmfb? How do I get it into /dev? Will udev do this for me?

What is the API for programming the framebuffer directly?

Thanks, FM


Try the directfb library?

edit: The kernel API is documented in linux/Documentation/fb. See Documentation/fb/framebuffer.txt in the kernel git tree, for starters. Doesn't seem to have changed for a long time. Probably still accurate. Kernel<->user APIs tend to be stable.

http://www.linux-fbdev.org/HOWTO/index.html. May be useful, but it's probably not as useful as the kernel docs.

Probably, as you say, the library source would be the best reference on how to do things.

If you're not seeing /dev/fb0, even though you have the module loaded, then maybe you need to configure udev for it? Or just mknod yourself.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜