Re: Virtual framebuffer driver - mmap problem
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2004-09-08 12:07:48
On Wed, 8 Sep 2004, Shivappa Kushtagi wrote:
I would like to use virtual framebuffer on a linux system which is installed with R.H.9 to simulate my target display ( an embedded device with 320*480 resolution).
The virtual framebuffer is intended for testing _the kernel_ only.
I have written a application which will mmap /dev/fb0 and fill it with some RGB values. I run framebuffer based VNC server to see whatever I have written. I always get a white image. Looks like mmap is mapped to some other address and fbvnc server is reading from somewhere else. Does the existing drivers/video/vfb.c code works ? or Do I need to tweak it ?
You cannot mmap() the video memory of vfb.
Why don't you use vesafb?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click