Re: Getting started

"James Lehman" <[email protected]>
Newsgroups gmane.linux.fbdev.user
Message-ID <016e01c5a382$1a5d3840$ef00a8c0@bug>
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 ----- 
  From: William Estrada 
  To: [email protected] 
  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 
  compiled but everytime I try to run it, I get:

    Error: cannot open framebuffer device /dev/fb0. - No such device rc=-1

    The open code looks like this:

        // Open the file for reading and writing
        char*  FB   = "/dev/fb0";
        int    fbfd = 0;
        fbfd = open( FB, O_RDWR);
        if (fbfd < 0) {
          printf("Error: cannot open framebuffer device %s. - %s rc=%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??

  -- 
    William Estrada   --  MrUmunhum at popdial dot com  --  408-997-0743
    Ymessenger ID: MrUmunhum
    HTTP://Mt-Umunhum-Wireless.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.