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

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
hgeorg
Posts: 44
Joined: 2013-08-27 22:29

Insomnia - does the gyro wake up the box

#1 Post by hgeorg »

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.

User avatar
phenest
Posts: 1702
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Insomnia - does the gyro wake up the box

#2 Post by phenest »

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

hgeorg
Posts: 44
Joined: 2013-08-27 22:29

Re: Insomnia - does the gyro wake up the box

#3 Post by hgeorg »

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

Post Reply