WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Accessing frame buffer device in Core 4.7.7  (Read 3344 times)

Offline georgp24

  • Jr. Member
  • **
  • Posts: 58
Accessing frame buffer device in Core 4.7.7
« on: November 11, 2013, 02:20:26 PM »
I try to run an application that accesses the frame buffer on Core 4.7.7. This fails to open /dev/fb0.

When I boot a CD with a plain Core 4.7.7. image on it I can enter "ls /dev/fb0" and see this file is present. But if I enter "sudo wc /dev/fb0" I get "can't open '/dev/fb0' No such device. The same result I get when I enter "sudo cp /dev/fb0 ."

What needs to be done so I can open /dev/fb0 ?

Georg

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Accessing frame buffer device in Core 4.7.7
« Reply #1 on: November 11, 2013, 02:43:53 PM »
Please post output of "fbset".
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Accessing frame buffer device in Core 4.7.7
« Reply #2 on: November 11, 2013, 02:50:26 PM »
Did you install the xf86-video-xxx.tcz that corresponds to your hardware?

Offline georgp24

  • Jr. Member
  • **
  • Posts: 58
Re: Accessing frame buffer device in Core 4.7.7
« Reply #3 on: November 11, 2013, 11:05:48 PM »
When I enter "fbset" I get: "can't open '/dev/fb0' No such device".

I did not install any xf86-video-xxx.tcz driver since I did not want to use X but just the frame buffer device directly. That is why I try to use Core und not TinyCore.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10974
Re: Accessing frame buffer device in Core 4.7.7
« Reply #4 on: November 12, 2013, 05:16:30 AM »
You need to boot in a framebuffer mode to have the device exist. One of the vga= bootcodes for example.
The only barriers that can stop you are the ones you create yourself.

Offline georgp24

  • Jr. Member
  • **
  • Posts: 58
Re: Accessing frame buffer device in Core 4.7.7
« Reply #5 on: November 12, 2013, 10:02:05 AM »
Pooh! Thank you very much curaga, this seems to work!