accessing the contents of video memory

Mulyadi Santosa mulyadi.santosa at gmail.com
Sun Jan 16 10:03:07 EST 2011


On Sun, Jan 16, 2011 at 01:55, Elvis Y. Tamayo Moyares
<etmoyares at grm.uci.cu> wrote:
> Hello list. How I can access the video memory directly from user
> space? I tried to map the framebuffer (/dev/fb0) using mmap() and
> ioctl(), but I have not been successful. Really I want to make a copy
> of the contents of video memory and save it  as an image. have any
> suggestions?

Hi, probably not the brightest idea, but have check and try to read
(carefully) these memory area, such as:
$ cat /proc/iomem  | grep -i video
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list