bangkk: Correct double tap and udfps nodes
Change-Id: I323ffa5a0e4a33ee73005d12cdb3f919845b6bdb
This commit is contained in:
parent
970bee09bd
commit
50932d16a4
2 changed files with 7 additions and 4 deletions
|
@ -5,6 +5,12 @@ on post-fs
|
|||
chown system system /sys/devices/platform/soc/4804000.ufshc/clkgate_enable
|
||||
chown system system /sys/devices/platform/soc/4804000.ufshc/devfreq/4804000.ufshc/min_freq
|
||||
|
||||
# Sensors
|
||||
chown system system /sys/devices/platform/soc/4a80000.spi/spi_master/spi0/spi0.0/touchscreen/primary/double_tap_enabled
|
||||
chown system system /sys/devices/platform/soc/4a80000.spi/spi_master/spi0/spi0.0/touchscreen/primary/double_tap_pressed
|
||||
chown system system /sys/devices/platform/soc/4a80000.spi/spi_master/spi0/spi0.0/touchscreen/primary/udfps_enabled
|
||||
chown system system /sys/devices/platform/soc/4a80000.spi/spi_master/spi0/spi0.0/touchscreen/primary/udfps_pressed
|
||||
|
||||
on post-fs-data
|
||||
|
||||
chown system system /sys/devices/platform/soc/soc:fm_wcn39x0/elna_en
|
||||
|
@ -80,9 +86,6 @@ on boot
|
|||
chown root input /sys/class/sensors/Moto\ CapSense\ Ch3/poll_delay
|
||||
chown root input /sys/class/sensors/Moto\ CapSense\ Ch4/enable
|
||||
chown root input /sys/class/sensors/Moto\ CapSense\ Ch4/poll_delay
|
||||
# Change ownership for touch gesture
|
||||
chown root input /sys/class/sensors/dt-gesture/enable
|
||||
chown root input /sys/class/sensors/dt-gesture/poll_delay
|
||||
# touch
|
||||
chown system system /sys/class/touchscreen/primary/interpolation
|
||||
chmod 0660 /sys/class/touchscreen/primary/interpolation
|
||||
|
|
|
@ -120,7 +120,7 @@ class SysfsPollingOneShotSensor : public OneShotSensor {
|
|||
int mPollFd;
|
||||
};
|
||||
|
||||
const std::string kTsPath = "/sys/devices/platform/soc/a94000.spi/spi_master/spi0/spi0.0/touchscreen/primary/";
|
||||
const std::string kTsPath = "/sys/devices/platform/soc/4a80000.spi/spi_master/spi0/spi0.0/touchscreen/primary/";
|
||||
|
||||
const std::string kTsDoubleTapPressedPath = kTsPath + "double_tap_pressed";
|
||||
const std::string kTsDoubleTapEnabledPath = kTsPath + "double_tap_enabled";
|
||||
|
|
Loading…
Reference in a new issue