View Single Post
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#7
Code:
echo 0 > /sys/class/graphics/fb0/blank
echo 20 > /sys/class/backlight/acx565akm/brightness
You can then write to the framebuffer manually to have it display stuff.
I'm not sure what disables rendering UI elements such as the desktop, probably some code in hildon-desktop

As an example:
Code:
# With the screen on
cat /dev/fb0 > rawscreenshot
# Lock screen with side button
echo 0 > /sys/class/graphics/fb0/blank
echo 20 > /sys/class/backlight/acx565akm/brightness
cat rawscreenshot > /dev/fb0
# You should see your screenshot on the framebuffer
Optionally, this enables the touchscreen.
Code:
echo 0 > /sys/devices/platform/omap2_mcspi.1/spi1.0/disable_ts
 

The Following 13 Users Say Thank You to MohammadAG For This Useful Post: