porch值:
adb 进入如下手机目录
cd /sys/kernel/debug/mdss_panel_fb0/intf0/lcdc/
分别cat如下6个节点h_front_porch,h_back_porch,h_pulse_width,
v_front_porch,v_back_porch,v_pulse_width
是否分别为如下值:
qcom,mdss-dsi-h-front-porch = <48>;
qcom,mdss-dsi-h-back-porch = <28>;
qcom,mdss-dsi-h-pulse-width = <16>;
qcom,mdss-dsi-v-front-porch = <52>;
qcom,mdss-dsi-v-back-porch = <40>;
qcom,mdss-dsi-v-pulse-width = <8>;
速率:
adb shell “cat sys/kernel/debug/mdss_panel_fb0/intf0/clk_rate”
设置背光阶数:
adb shell settings put system screen_brightness 150
查看屏幕信息:
C:\Windows\SysWOW64\adb
adb shell “cat sys/class/graphics/fb0/msm_fb_panel_info”
adb shell “cat sys/class/leds/lcd-backlight/brightness”
adb shell “echo 2048 > sys/class/leds/lcd-backlight/brightness”
adb shell input swipe 500 1200 500 700
adb shell settings put system screen_off_timeout 600000
录屏相关
adb shell screenrecord /sdcard/test.mp4
adb pull sdcard/test.mp4 (本地文件夹)
查看I2c情况
/sys/bus/i2c/devices/2-003e
cd /sys/firmware/devicetree/base就到这个目录去查找是否包含你添加的ndoe和property