Hi everyone,
I've recently installed version 14.1 on my ThinkPad W520 and noticed an odd issue with the suspend function when closing the lid. Specifically, the laptop doesn't enter suspend mode when the lid is closed, but it immediately suspends once the lid is opened.
After a quick investigation, I found that the culprit seems to be the
command in
. When I comment it out, everything works as expected.
From what I understand, the purpose of the sleep command is to allow time for disk operations to complete. My question is: how can I go about debugging this issue? I'm eager to dig deeper and figure out the root cause of the problem with the sleep operation. I've checked
and
, but I haven't found anything specific.
Any advice would be appreciated.
Thanks in advance!
I've recently installed version 14.1 on my ThinkPad W520 and noticed an odd issue with the suspend function when closing the lid. Specifically, the laptop doesn't enter suspend mode when the lid is closed, but it immediately suspends once the lid is opened.
After a quick investigation, I found that the culprit seems to be the
Code:
/bin/sleep 3
Code:
/etc/rc.suspend
From what I understand, the purpose of the sleep command is to allow time for disk operations to complete. My question is: how can I go about debugging this issue? I'm eager to dig deeper and figure out the root cause of the problem with the sleep operation. I've checked
Code:
dmesg
Code:
/var/log/messages
Any advice would be appreciated.
Thanks in advance!