Writing to Android Frame Buffer - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Android on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=5) +--- Thread: Writing to Android Frame Buffer (/showthread.php?tid=2705) |
Writing to Android Frame Buffer - Vasant - 11-09-2016 Hi, I am trying to write to the android frame buffer as root and nothing shows up on screen. cat /dev/urandom > /dev/graphics/fb0 Any ideas why this doesn't work ? Vasant RE: Writing to Android Frame Buffer - ayufan - 11-11-2016 Because this is not how it works. All FB processing is done by SurfaceFlinger which is responsible for managing and flushing them to screen. RE: Writing to Android Frame Buffer - Vasant - 11-11-2016 I is true that Androis uses Surface Flinger. But what I am trying to do is write directly though the device interface. This does work on ODROID-C2 Android and few other devices. Perhaps it has been disabled for Allwinner. Vasant RE: Writing to Android Frame Buffer - MarkHaysHarris777 - 11-11-2016 hi, the frame buffer console does not work ( on the pine board ) for gnu+linux either, unless you use the experimental DRM kernel patch. This is a serious glitch for gnu+linux also, because power linux users leverage the six(6) frame-buffer consoles ( some call black screens ) profusely; so for some people its a show stopper, haha I've actually gotten used to edit with VI without a cursor on the linux frame-buffer. This sound even more ominous, because you can't get ANY output to the FB con ? |