diff options
author | Tony Lambiris | 2016-12-05 03:42:17 -0500 |
---|---|---|
committer | Tony Lambiris | 2016-12-05 03:42:17 -0500 |
commit | 496d9ceef7681f4603b97aba68cbf661d66c0730 (patch) | |
tree | 1e98505c3fc01f4b48ef5efd00360ea6f0a49317 /linux-macbook.install | |
parent | 345bae6ff1a365f674b56bf5937e16b682f8d487 (diff) | |
download | aur-496d9ceef7681f4603b97aba68cbf661d66c0730.tar.gz |
Version bump
Diffstat (limited to 'linux-macbook.install')
-rw-r--r-- | linux-macbook.install | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/linux-macbook.install b/linux-macbook.install index bd582758fae4..475462b7d987 100644 --- a/linux-macbook.install +++ b/linux-macbook.install @@ -9,17 +9,13 @@ cat <<-EOF To get suspend working properly you must do the following: - Add disable_mode=1 and processor.ignore_ppc=1 to your kernel boot options. + Add disable_mode=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 + Create /etc/tmpfiles.d/wakeup.conf with the contents: + w /proc/acpi/wakeup - - - - LID0 EOF } |