From: Shivappa Kushtagi <kushtagi@gmail.com>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Virtual framebuffer driver - mmap problem
Date: Wed, 8 Sep 2004 19:21:03 +0530 [thread overview]
Message-ID: <77e82a3f0409080651732d891e@mail.gmail.com> (raw)
> 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?
As I had mentioned in my earlier post, I wanted to use virtual
framebuffer to simulate the display of my target device (say some PDA
with size 320*480 ). With vesafb, I will not be able to change the
resolution ( fbset fails telling, invalid argument )
Is there any other framebuffer based methods to simulate a display ?
Regards
Shivappa
-------------------------------------------------------
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
next reply other threads:[~2004-09-08 13:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-08 13:51 Shivappa Kushtagi [this message]
2004-09-09 0:31 ` Re: Virtual framebuffer driver - mmap problem Antonino A. Daplas
2004-09-09 8:31 ` Geert Uytterhoeven
2004-09-09 10:16 ` Antonino A. Daplas
-- strict thread matches above, loose matches on Subject: below --
2004-09-08 11:34 Shivappa Kushtagi
2004-09-08 12:07 ` Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=77e82a3f0409080651732d891e@mail.gmail.com \
--to=kushtagi@gmail.com \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).