Re: Support for frame buffer in N800
Hi, ext Siarhei Siamashka wrote: >> I want to know if there is frame buffer support in N800. >> I have written a simple application (drawing a pixel) on frame buffer and >> tried to execute it on N800 in root mode. >> But it prompts the message "permission denied". >> Please let me know if there is support for frame buffer in N800. If there >> is support then how can I use it? > > Yes, it is available. You should use /dev/fb0 if you want RGB color format > (/dev/fb1 and /dev/fb2 are used for video planes generally in YUV color > format). > > But do you absolutely need to use framebuffer? Using framebuffer directly > introduces a lot of problems synchronizing access to it with xserver (and it > can't be done in a completely right way currently as far as I know). Using framebuffer is completely acceptable solution if one doesn't use Xserver and rest of the UI. I.e. wants to replace the whole UI framework. I don't think there's much sense in this, but hey, it's an option. :-) - Eero ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Support for frame buffer in N800
On Wednesday 21 March 2007 09:58, Sampath Goud wrote: > I want to know if there is frame buffer support in N800. > I have written a simple application (drawing a pixel) on frame buffer and > tried to execute it on N800 in root mode. > But it prompts the message "permission denied". > Please let me know if there is support for frame buffer in N800. If there > is support then how can I use it? Yes, it is available. You should use /dev/fb0 if you want RGB color format (/dev/fb1 and /dev/fb2 are used for video planes generally in YUV color format). But do you absolutely need to use framebuffer? Using framebuffer directly introduces a lot of problems synchronizing access to it with xserver (and it can't be done in a completely right way currently as far as I know). ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: Support for frame buffer in N800
Sampath Goud wrote: Hi, I want to know if there is frame buffer support in N800. Yes. No support for console on framebuffer but generic framebuffer support shoud be there. Check /proc/fb. Maybe you are using wrong device? There are three on N800 (one on N770). Not sure why it is like this and why there is difference between N770 and N800 but try the one with higher number (2?). I have written a simple application (drawing a pixel) on frame buffer and tried to execute it on N800 in root mode. But it prompts the message "permission denied". It should work but there is one small problem, see below :-) Please let me know if there is support for frame buffer in N800. If there is support then how can I use it? Problem is that the videochip is external so you won't see any output until you either issue proper update ioctl to update rectangle after you write your pixels or set the update mode to automatic (which is waste of resources, default is manual). Frantisek ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers