From: James L. <ja...@ak...> - 2005-08-18 18:11:14
|
If you don't see Tux, the penguin, on boot up, you didn't get a working = frame buffer (usually). What is your video card? There are a number of individual choices you need to make in the kernel = config to make it all work. Some video chip sets work better than others. So far, I've had good luck with anything Matrox. http://www.akrobiz.com/ezfb/ ~James. :o) ----- Original Message -----=20 From: William Estrada=20 To: lin...@li...=20 Sent: Wednesday, August 17, 2005 1:34 PM Subject: [Linux-fbdev-users] Getting started Hi guys, Would someone please point me to a 'Getting started' URL for = framebuffer support? I am running Fedora Core 4 and I have rebuilt the kernel to make = sure FB support is in the kernel. I have a simple FB program that I have=20 compiled but everytime I try to run it, I get: Error: cannot open framebuffer device /dev/fb0. - No such device = rc=3D-1 The open code looks like this: // Open the file for reading and writing char* FB =3D "/dev/fb0"; int fbfd =3D 0; fbfd =3D open( FB, O_RDWR); if (fbfd < 0) { printf("Error: cannot open framebuffer device %s. - %s = rc=3D%d\n", FB, strerror(errno), fbfd); exit(1); } printf("The framebuffer device was opened successfully. - %d\n", = fbfd ); I have done the mkdir: [wre00@Shrek FB]$ ls -lrt /dev/fb* crwxrwxr-x 1 wre00 root 29, 0 Aug 17 10:05 /dev/fb0 Any ideas/help?? --=20 William Estrada -- MrUmunhum at popdial dot com -- 408-997-0743 Ymessenger ID: MrUmunhum HTTP://Mt-Umunhum-Wireless.net |