oriole: grant write access to the LHBM node

Bug: 182520014
Test: on device
Change-Id: I5c23c93ee0aa5fad745bf2344581d07e2e64b01c
This commit is contained in:
Ilya Matyukhin 2021-03-19 12:36:23 -07:00
parent 36dd88a33d
commit c0695517bc

View file

@ -31,6 +31,10 @@ on fs
# Start the twoshay touch service
start twoshay
# LHBM
# FIXME(b/183223359): Only grant write access to SystemUI.
chmod 0666 /sys/class/drm/card0/card0-DSI-1/panel/backlight/panel0-backlight/local_hbm_mode
# Toggle glove_mode according to touch_sensitivity_mode
on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_completed=1
write /sys/class/spi_master/spi11/spi11.0/glove_mode 00