Results 1 to 5 of 5

Thread: how to create a /dev/fb0 device

  1. #1
    Join Date
    Aug 2008
    Location
    India
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Question how to create a /dev/fb0 device

    I am using an application that uses the frame buffer devices but when I run it I get this error.
    Code:
    Open /dev/fb0 : No such file or directory
    As the problem says this is because there is no such file or directory..
    so I think probably creating one will solve the problem..
    So, can anyone suggest a way to create this frame buffer device..

  2. #2
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!

    Re: how to create a /dev/fb0 device

    Quote Originally Posted by shredder12 View Post
    I am using an application that uses the frame buffer devices but when I run it I get this error.
    Code:
    Open /dev/fb0 : No such file or directory
    As the problem says this is because there is no such file or directory..
    so I think probably creating one will solve the problem..
    So, can anyone suggest a way to create this frame buffer device..
    I have never used it but I think you need
    Code:
    sudo mknod /dev/fb0
    but you may need some options in there as well. Have a look at man mknod for more info.

  3. #3
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: how to create a /dev/fb0 device

    Just set a framebuffer resolution in GRUB and reboot.
    https://wiki.ubuntu.com/FrameBuffer#...utions in GRUB

  4. #4
    Join Date
    Aug 2008
    Location
    India
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: how to create a /dev/fb0 device

    ya now I am able to use both of the applications..
    view image as well as the pdf..
    but I am having some trouble with the resolution..
    actually the problem is only with the alignment of the ubuntu logo at the time of boot..
    its not at the center..
    so I was wondering if there is a way to align it..

  5. #5
    Join Date
    Dec 2007
    Location
    Birmingham, England
    Beans
    182
    Distro
    Ubuntu Development Release

    Re: how to create a /dev/fb0 device

    I'm having a bit of trouble with this myself. I've tried executing "sudo mknod /dev/fb0" but got "mknod: missing operand after `/dev/fb0'"

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •