summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorshadoukun2017-11-25 01:46:46 -0500
committershadoukun2017-11-25 01:46:46 -0500
commit664837ac444908b9c6544575b46fc7773b7bbc08 (patch)
tree270f7bd13a76f3b2eca39f0ca383750f6fcd66bf
parenta0eb6bf18d3c2e387d2096c0e4216e39fe6678a3 (diff)
downloadaur-664837ac444908b9c6544575b46fc7773b7bbc08.tar.gz
Add firmware instructions, for real.
-rw-r--r--linux.install72
1 files changed, 62 insertions, 10 deletions
diff --git a/linux.install b/linux.install
index 04627758414..b7f8ef5d9d8 100644
--- a/linux.install
+++ b/linux.install
@@ -2,6 +2,8 @@ post_install () {
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
depmod %KERNVER%
+
+ firmware_instruct
}
post_upgrade() {
@@ -9,19 +11,69 @@ post_upgrade() {
echo "WARNING: /boot appears to be a separate partition but is not mounted."
fi
- # updating module dependencies
- echo ">>> Updating module dependencies. Please wait ..."
- depmod %KERNVER%
-
- if [ $(vercmp $2 3.13) -lt 0 ]; then
- echo ">>> WARNING: AT keyboard support is no longer built into the kernel."
- echo ">>> In order to use your keyboard during early init, you MUST"
- echo ">>> include the 'keyboard' hook in your mkinitcpio.conf."
- fi
+ firmware_instruct
}
post_remove() {
- # also remove the compat symlinks
rm -f boot/initramfs-%PKGBASE%.img
rm -f boot/initramfs-%PKGBASE%-fallback.img
}
+
+
+firmware_instruct() {
+
+ echo -e "
+ #### Firmware Installation Instructions ####
+
+
+ ## WIFI ##
+
+ Install the latest Marvell firmware:
+
+ $ git clone git://git.marvell.com/mwifiex-firmware.git
+ $ sudo mkdir -p /lib/firmware/mrvl/
+ $ sudo cp mwifiex-firmware/mrvl/* /lib/firmware/mrvl/
+
+
+ ## IPTS / Touchscreen ##
+
+ To enable the touchscreen to function properly,
+ the proper firmware for your device must be downloaded.
+
+ i915 Firmware:
+ https://github.com/jakeday/linux-surface/raw/master/i915_firmware.zip
+
+ Extract i915_firmware.zip to /lib/firmware/i915/:
+
+ $ sudo mkdir -p /lib/firmware/i915
+ $ sudo unzip i915_firmware.zip -d /lib/firmware/i915/
+
+
+ IPTS Firmware:
+
+ v76 for the Surface Book
+ https://github.com/jakeday/linux-surface/raw/master/ipts_firmware_v76.zip
+
+ v78 for the Surface Pro 4
+ https://github.com/jakeday/linux-surface/raw/master/ipts_firmware_v78.zip
+
+ v79 for the Surface Laptop
+ https://github.com/jakeday/linux-surface/raw/master/ipts_firmware_v79.zip
+
+ v101 for Surface Book 2 15\"
+ https://github.com/jakeday/linux-surface/raw/master/ipts_firmware_v101.zip
+
+ v102 for the Surface Pro 2017
+ https://github.com/jakeday/linux-surface/raw/master/ipts_firmware_v102.zip
+
+ v137 for the Surface Book 2 13\"
+ https://github.com/jakeday/linux-surface/raw/master/ipts_firmware_v137.zip
+
+
+ Extract ipts_firmware_[VERSION].zip to /lib/firmware/intel/ipts/
+
+ $ sudo mkdir -p /lib/firmware/intel/ipts
+ $ sudo unzip ipts_firmware_[VERSION].zip -d /lib/firmware/intel/ipts/
+
+ "
+} \ No newline at end of file