On Thu, 30 Aug 2001, Chris Wright wrote:
> > Sorry for the following stupid questions, :) I am a new comer to the
> > frame buffer devices of linux, I am supposed to write the frame buffer
> > device driver for scorpion graphic chip(Motorola MC92110 ) and first
> > like to play around the frame buffer device like vfb or VESA. Could
> > anybody point me some simple examples to use this kind of devices, like
> > draw a line or...
>
> Hello! recently, a friend of mine and myself faced a similar challenge.
> unfortunately, there was no one to answer this, so we forged ahead
> blindly, and figured out what we could. take a look at
> gdr.softpixel.com/spurtg for a program that uses framebuffer (we wrote
> this). download the tarball, and take a look at gfx.c in the src dir.
> basically, you open the device, call some ioctl's (outlined in linux/fb.h
> i think), and thats all you need. it helps to mmio it so it becomes a
> large array. if you need some more help, we can try to help you out.
You can also take a look at the sources of fbtest (CVS module fbtest).
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li...
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
|