sm8250-common: Import Xiaomi TouchFeature service
This commit is contained in:
BIN
proprietary/vendor/bin/hw/vendor.xiaomi.hardware.touchfeature@1.0-service
vendored
Executable file
BIN
proprietary/vendor/bin/hw/vendor.xiaomi.hardware.touchfeature@1.0-service
vendored
Executable file
Binary file not shown.
BIN
proprietary/vendor/bin/toucheventcheck
vendored
Executable file
BIN
proprietary/vendor/bin/toucheventcheck
vendored
Executable file
Binary file not shown.
21
proprietary/vendor/etc/init/vendor.xiaomi.hardware.touchfeature@1.0-service.rc
vendored
Normal file
21
proprietary/vendor/etc/init/vendor.xiaomi.hardware.touchfeature@1.0-service.rc
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# Copyright (c) 2017 Xiaomi, Inc.
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Xiaomi, Inc.
|
||||
#
|
||||
on boot
|
||||
chown system system /dev/xiaomi-touch
|
||||
chmod 0664 /dev/xiaomi-touch
|
||||
chown system system /sys/class/touch/tp_dev/fod_status
|
||||
chmod 0664 /sys/class/touch/tp_dev/fod_status
|
||||
|
||||
service touchfeature-hal-1-0 /vendor/bin/hw/vendor.xiaomi.hardware.touchfeature@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system system
|
||||
onrestart restart touchfeature
|
||||
|
||||
service toucheventcheck /vendor/bin/toucheventcheck
|
||||
class main
|
||||
user root
|
||||
group system
|
||||
oneshot
|
||||
BIN
proprietary/vendor/lib64/hw/vendor.xiaomi.hardware.touchfeature@1.0-impl.so
vendored
Normal file
BIN
proprietary/vendor/lib64/hw/vendor.xiaomi.hardware.touchfeature@1.0-impl.so
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user