OSDN Git Service

init.sh: let touchscreen never suspend on Surface Go
[android-x86/device-generic-common.git] / init.sh
diff --git a/init.sh b/init.sh
index 7b205f9..d6257ac 100644 (file)
--- a/init.sh
+++ b/init.sh
@@ -421,6 +421,9 @@ function do_bootcomplete()
                        setkeycodes 0x66 172
                        setkeycodes 0x6b 127
                        ;;
+               Surface*Go)
+                       echo on > /sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/power/control
+                       ;;
                *)
                        ;;
        esac