clover: Configurate for dt2w
Change-Id: I2396c1a37cb016b583e087585acb0bc070d1e5a0
This commit is contained in:
parent
a492558bc9
commit
dd9d51d40a
2 changed files with 7 additions and 0 deletions
|
@ -32,6 +32,9 @@ BOARD_VENDOR_PLATFORM := xiaomi-sdm660
|
|||
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
|
||||
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
|
||||
|
||||
# DT2W
|
||||
TARGET_TAP_TO_WAKE_NODE := "/sys/devices/soc/c177000.i2c/i2c-3/3-0038/fts_gesture_mode"
|
||||
|
||||
# Vendor init
|
||||
TARGET_INIT_VENDOR_LIB := libinit_clover
|
||||
TARGET_RECOVERY_DEVICE_MODULES := libinit_clover
|
||||
|
|
|
@ -132,6 +132,10 @@ on boot
|
|||
chown system system /sys/devices/soc/soc:fpc1020/fingerdown_wait
|
||||
chmod 0660 /sys/devices/soc/soc:fpc1020/fingerdown_wait
|
||||
|
||||
# Touchscreen
|
||||
chown system system /sys/devices/soc/c177000.i2c/i2c-3/3-0038/fts_gesture_mode
|
||||
chmod 0660 /sys/devices/soc/c177000.i2c/i2c-3/3-0038/fts_gesture_mode
|
||||
|
||||
# wendell-20180423 end
|
||||
start getpersistlog
|
||||
|
||||
|
|
Loading…
Reference in a new issue