You are not logged in.
Pages: 1
Hi there!
I recently installed Arch on my Macbook Pro 2015, and I've been having problems suspending. I checked the wiki, and this:
https://wiki.archlinux.org/index.php/Ma … _Hibernate exactly described my problem, where my computer would wake up a few seconds after suspend.
However, I am not sure what I'm supposed to do. It says to disable everything in /proc/acpi/wakeup except LID0, but I don't know how to do that. There's a section underneath it showing the expected output, but I try executing
echo XHC1 > /proc/acpi/wakeup
cat /proc/acpi/wakeup
but that does absolutely nothing. So what am I actually supposed to run/do?
Sorry if this is trivial.
Offline
"cat /proc/acpi/wakeup" should print some - if there's no XHC1 entry, that won't do anything
Writing the 3/4-byte ID into /proc/acpi/wakeup will toggle the behavior (cat'ing the file again should reflect that) but you need root permissions for this (either su or "echo FOO | sudo tee /proc/acpi/wakeup")
If "cat /proc/acpi/wakeup" doesn't print anything, you've more problems than STR ...
Offline
Thank you, I got it to work.
However, it resets everything whenever I restart the computer. The wiki does have a section on how to make it permanent, but again, I'm not sure what I'm supposed to do. It says to "cat /etc/udev/rules.d/90-xhc_sleep.rules", but the file doesn't even exist.
Offline
You have to write your own udev rules if you want to make these sorts of settings persistent.
That code snippet is an example.
Offline
Pages: 1