浏览代码

adding support for Surface Pro 6

Jake Day 6 年之前
父节点
当前提交
6953a35a92
共有 2 个文件被更改,包括 11 次插入1 次删除
  1. 1 1
      README.md
  2. 10 0
      setup.sh

+ 1 - 1
README.md

@@ -1,6 +1,6 @@
 # Linux Surface
 
-Linux running on the Surface Book, Surface Book 2, Surface Go, Surface Pro 3, Surface Pro 4, Surface Pro 2017 and Surface Laptop. Follow the instructions below to install the latest kernel and config files.
+Linux running on the Surface Book, Surface Book 2, Surface Go, Surface Pro 3, Surface Pro 4, Surface Pro 2017, Surface Pro 6, Surface Laptop and Surface Laptop 2. Follow the instructions below to install the latest kernel and config files.
 
 ### What's Working
 

+ 10 - 0
setup.sh

@@ -97,6 +97,16 @@ if [ "$SUR_MODEL" = "Surface Pro 2017" ]; then
 	unzip -o firmware/i915_firmware_kbl.zip -d /lib/firmware/i915/
 fi
 
+if [ "$SUR_MODEL" = "Surface Pro 6" ]; then
+	echo "\nInstalling IPTS firmware for Surface Pro 6...\n"
+	mkdir -p /lib/firmware/intel/ipts
+	unzip -o firmware/ipts_firmware_v102.zip -d /lib/firmware/intel/ipts/
+
+	echo "\nInstalling i915 firmware for Surface Pro 6...\n"
+	mkdir -p /lib/firmware/i915
+	unzip -o firmware/i915_firmware_kbl.zip -d /lib/firmware/i915/
+fi
+
 if [ "$SUR_MODEL" = "Surface Laptop" ]; then
 	echo "\nInstalling IPTS firmware for Surface Laptop...\n"
 	mkdir -p /lib/firmware/intel/ipts