Insomnia - does the gyro wake up the box

Kernels & Hardware, configuring network, installing services

Insomnia - does the gyro wake up the box

Postby hgeorg » 2019-09-04 19:31

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.
hgeorg
 
Posts: 33
Joined: 2013-08-27 22:29

Re: Insomnia - does the gyro wake up the box

Postby phenest » 2019-09-04 19:49

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.
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
phenest
 
Posts: 1703
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Insomnia - does the gyro wake up the box

Postby hgeorg » 2019-09-05 03:19

phenest wrote:How are you suspending? From a menu or cli?


Usually by closing the lid, or by pushing the power button. I have also tried from CLI, echo mem/freeze > /sys/power/state
The result is always the same, and I get s2idle whether I echo mem or freeze
hgeorg
 
Posts: 33
Joined: 2013-08-27 22:29


Return to System configuration

Who is online

Users browsing this forum: No registered users and 15 guests

fashionable