X200 libreboot thinkpad unable to resume from suspension

5 respuestas [Último envío]
diegoasterio
Desconectado/a
se unió: 09/25/2017

I recently bought a refurbished lenovo X200 with libreboot on Vikings. I've decided to install Trisquel on it without trouble and it has been running for a couple of days now.

The issue I'm having appears when I try to suspend my computer manually. After pushing the sleep button there's no other button that can make my thinkpad resume.

I've done some research and found a similar issue for my same computer in arch's linux forum:

https://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_X200&mobileaction=toggle_view_mobile

However my dmesg file doesn't seem to have the error they suggest. Has anyone encountered this problem before?

I leave my pm-suspend.log if it is of any help:

Initial commandline parameters:
Wed Sep 27 16:51:27 CEST 2017: Running hooks for suspend.
Running hook /usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend:
/usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux asterio-ThinkPad-X200 3.13.0-39-lowlatency #66+7.0trisquel2 SMP PREEMPT Wed Oct 29 17:10:10 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Module Size Used by
ctr 13049 0
ccm 17773 0
bnep 19624 2
rfcomm 69160 0
bluetooth 395387 10 bnep,rfcomm
arc4 12608 2
snd_hda_codec_conexant 57441 1
snd_hda_intel 52306 3
snd_hda_codec 192906 2 snd_hda_codec_conexant,snd_hda_intel
snd_hwdep 13602 1 snd_hda_codec
snd_pcm 102040 2 snd_hda_codec,snd_hda_intel
ath9k 164164 0
thinkpad_acpi 81013 0
nvram 14362 1 thinkpad_acpi
snd_page_alloc 18710 2 snd_pcm,snd_hda_intel
ath9k_common 13551 1 ath9k
snd_seq_midi 13324 0
ath9k_hw 453856 2 ath9k_common,ath9k
ath 28698 3 ath9k_common,ath9k,ath9k_hw
snd_seq_midi_event 14899 1 snd_seq_midi
snd_rawmidi 30095 1 snd_seq_midi
mac80211 643029 1 ath9k
coretemp 13435 0
snd_seq 61560 2 snd_seq_midi_event,snd_seq_midi
dm_multipath 22873 0
kvm_intel 143192 0
scsi_dh 14882 1 dm_multipath
snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi
kvm 455758 1 kvm_intel
snd_timer 29433 2 snd_pcm,snd_seq
uvcvideo 80885 0
cfg80211 496328 3 ath,ath9k,mac80211
videobuf2_vmalloc 13216 1 uvcvideo
videobuf2_memops 13362 1 videobuf2_vmalloc
serio_raw 13413 0
videobuf2_core 40664 1 uvcvideo
videodev 134688 2 uvcvideo,videobuf2_core
snd 69273 17 snd_hwdep,snd_timer,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_seq_device,snd_seq_midi
lpc_ich 21080 0
shpchp 37032 0
soundcore 12680 1 snd
mac_hid 13205 0
parport_pc 32701 0
ppdev 17671 0
lp 17759 0
parport 42299 3 lp,ppdev,parport_pc
btrfs 831609 0
libcrc32c 12644 1 btrfs
raid10 48032 0
raid456 82293 0
async_raid6_recov 12984 1 raid456
async_memcpy 12762 1 raid456
async_pq 13365 1 raid456
async_xor 13160 2 async_pq,raid456
async_tx 13509 5 async_pq,raid456,async_xor,async_memcpy,async_raid6_recov
xor 21411 2 btrfs,async_xor
raid6_pq 101908 3 async_pq,btrfs,async_raid6_recov
raid1 35481 0
raid0 17842 0
multipath 13145 0
linear 12894 0
dm_mirror 22040 0
dm_region_hash 20813 1 dm_mirror
dm_log 18411 2 dm_region_hash,dm_mirror
i915 787958 3
psmouse 106665 0
i2c_algo_bit 13413 1 i915
ahci 25819 5
drm_kms_helper 55071 1 i915
libahci 32716 1 ahci
e1000e 254433 0
drm 303102 4 i915,drm_kms_helper
ptp 18933 1 e1000e
pps_core 19333 1 ptp
video 19476 1 i915
total used free shared buffers cached
Mem: 7913472 1389752 6523720 131020 38672 576040
-/+ buffers/cache: 775040 7138432
Swap: 15624188 0 15624188
/usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.

Running hook /etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend:
/etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/50unload_alx suspend suspend:
/usr/lib/pm-utils/sleep.d/50unload_alx suspend suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend:
Failed to connect to non-global ctrl_ifname: (null) error: No such file or directory
/usr/lib/pm-utils/sleep.d/60_wpa_supplicant suspend suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
/usr/lib/pm-utils/sleep.d/75modules suspend suspend: not applicable.

Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:
/usr/lib/pm-utils/sleep.d/90clock suspend suspend: not applicable.

Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/95anacron suspend suspend:
/usr/lib/pm-utils/sleep.d/95anacron suspend suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend:
/usr/lib/pm-utils/sleep.d/95hdparm-apm suspend suspend: not applicable.

Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:
/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video driver detected, not using quirks.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.

Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
kernel.acpi_video_flags = 0
/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.

Wed Sep 27 16:51:27 CEST 2017: performing suspend

akito
Desconectado/a
se unió: 05/10/2017

I think I read somewhere that hibernation or suspend state wont work in libreboot but let'swait for others to reply. I still not have libreboot machine so I cannot answer the question

chaosmonk

I am a member!

I am a translator!

Desconectado/a
se unió: 07/07/2017

Suspend and hibernate work on my librebooted ThinkPad x60 running Trisquel 8. Both worked with Trisquel 7 too.

Pablo G

I am a member!

I am a translator!

Desconectado/a
se unió: 05/16/2012

I have got the same X200 laptop from Vikings. It is different from yours because Trisquel (preinstalled) comes whith libre kernel 4.13.X from FSFLA "by default".

But when I press Fn+"moon" it shutdown. Then I have to press again Fn+"moon" to reinitate... It doesn't work...

fleamour
Desconectado/a
se unió: 01/28/2018

Vikings flashing service here;

X200 resumes with fn key correctly when sleep activated by moon hotkey (moon LED lit) but cannot be woken when OS auto snoozes (moon & battery LED lit.) Is this bug with Libreboot or all Linux OS?

Abdullah Ramazanoglu
Desconectado/a
se unió: 12/15/2016

Could it be this?

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850221
https://superuser.com/questions/1237173/debian-computer-does-not-wake-up-monitor

http://www.thinkwiki.org/wiki/Problem_with_display_remaining_black_after_resume
http://debian.2.n7.nabble.com/Issues-resuming-from-hibernation-td4023553.html

In both Debian Stretch and Buster I've experienced the problem in the bug report. When the system hibernates *while* the screen is locked, then upon wake up the screen could not be unlocked. This mostly occurs at hibernation due to idling. Timing of events is usually like, first screensaver kikcs in, then the screen is locked, and finally system suspends or hibernates (while the screen is locked). Upon wake up, the scxreen stays locked and it's not possible to unlock it (otherwise the system runs perfectly - there's just no screen)

If your problem is the same, then the solution is making sure that the screen is unlocked while hibernating.

I don't know your power management tool and DE. In power management look for something like,

[ ] Lock screen while hibernating

and uncheck it.

If there is an option like "Lock screen while entering/exiting screen saver" this can be useful too. If you set it to "lock at exiting the saver", then the system hibernates / wakes up while running screensaver (screen still not locked), and upon wake up when you try to exit the screensaver, only at that point screen will get locked, so you will have gone to and come back from hibernation (via idle timeout) with an unlocked screen.