Skip to contentSkip to conversation

fb use

DISCUSSION David Riley 2 participants 2 messages Oct 10, 1999

lore
Share & tools
lore
#0 lore raw

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). Any help?

Thanks,
David

Signature · 4 lines
--"Your mouse has been moved.  Windows 95 must be restarted for change
to take effect."

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
#1 lore raw
Quoted 3 lines · David Riley

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__"?

Quoted 1 line

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/