Hi,
I need to get access to the framebuffer on the Revue. I have root (via latest HC3.1 ROM) but looking under /dev shows no 'graphics' node underneath it.
Is it renamed or accessible some other way?
Thanks,
Reuben
Where is /dev/graphics/fb0 ?
Moderator: Revue Mod
Re: Where is /dev/graphics/fb0 ?
You could take a look at the file /proc/devices.
If a FrameBuffer is provided by the kernel there should be line like "29 fb" under character devices.
If there is no entry "fb"(the number could be different although it shouldn't) there is no chance to read the framebuffer in this way.
But if this entry exists you can look at the files in /dev (and the many subfolders) with the command "ls -l"
This could look like this:
If you can't find the device-node or you don't want to search where it's located you can manually create the node with this commands:
I hope this will help you
If a FrameBuffer is provided by the kernel there should be line like "29 fb" under character devices.
If there is no entry "fb"(the number could be different although it shouldn't) there is no chance to read the framebuffer in this way.
But if this entry exists you can look at the files in /dev (and the many subfolders) with the command "ls -l"
This could look like this:
Where 29 is the major-number and 0 the minor-number.crw-rw---- 1 root graphics 29, 0 Nov 5 08:32 /dev/graphics/fb0
If you can't find the device-node or you don't want to search where it's located you can manually create the node with this commands:
Please note to put in the correct major/minor-numbers if they are different.mkdir -p /dev/graphics
mknod /dev/graphics/fb0 c 29 0
I hope this will help you