From bbe8283c309405e5daeb1c0d35dd43c76573c97d Mon Sep 17 00:00:00 2001 From: Meli Date: Tue, 2 Apr 2024 23:37:59 -0500 Subject: [PATCH] Load soc_button_array module on Surface On Microsoft Surface devices, the power and volume buttons are handled by soc_button_array. The commit enables this functionality in Android by loading the soc_button_array kernel module on startup. --- init.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/init.sh b/init.sh index b99eab8..356550c 100644 --- a/init.sh +++ b/init.sh @@ -656,6 +656,7 @@ function init_hal_surface() case "$UEVENT" in *Surface*Pro*[4-9]*|*Surface*Book*|*Surface*Laptop*[1~4]*|*Surface*Laptop*Studio*) start iptsd_runner + modprobe soc_button_array ;; esac }