You are not logged in.
I'm on a Thinkpad T400 with Libreboot and Devuan Jessie 64-bit. I have a keyboard shortcut for "sudo pm-suspend". I don't suspend the system very often, but I'm pretty sure it used to work reliably when I first installed Devuan.
Lately, when system is on AC power and I try suspending, it only works sometimes. If I'm on battery power and try suspending, it doesn't work at all--the suspend LED, which looks like a little crescent moon on the T400's LED panel, briefly lights up but the system just keeps going and does not actually suspend.
Last time I upgraded Libreboot was a long time ago, well before installing Devuan. I do apply all of Devuan's security upgrades--is it possible that one of them broke my ability to suspend? I'm using the default kernel (3.16.43-2+deb8u3).
Last edited by GNUser (2017-08-30 15:11:32)
Offline
Update: I booted into my Debian Jessie partition on this same machine and tried suspending several times. No problems on either AC or battery power.
Last edited by GNUser (2017-08-30 13:07:15)
Offline
If it's similar to my problem, https://dev1galaxy.org/viewtopic.php?pid=4135#p4135, then that xhci quirk setting might be a good thing for you as well.
Offline
Thanks, ralph. I tried the xhci quirk setting but no luck. This quote from your thread did give me a hint:
I believe the [xhci_pci] module handles USB transport (esp. 3.0), and it is brought in when I plug in a USB stick.
I have an ExpressCard in my laptop that provides two USB 3.0 ports, which I added to my laptop not that long ago. I tried removing the card and, lo and behold, without it suspend works just fine. However, leaving the card out until I want to use it kind of defeats the purpose of a nice flush card such as this, which aims to blend in and become part of the laptop.
It would be good to figure out a way for suspend to work with the ExpressCard in the slot. If anyone knows how to accomplish this, please let me know. If I find a solution, I'll post it here.
Last edited by GNUser (2017-08-30 14:19:40)
Offline
Okay, so the xhci_hcd kernel module (previously known as simply xhci) has long been known to cause GNU/Linux to have insomnia. Create /etc/pm/config.d/00sleep_well_baby_gnu with only this in it...
SUSPEND_MODULES="xhci_hcd"
...and problem vanishes! The above unloads the troublesome kernel module just before system tries to suspend. The module is automatically reloaded when the system resumes, so I had no problem using my ExpressCard after resuming.
@ralph.ronnquist - Thanks for pointing me in the right direction!
Last edited by GNUser (2017-08-30 16:18:51)
Offline