I am running Debian Buster with Gnome on a Dell Latitude 7390 2-in-1. Every since the box was new, I have trouble making the box sleep. It suspends alright, but it unless I leave it lying flat, it wakes up and stays awake.
As far as I can see, the box only suspends to idle, from dmesg we have
[ 5633.595494] PM: suspend entry (s2idle)
[...]
[ 8778.867466] Restarting tasks ... done.
[ 8778.938027] PM: suspend exit
I suppose s2idle is the easiest to wake from. The only plausible explanation I can find, is that the box is woken by the gyro. There obviously is a gyro in the hardware, since the screen autorotates as it is turned.
Two questions,
1. How can I get the box to Standby or Suspend to RAM?
2. How can I prevent the gyro from waking up the machine?
I must admit, I am quite a luser when it comes to hardware intricacies, and I do not know what tools and logs to look for. The Gnome config GUI is obviously far too limited.
Any ideas? All help is much appreciated.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Insomnia - does the gyro wake up the box
Re: Insomnia - does the gyro wake up the box
How are you suspending? From a menu or cli?
My tablet doesn't wake moving it around. And I have the same messages in dmesg.
My tablet doesn't wake moving it around. And I have the same messages in dmesg.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
Re: Insomnia - does the gyro wake up the box
Usually by closing the lid, or by pushing the power button. I have also tried from CLI, echo mem/freeze > /sys/power/statephenest wrote:How are you suspending? From a menu or cli?
The result is always the same, and I get s2idle whether I echo mem or freeze