Re: LANANA: To Pending Device Number Registrants

From: James Simmons (jsimmons@transvirtual.com)
Date: Wed May 16 2001 - 12:16:56 EST


> mmap is fine for a fb, but please don't remove read/write.
> I can now do a screendump with "cat /dev/fb/0 > file",
> because everything is a file.
> Having
> /dev/fb/0/brightness
> /dev/fb/0/opengl
> and so on seems to be a better approach.

One I like to name of the file system to be something else. This way apps
can move over to it. You will still be able to do the above. I plan to
have for each framebuffer

/dev/gfx/frameX.

So say your card can do double buffer you could do

cat /dev/gfx/frame0 > file1
cat /dev/gfx/frame1 > file2

So you could access the double buffer as well :-)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:18 EST