Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: georgp24 on November 11, 2013, 05:20:26 PM

Title: Accessing frame buffer device in Core 4.7.7
Post by: georgp24 on November 11, 2013, 05: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
Title: Re: Accessing frame buffer device in Core 4.7.7
Post by: tinypoodle on November 11, 2013, 05:43:53 PM
Please post output of "fbset".
Title: Re: Accessing frame buffer device in Core 4.7.7
Post by: gerald_clark on November 11, 2013, 05:50:26 PM
Did you install the xf86-video-xxx.tcz that corresponds to your hardware?
Title: Re: Accessing frame buffer device in Core 4.7.7
Post by: georgp24 on November 12, 2013, 02:05:48 AM
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.
Title: Re: Accessing frame buffer device in Core 4.7.7
Post by: curaga on November 12, 2013, 08:16:30 AM
You need to boot in a framebuffer mode to have the device exist. One of the vga= bootcodes for example.
Title: Re: Accessing frame buffer device in Core 4.7.7
Post by: georgp24 on November 12, 2013, 01:02:05 PM
Pooh! Thank you very much curaga, this seems to work!