Re: Wake-on-timer rtcwake experiments on various PC hardware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hallo,

here a longer thread at problems with rtcwake (in German):

https://forum.ubuntuusers.de/topic/rtcwake-geht-nicht-mehr/#post-9369451

Perhaps it might be useful for someone,

GBruno

Am 16.04.23 um 19:54 schrieb Marko Mäkelä:
Today, I tested rtcwake on several x86 or x86-64 based computers.

The outcome:

(1) Suspend to RAM (say, "rtcwake -m mem -s 10"):
* Success: Every system.
(2) Wake-on-timer ("rtcwake -m no -s 120 && shutdown -h now" or "rtcwake -m off -s 120"):
* Success: Lenovo Thinkpad X220 (2012?), and a 5-year-old desktop system
* Fail: IBM Thinkpad X60 (Core Duo from 2006), a HP Zbook from 2016.
(3) Suspend to disk ("rtcwake -m disk -s 120") had no chance of working, because I never configure any swap partition. I would assume that this could only work if (2) worked in the first place. On the Debian systems that I tried, the command would fail as expected. On one Arch Linux system (Lenovo Thinkpad X220), it forcibly power off the computer and fail to start automatically; a file system check ran on the manual power-on.

GNU/Linux is the only operating system on each computer, and apart from the 32-bit Thinkpad X60, everything boots up via UEFI.

In the BIOS setup of both the Thinkpad X60 and the HP laptop there are some settings related to powering up on timer. Maybe with something like nvram-wakeup (which was the only working option for a 2001 Intel Celeron machine) they could be made to work.

Moral of the story: You can't expect wake-on-timer to "just work" even on relatively recent hardware. Possibly the chances are better with desktop or small-form-factor systems than with laptops.

     Marko

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr




[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux