Thinkpad X260 Sleep Wake Issues

548 views
Skip to first unread message

jacob....@gmail.com

unread,
May 5, 2016, 3:01:51 PM5/5/16
to qubes-users
I recently got a new Thinkpad X260 and installed qubes on it. The install has been fairly painless, but one of the larger pain points is wake from sleep.

When i close the lid on the laptop, the machine goes to sleep (slow blinking power light, etc). Upon opening the lid, nothing I do seems to make the computer wake up -- none of the keys, power button, etc.

While it is running, I do see the key presses in acpi_listen:
button/power PBTN 00000080 00000000
button/power LNXPWRBN:00 00000080 00000001

Similarly, I see Power/Sleep Buttons detected in dmesg:
[ 15.588662] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1
[ 15.588665] ACPI: Sleep Button [SLPB]
[ 15.588699] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[ 15.588700] ACPI: Power Button [PWRF]

However, I dont see any of these devices in /proc/acpi/wakeup:
-state Status Sysfs node
LID S4 *enabled platform:PNP0C0D:00
SLPB S3 *enabled platform:PNP0C0E:00
IGBE S4 *disabled pci:0000:00:1f.6
PXSX S4 *disabled pci:0000:02:00.0
PXSX S4 *disabled pci:0000:04:00.0
PXSX S4 *disabled
PXSX S4 *disabled
EXP8 S4 *disabled
PXSX S4 *disabled
XHCI S3 *enabled pci:0000:00:14.0

The button itself is enabled in /sys/devices/LNXSYSTM:00/LNXPWRBN:00/power/wakeup:
enabled

I'm at the end of my ACPI/sleep knowledge at this point, and hopefully one of you folks can help me, or point me to the information that can help me solve the issue.

raah...@gmail.com

unread,
May 5, 2016, 9:09:13 PM5/5/16
to qubes-users

maybe qubes have some other kernels you can try.

Message has been deleted

Jacob Richard

unread,
May 5, 2016, 10:45:29 PM5/5/16
to qubes-users, raah...@gmail.com
Thanke for the input - I've tried it on 4.1.13 and 4.2.8 (unstable). Same behavior on both. 

I'm guessing theres something missing in the way the laptop knows to wake up, but i just can't seem to get the whole picture as to what has gone wrong. 

Holger Levsen

unread,
May 6, 2016, 4:56:34 AM5/6/16
to Jacob Richard, qubes-users, raah...@gmail.com
you a need kernel with proper skylake support, so 4.5 at least, probably
better 4.6 or 4.7. Not sure whether this also needs newer X. With kernel
4.1.13 from qubes, the graphics are completly broken after suspend and
the power consumption is at least double of what it should be (=less
than half of the battery time than under 4.5).

According to http://mjg59.dreamwidth.org/41713.html running this
hardware with such an old kernel might actually harm the CPU physically.

Watch https://github.com/QubesOS/qubes-issues/issues/1807 and wait for
installation images to appear there for testing.


--
cheers,
Holger
signature.asc

Jacob Richard

unread,
May 6, 2016, 9:10:30 AM5/6/16
to qubes-users, jacob....@gmail.com, raah...@gmail.com, hol...@layer-acht.org
Thanks! Thats exactly the kind of info I was looking for. I do have a bit of experience building kernels -- I could RTFM up on the qubes builder process and create one myself I suppose. Seems like 4.5+ support in qubes might be a ways off otherwise, although I'm a pretty new user to qubes, so im not sure what the pace of iteration is on the core components. 

-Jake 

Jacob Richard

unread,
May 6, 2016, 9:23:24 AM5/6/16
to qubes-users
For anyone having the same issues, I found a great thread where a fellow with a skylate T460s is having many of the same experiences as I am, including a couple fixes. 


-Jake

Jacob Richard

unread,
May 6, 2016, 11:55:09 PM5/6/16
to qubes-users
I can confirm that after building an (unoptimized) 4.5.3 kernel, sleep and wake work properly, and battery life seems to be improved. 
Reply all
Reply to author
Forward
0 new messages