summarylogtreecommitdiffstats
path: root/linux-macbook.install
diff options
context:
space:
mode:
authorTony Lambiris2016-10-22 03:48:50 -0400
committerTony Lambiris2016-10-22 03:48:50 -0400
commit763618c42d9e9537d9435e85734a2d58fc8c7a78 (patch)
tree923d811891dab640892432ea09bf248f73d20d5f /linux-macbook.install
parent163a60f348c48f434eef37c4197d1028e3d6ee2a (diff)
downloadaur-763618c42d9e9537d9435e85734a2d58fc8c7a78.tar.gz
Note about changing CPU frequency on battery power
Diffstat (limited to 'linux-macbook.install')
-rw-r--r--linux-macbook.install5
1 files changed, 4 insertions, 1 deletions
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