Files
device_xiaomi_stone/rootdir/bin/init.goodix.events.sh
coduxer 49da079a94 sm6375-common: rootdir: Fix fingerprint goodix events
[1] - this fixing the goodix issue when long press the powerbutton due
annoying kernel events

Change-Id: I8d3e867de2f0c30a46c371a36b691cb9011bd519
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-08-25 20:49:49 +07:00

9 lines
195 B
Bash

#! /vendor/bin/sh
EVENT_NAME=$(tr "\n" " " < /proc/bus/input/devices | \
grep -o "uinput-goodix.*" | \
grep -Eo "event[0-9]+" | \
head -1)
[ -z "$EVENT_NAME" ] && exit
rm /dev/input/$EVENT_NAME