From: Eric Bambach <eric@cisu.net>
To: "J." <mailing-lists@xs4all.nl>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: access & dump framebuffer
Date: Sun, 16 Oct 2005 12:49:02 -0500 [thread overview]
Message-ID: <200510161249.02632.eric@cisu.net> (raw)
In-Reply-To: <Pine.LNX.4.21.0510161257350.737-100000@hestia>
J.
I haven't done this before but perhaps I can get you started.
I wouldnt try to do it from the kernel becuase drivers have already been
written to do that. In order to display an image the kernel will have to be
compiled with FrameBuffer support for whichever videocard the machine has.
Next, I would look into the bootsplash packages and how that uses the
framebuffer device for displaying images. There are also vaious libraries
that you can link traditional X programs against so they can be used in an
environment without X. They use the framebuffer device instead. I seem to
recall that people have even gotten the mozilla browser to open up in a cli
environment. Search for those libraries and see how they do it.
My main point is that you want to do is find out how to use the video
framebuffer device once you know the machine's kernel supports it.
Hope that gets you started!
On Sunday 16 October 2005 06:01 am, J. wrote:
> Sunday, October 16 12:57:35
>
> Hi ..
>
> Question - I was thinking about writing a program that creates a
> screendump [image] only from the cli. [not X]. Where should I access
> the data that is displayed on the screen? Directly from the hardware, or
> from the kernel somewhere or .. ?
>
> Any comments, thoughts or hints are appreciated.
>
> Thankx.
>
> J.
--
----------------------------------------
--EB
> All is fine except that I can reliably "oops" it simply by trying to read
> from /proc/apm (e.g. cat /proc/apm).
> oops output and ksymoops-2.3.4 output is attached.
> Is there anything else I can contribute?
The latitude and longtitude of the bios writers current position, and
a ballistic missile.
--Alan Cox LKML-December 08,2000
----------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2005-10-16 17:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-16 11:01 access & dump framebuffer J.
2005-10-16 17:49 ` Eric Bambach [this message]
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=200510161249.02632.eric@cisu.net \
--to=eric@cisu.net \
--cc=linux-c-programming@vger.kernel.org \
--cc=mailing-lists@xs4all.nl \
/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).