summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--linux-macbook.install5
3 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a4b708fd517f..00357c0f3508 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-macbook
pkgver = 4.8.2
- pkgrel = 1
+ pkgrel = 2
url = http://www.kernel.org/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 703e2a7496ee..01b413114510 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgbase=linux-macbook # Build kernel with a different name
_kernelname=-macbook
_srcname=linux-4.8
pkgver=4.8.2
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
license=('GPL2')
diff --git a/linux-macbook.install b/linux-macbook.install
index 30cca44756ad..bd582758fae4 100644
--- a/linux-macbook.install
+++ b/linux-macbook.install
@@ -9,11 +9,14 @@ cat <<-EOF
To get suspend working properly you must do the following:
- Add disable_mode=1 to your kernel boot options.
+ Add disable_mode=1 and processor.ignore_ppc=1 to your kernel boot options.
In my case I use grub so I appended this to GRUB_CMDLINE_LINUX
in /etc/default/grub and then ran the following command as root:
grub-mkconfig -o /boot/grub/grub.cfg
+ disable_mode=1 allows waking correctly from suspend
+ processor.ignore_ppc=1 allows changing the CPU frequency when on battery
+
Install rc-local from the AUR and add the following to /etc/rc.local:
awk '$3 ~ "enabled" {print $1}' /proc/acpi/wakeup | xargs -I{} echo "{}" > /proc/acpi/wakeup
echo LID0 > /proc/acpi/wakeup