Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rock/display"

(Created page with "{{Languages|rock/display}}")
 
Line 1: Line 1:
 
{{Languages|rock/display}}
 
{{Languages|rock/display}}
 +
 +
The cpu of Radxa Rock - RK3188 has two LCD controllers, LCD0 and LCD1. On RR, LCD0 is connected to HDMI and LCD1 is connect to AV out and the LCD1 signal are also exported on the extension header.
 +
 +
There is some sysfs interface exported to control the framebuffer under /sys/devices/platform/rk-fb/graphics/
 +
    root@radxa:~# cd /sys/devices/platform/rk-fb/graphics/fb0
 +
* set display scale
 +
    root@radxa:/sys/devices/platform/rk-fb/graphics/fb0# cat scale
 +
    xscale=95 yscale=95
 +
    root@radxa:/sys/devices/platform/rk-fb/graphics/fb0# echo xscale=100 > scale   
 +
    root@radxa:/sys/devices/platform/rk-fb/graphics/fb0# echo yscale=100 > scale   
 +
    root@radxa:/sys/devices/platform/rk-fb/graphics/fb0# cat scale
 +
    xscale=100 yscale=100

Revision as of 06:16, 7 March 2014

The cpu of Radxa Rock - RK3188 has two LCD controllers, LCD0 and LCD1. On RR, LCD0 is connected to HDMI and LCD1 is connect to AV out and the LCD1 signal are also exported on the extension header.

There is some sysfs interface exported to control the framebuffer under /sys/devices/platform/rk-fb/graphics/

   root@radxa:~# cd /sys/devices/platform/rk-fb/graphics/fb0
  • set display scale
   root@radxa:/sys/devices/platform/rk-fb/graphics/fb0# cat scale
   xscale=95 yscale=95
   root@radxa:/sys/devices/platform/rk-fb/graphics/fb0# echo xscale=100 > scale     
   root@radxa:/sys/devices/platform/rk-fb/graphics/fb0# echo yscale=100 > scale     
   root@radxa:/sys/devices/platform/rk-fb/graphics/fb0# cat scale
   xscale=100 yscale=100