root@k101:/ # cat /sys/class/lcd/debug
Usage:
echo basic
echo type
echo clock <lcd_cl
k>
echo sync
echo valid
data format:
echo ttl
echo lvds
echo mdsi
echo edp
data format:
echo offset
echo dither
echo vadj
data format:
echo write > debug ; update lcd driver
echo reset > debug ; reset lcd config & driver
echo read > debug ; read current lcd config
echo test
echo 0/1 > status ; 0=disable lcd; 1=enable lcd
cat status ; read current lcd status
Usage:
echo basic
echo type
echo clock
echo sync
echo valid
data format:
sitive
echo ttl
echo lvds
echo mdsi
echo edp
data format:
echo offset
echo dither
echo vadj
data format:
echo write > debug ; update lcd driver
echo reset > debug ; reset lcd config & driver
echo read > debug ; read current lcd config
echo test
echo 0/1 > status ; 0=disable lcd; 1=enable lcd
cat status ; read current lcd status
root@k101:/sys/class/lcd # echo read > debug
[ 7258.061871@0] lcd driver version: 20140805c8
[ 7258.061871@0]
[ 7258.062388@0] LCD mode: CLAP070NJ02, TTL 6bit, 1024x600@50.0Hz
[ 7258.062388@0] lcd_clk 42.699MHz
[ 7258.062388@0] ss_level 0
[ 7258.062388@0] clk_pol 0
[ 7258.062388@0]
[ 7258.082124@0] h_period 1344
[ 7258.082124@0] v_period 635
[ 7258.082124@0] hs_width 10
[ 7258.082124@0] hs_backporch 160
[ 7258.082124@0] hs_pol 0
[ 7258.082124@0] vs_width 5
[ 7258.082124@0] vs_backporch 23
[ 7258.082124@0] vs_pol 0
[ 7258.082124@0] vs_h_phase 0
[ 7258.082124@0] hvsync_valid 1
[ 7258.082124@0] de_valid 1
[ 7258.082124@0] h_offset 0
[ 7258.082124@0] v_offset 0
[ 7258.082124@0]
[ 7258.129269@0] rb_swap 0
[ 7258.129269@0] bit_swap 0
[ 7258.129269@0]
[ 7258.134175@0] pll_ctrl 0x01000438
[ 7258.134175@0] div_ctrl 0x00018833
[ 7258.134175@0] clk_ctrl 0x8eee1002
[ 7258.134175@0] video_on_pixel 300
[ 7258.134175@0] video_on_line 35
[ 7258.134175@0]
cd /sys/devices/platform/backlight/backlight/aml-bl/brightness
echo sync
echo sync 10 160 0 5 23 0 > debug
手机扫一扫
移动阅读更方便
你可能感兴趣的文章