You are not logged in.

#1 2014-10-24 14:29:40

sigpwr
Member
Registered: 2014-10-24
Posts: 2

[SOLVED] Sleep issues on a x220t

Hi,

as mentioned, I have some trouble with the sleep mode on my Lenovo x220t.
I am running an up to date version of arch in this configuration:

  • cinnamon

  • lightdm

  • thinkpad-scripts (and therefore, acpid)

Entering sleep mode is none of a problem, but waking up out of it seems to be my problem.
If opened again from sleep state, the monitor flickers to life but shows nothing but a black window (sometimes it shows the locked-screen). The power-indicator (Power Button) is already in powered on state, but one cannot do anything, not even switching to another tty.
It takes over a minute for the system to get reactive again.
Compared to a normal cold-boot sequence, wich takes about 10 seconds, this is ridicolously long.

If shotdown through cinnamon,  arch asks me for my user pass to authorize this (only after my sleep issues, not if booted clean). Also, NetworkManager stops working until restarted through systemctl.

Some excerpts from the log that show something seems to be wrong:

 Okt 24 15:53:39 x220ta kernel: PM: resume of devices complete after 80450.641 msecs 

In fact, this matches the wakeup-times i measured and is suprisingly constant through retries.

This over here snapped my attention:

 Okt 24 15:53:39 x220ta rtkit-daemon[623]: The canary thread is apparently starving. Taking action.
Okt 24 15:53:39 x220ta rtkit-daemon[623]: Demoting known real-time threads.
Okt 24 15:53:39 x220ta rtkit-daemon[623]: Successfully demoted thread 631 of process 622 (/usr/bin/pulseaudio).
Okt 24 15:53:39 x220ta rtkit-daemon[623]: Successfully demoted thread 629 of process 622 (/usr/bin/pulseaudio).
Okt 24 15:53:39 x220ta rtkit-daemon[623]: Successfully demoted thread 622 of process 622 (/usr/bin/pulseaudio).
Okt 24 15:53:39 x220ta rtkit-daemon[623]: Demoted 3 threads. 

You can find a full copy of my journalctl output over here: Pastebin Link

Any help is appreciated. Thanks in advance!

Last edited by sigpwr (2014-10-25 11:27:23)

Offline

#2 2014-10-25 07:50:19

neptuneK
Member
Registered: 2008-06-03
Posts: 38

Re: [SOLVED] Sleep issues on a x220t

I can confirm that this is an issue with my x220t as well, but perhaps less nuanced. With the new 3.17 kernel, my laptop resumes for a fraction of a second before freezing; no logs, nothing! I downgraded the kernel tp_acpi and acpi_call, and it is now back to normal.

Offline

#3 2014-10-25 11:29:48

sigpwr
Member
Registered: 2014-10-24
Posts: 2

Re: [SOLVED] Sleep issues on a x220t

I can confirm the fix nepuneK provided.
I downgraded the kernel (to 3.16.4-1), tp_smapi and acpi_call, now sleep and resume work as expected.
Also, the problems with wireless and the sudo issues when using cinnamon are gone.

Offline

Board footer

Powered by FluxBB