Bonjour,
When I suspend my computer, it suspends for a few seconds, then resumes.... So it is impossible to suspend!
Once upon a time, I could find some information the pm-suspend.log file. Today, I cannot find this file! Is there no more log file for pm-suspend or did I miss how to activate this file?
I use xfce4
Thank you for helping.
2020-02-20 12:00 GMT+01:00, François Patte francois.patte@mi.parisdescartes.fr:
Bonjour,
When I suspend my computer, it suspends for a few seconds, then resumes.... So it is impossible to suspend!
Once upon a time, I could find some information the pm-suspend.log file. Today, I cannot find this file! Is there no more log file for pm-suspend or did I miss how to activate this file?
At least here suspend-related messages go to /var/log/messages For example:
/* suspending last night */ Feb 19 23:22:46 localhost.localdomain systemd[1]: Starting Suspend... Feb 19 23:22:46 localhost.localdomain systemd-sleep[27633]: Suspending system... Feb 19 23:22:46 localhost.localdomain kernel: PM: suspend entry (deep)
/* waking up this morning */ Feb 20 09:46:22 localhost.localdomain kernel: printk: Suspending console(s) (us> Feb 20 09:46:22 localhost.localdomain kernel: PM: suspend devices took 0.373 se> Feb 20 09:46:22 localhost.localdomain kernel: PM: suspend exit Feb 20 09:46:22 localhost.localdomain audit[1]: SERVICE_START pid=1 uid=0 auid=> Feb 20 09:46:22 localhost.localdomain audit[1]: SERVICE_STOP pid=1 uid=0 auid=4> Feb 20 09:46:22 localhost.localdomain systemd[1]: systemd-suspend.service: Succ> Feb 20 09:46:22 localhost.localdomain systemd[1]: Started Suspend. Feb 20 09:46:22 localhost.localdomain systemd[1]: Reached target Suspend. Feb 20 09:46:22 localhost.localdomain systemd[1]: Stopped target Suspend.
Of course the comments don't come from the logs.
Andras
On 2/20/20 3:00 AM, François Patte wrote:
Once upon a time, I could find some information the pm-suspend.log file. Today, I cannot find this file! Is there no more log file for pm-suspend or did I miss how to activate this file?
Almost everything goes into the journal now. Use "journalctl -b" to see everything from the start of the current boot. (Pressing "G" will get you to the end.) Use "journalctl -r" to see the logs in reverse order starting from the latest message.
Le 20/02/2020 à 19:08, Samuel Sieb a écrit :
On 2/20/20 3:00 AM, François Patte wrote:
Once upon a time, I could find some information the pm-suspend.log file. Today, I cannot find this file! Is there no more log file for pm-suspend or did I miss how to activate this file?
Almost everything goes into the journal now. Use "journalctl -b" to see everything from the start of the current boot. (Pressing "G" will get you to the end.) Use "journalctl -r" to see the logs in reverse order starting from the latest message.
Oh! Yes Of course and with the nice prolixity that systemd log gives to trace my problem:
journalctl -u systemd-suspend.service
févr. 20 14:35:42 berrichon systemd[1]: Starting Suspend... févr. 20 14:35:42 berrichon systemd-sleep[21890]: Suspending system... févr. 20 14:35:51 berrichon systemd-sleep[21890]: System resumed. févr. 20 14:35:51 berrichon systemd[1]: Started Suspend.
Very useful information! The system resumes after 10s! Why? Guess....
On 2/20/20 10:18 AM, François Patte wrote:
Oh! Yes Of course and with the nice prolixity that systemd log gives to trace my problem:
journalctl -u systemd-suspend.service
févr. 20 14:35:42 berrichon systemd[1]: Starting Suspend... févr. 20 14:35:42 berrichon systemd-sleep[21890]: Suspending system... févr. 20 14:35:51 berrichon systemd-sleep[21890]: System resumed. févr. 20 14:35:51 berrichon systemd[1]: Started Suspend.
Very useful information! The system resumes after 10s! Why? Guess....
Don't restrict it so much. You need to see what else is going on in that time. Some bit of hardware might not be able to suspend for some reason.