adding touchscreen patch to setup.sh for surface go
This commit is contained in:
parent
780a083b0a
commit
8535dcc3ce
7
setup.sh
7
setup.sh
|
@ -161,6 +161,13 @@ if [ "$SUR_MODEL" = "Surface Go" ]; then
|
|||
echo "\nInstalling ath10k firmware for Surface Go...\n"
|
||||
mkdir -p /lib/firmware/ath10k
|
||||
unzip -o firmware/ath10k_firmware.zip -d /lib/firmware/ath10k/
|
||||
|
||||
if [ ! -f "/etc/init.d/surfacego-touchscreen" ]; then
|
||||
echo "\nPatching power control for Surface Go touchscreen...\n"
|
||||
echo "echo \"on\" > /sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/power/control" > /etc/init.d/surfacego-touchscreen
|
||||
chmod 755 /etc/init.d/surfacego-touchscreen
|
||||
update-rc.d surfacego-touchscreen defaults
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Installing marvell firmware...\n"
|
||||
|
|
Loading…
Reference in a new issue