Skip to content

Commit

Permalink
adding support for surface go
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeday committed Sep 10, 2018
1 parent a25ec54 commit 0286c60
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions root/etc/modprobe.d/ath10k.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
options ath10k_core skip_otp=y
6 changes: 6 additions & 0 deletions root/etc/udev/rules.d/99-touchscreens.rules
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ SUBSYSTEMS=="input", ATTRS{name}=="NTRG0001:01 1B96:1B05 Touchscreen", ENV{ID_IN
# NTRG Pen (SP3)
SUBSYSTEMS=="input", ATTRS{name}=="NTRG0001:01 1B96:1B05 Pen", SYMLINK+="input/pen"

# Touchscreen (SG)
SUBSYSTEMS=="input", ATTRS{name}=="04F3:261A Touchscreen", ENV{ID_INPUT_TOUCHSCREEN}="1", SYMLINK+="input/touchscreen"

# Pen (SG)
SUBSYSTEMS=="input", ATTRS{name}=="04F3:261A Pen", SYMLINK+="input/pen"

# IPTS Touchscreen (SP4)
SUBSYSTEMS=="input", ATTRS{name}=="ipts 1B96:006A Touchscreen", ENV{ID_INPUT_TOUCHSCREEN}="1", SYMLINK+="input/touchscreen"

Expand Down
6 changes: 6 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ if [ "$SUR_MODEL" = "Surface Book 2" ]; then
unzip -o firmware/nvidia_firmware_gp108.zip -d /lib/firmware/nvidia/gp108/
fi

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/
fi

echo "Installing marvell firmware...\n"
mkdir -p /lib/firmware/mrvl/
unzip -o firmware/mrvl_firmware.zip -d /lib/firmware/mrvl/
Expand Down

0 comments on commit 0286c60

Please sign in to comment.