diff options
author | Tony Lambiris | 2016-10-22 03:48:50 -0400 |
---|---|---|
committer | Tony Lambiris | 2016-10-22 03:48:50 -0400 |
commit | 763618c42d9e9537d9435e85734a2d58fc8c7a78 (patch) | |
tree | 923d811891dab640892432ea09bf248f73d20d5f | |
parent | 163a60f348c48f434eef37c4197d1028e3d6ee2a (diff) | |
download | aur-763618c42d9e9537d9435e85734a2d58fc8c7a78.tar.gz |
Note about changing CPU frequency on battery power
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | linux-macbook.install | 5 |
3 files changed, 6 insertions, 3 deletions
@@ -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 @@ -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 |