View Full Version : program with frame buffer

November 6th, 2009, 07:48 AM
Ubuntu 9.10, I have /dev/fb0.
I try a tutorial c source code, and it works on the
embedded board, and works on the PC in my lab as well,
but on my own PC (Ubuntu 9.10) I met the following problem

fd=open("/dev/fb0",O_RDWR); is OK

ioctl(fd,FBIOGET_VSCREENINFO,&vinfo); always error

My task is to draw a point or line,
and I know something about frame buffer.

sorry for my poor English