fb use

Takashi Oe toe at unlserve.unl.edu
Mon Oct 11 05:31:26 EST 1999


On Sun, 10 Oct 1999, David Riley wrote:

> How do I get a program to access the fb?  I #included <linux/fb.h>, and
> I can use all the various structs, but none of the functions (e.g.
> fb_open) work (it fails in the linking, giving an undefined reference). 

They are not userland functions, and, thus, they can't be called.  Are
they not inside "#ifdef __KERNEL__"?

> Any help?

Take a look at any number of fb based userland programs such as fbtv and
fbi.  Their sources are available at xawtv's home page:
	http://www.in-berlin.de/User/kraxel/xawtv.html


Takashi Oe


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list