sdm710-common: Update touchscreen firmware

* Fixes touch not working after boot

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
SamarV-121 2019-11-26 09:30:28 +00:00
parent b7a5650490
commit 6d8e8d4426

View file

@ -8,6 +8,10 @@ on boot
chown system system /proc/touchpanel/double_tap_enable chown system system /proc/touchpanel/double_tap_enable
chown 0660 /proc/touchpanel/double_tap_enable chown 0660 /proc/touchpanel/double_tap_enable
# Update touchscreen firmware
chown system system /proc/touchpanel/tp_fw_update
write /proc/touchpanel/tp_fw_update 1
# OTG # OTG
write /sys/class/power_supply/usb/otg_switch 1 write /sys/class/power_supply/usb/otg_switch 1