You are not logged in.
I use arch on my acer laptop Aspire ES15 and power button is at its end of life. I don't care about storing my current session using suspend or hibernate. I just want to shutdown my laptop(Not literally).
I am trying to figure out some way by which I can start my laptop with other keys. I am ok with little power consumption.
Power management wiki has many things, but for newbie that was lot of stuff?, Can anybody point me to something by which I can accomplish this task.
Linux 5.9.14-arch1-1 x86_64 GNU/Linux
Offline
cat /proc/acpi/wakeupWakeup from S3 typically works via USB events (pull/plug a key), keyboard (perhaps limited to the space or enter key) and WOL, https://wiki.archlinux.org/index.php/Wake-on-LAN
Then there's "man rtcwake"
How is the "power button is at its end of life"? Did you open the case to inspect the physical state that you might be able to fix by cleaning the area from dust or some superglue to replace worn down plastic?
Offline
@seth, Thanks for suggestions.
Yes, I opened case and power button is kind of worn out. It is loosing its spring power or something. I cleaned it today and it is working for now. But sometime it remains pressed and laptop keeps hard booting again and again.
So I am trying to avoid using this button as much as possible and looking for alternatives, before it give up completely.
Last edited by hrca (2020-12-18 15:29:30)
Offline
1. WOL
Tried enabling using
sudo ethtool -s enp0s18u1u2 wol g
Got error, and discovered there are some issues with Atheros-based NICs
https://wiki.archlinux.org/index.php/Wa … er_support.
Tried fixing this, but no luck
2. S3 is fine but I was looking for S4 or S5 using keyboard.
Current file /proc/acpi/wakeup
Device S-state Status Sysfs node
GPP1 S4 *enabled pci:0000:00:02.3
EHC1 S3 *enabled pci:0000:00:12.0
EHC3 S3 *disabled
XHC0 S3 *enabled pci:0000:00:10.0
Tried editing this with echo, but was only able to on/off not add entry. So tried acpitool, Same results.
Tried enabling using changing file in "sys/devices/pci0000:00/0000:00:12.0/power/wakeup" but still no result
3. rtcwake, need to know in advance time for next boot. And still has some issues with higher modes(S4, S5).
Offline