From: Chih-Wei Huang Date: Tue, 6 Sep 2016 18:47:19 +0000 (+0800) Subject: init.sh: fix ASUS T100 buttons X-Git-Tag: android-x86-6.0-r1~2 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fdevice-generic-common.git;a=commitdiff_plain;h=34a78d5cb6e9797eba6caec2604e2c3f349a2fc2 init.sh: fix ASUS T100 buttons It's strange the module soc_button_array can't detect the input devices on being loaded by ueventd. The workaround is to unload and reload it. --- diff --git a/init.sh b/init.sh index e9bbb98..596b18c 100644 --- a/init.sh +++ b/init.sh @@ -340,6 +340,10 @@ function do_bootcomplete() lsmod | grep -e brcmfmac && setprop wlan.no-unload-driver 1 case "$PRODUCT" in + T10*TA) + rmmod soc_button_array + modprobe soc_button_array + ;; 1866???|1867???|1869???) # ThinkPad X41 Tablet start tablet-mode start wacom-input