You are not logged in.

#1 2016-09-29 19:41:08

Excubia
Member
Registered: 2015-08-02
Posts: 29

Suspend on Macbook Air does is not fast enough

I use a Macbook Air and when I close the laptop the screen light is still on.

I must wait some minutes for it to sleep. I haven't seen anything about that on the Arch wiki.

Offline

#2 2016-09-30 16:55:46

onslow77
Member
Registered: 2014-09-21
Posts: 279

Re: Suspend on Macbook Air does is not fast enough

Hello!

Have you followed the suggested "Power Management" and "Suspend/Resume" configurations found on the MacBook Wiki?

Regards
Martin

Last edited by onslow77 (2016-09-30 16:56:20)


It is advised to follow the How to post guide when posting on the Arch forum. If one consciously jumps over these elementary steps like reading the wiki and providing necessary information about the problem, one can be regarded as a Help Vampire.

Offline

#3 2016-10-01 08:17:55

Excubia
Member
Registered: 2015-08-02
Posts: 29

Re: Suspend on Macbook Air does is not fast enough

Yes, I have installed and activated tlp and the “suspend/resume” section is only about the screen going black on resume. I have installed the dkms recommended in that section.

EDIT: to be more precise, the laptop will sleep eventually, but not immediatly after physically closing it. Alt+L works fine in Gnome to make it sleep.

Last edited by Excubia (2016-10-01 08:20:26)

Offline

#4 2016-10-01 15:47:24

onslow77
Member
Registered: 2014-09-21
Posts: 279

Re: Suspend on Macbook Air does is not fast enough

Hello!

The suggested sections and the link I provided was meant as general recomedation where one could start looking for a solution. For example, the "Power Management section" on the Macbook Wiki link to furter information that one might find useful.

Now that we know that you use "Gnome", have you tried changing Gnomes power settings?

It is adviced to follow the How to post guide when posting on the Arch forum. If one consciously jumps over these elementary steps like reading the wiki and providing necessary information about the problem, one can be regarded as a Help Vampire.

Regards
Martin

Last edited by onslow77 (2016-10-01 15:56:22)


It is advised to follow the How to post guide when posting on the Arch forum. If one consciously jumps over these elementary steps like reading the wiki and providing necessary information about the problem, one can be regarded as a Help Vampire.

Offline

#5 2016-10-02 05:10:31

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: Suspend on Macbook Air does is not fast enough

What macbook air are you using? Year? Revision? Size? Anything interesting in dmesg?  How about you post it here in code tags.  Has this issue always happened since you installed arch?  If it happened recently, what changed?  Have you tried lts kernel?  What have you done so far to fix it?  What were the results?  Does systemctl suspend in terminal also have the delay?  Is this a suspend from a clean boot or is it after a subsequent suspend/resume?  Sorry for the list of questions.  These are the questions that come to mind.

Offline

#6 2016-10-03 21:55:39

Excubia
Member
Registered: 2015-08-02
Posts: 29

Re: Suspend on Macbook Air does is not fast enough

— I use a Macbook Air 6,1 Early 2014;

— Here is the dmesg: http://codepad.org/Bq7gANeu;

— The problem has always been there, I am trying to fix it only now;

— I haven't tried the lts-kernel, I'll try soon;

— systemctl suspend works perfectly;

— I tried with Ubuntu 16.04 on a USB key, suspend works as expected;

— To fix another problem with resume (black screen) I have installed the dmks of Patrick Jakobsson: mba6x_bl_dkms;

— The suspend problem does not depend on clean boot / subsequent suspend.

Offline

#7 2016-10-04 01:23:54

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: Suspend on Macbook Air does is not fast enough

What DE are you using?  How are you starting X? Do you use a login manager?  There is hope!  It is a very good sign that systemctl suspend works as expected.  Can you post your logind.conf?

Offline

#8 2016-10-04 10:41:08

Excubia
Member
Registered: 2015-08-02
Posts: 29

Re: Suspend on Macbook Air does is not fast enough

Currently using Gnome 3 but the problem also appears on Xfce and Openbox;

I start Gnome with “exec gnome-sesssion” in .xinitrc;

I use GDM;

Here is my logind.conf

[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
#UserTasksMax=33%

Offline

Board footer

Powered by FluxBB