RE: Modern Suspend on Dell Latitude 5285 does not resume

From: Mario.Limonciello
Date: Thu Jul 20 2017 - 17:04:33 EST


Nico,

> -----Original Message-----
> From: Nico Schottelius [mailto:nico.schottelius@xxxxxxxxxxx]
> Sent: Thursday, July 20, 2017 1:25 PM
> To: Linux ACPI <linux-acpi@xxxxxxxxxxxxxxx>
> Cc: Linux PM <linux-pm@xxxxxxxxxxxxxxx>; Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx>; Darren Hart <dvhart@xxxxxxxxxxxxx>; LKML
> <linux-kernel@xxxxxxxxxxxxxxx>; Srinivas Pandruvada
> <srinivas.pandruvada@xxxxxxxxxxxxxxx>; Mika Westerberg
> <mika.westerberg@xxxxxxxxxxxxxxx>; Limonciello, Mario
> <Mario_Limonciello@xxxxxxxx>; Tom Lanyon <tom@xxxxxxxxxxxxx>; Jérôme de
> Bretagne <jerome.debretagne@xxxxxxxxx>; Linus Torvalds <torvalds@linux-
> foundation.org>; Zheng Lv <lv.zheng@xxxxxxxxx>
> Subject: Modern Suspend on Dell Latitude 5285 does not resume
>
>
> Hello,
>
> following up the recent patch [0] to enable modern suspend on Dell notebooks, I
> can report that this patch does *not* fix the situation on Dell Latitude
> 5285. I have tested with v4.12-10845-g74cbd96 and when closing the "lid"
> or triggering sleep by echo mem > /sys/power/state, the system suspends,
> but never wakes up again. Trying to resume with the power button does
> not have any affect, as it is the case with 4.12.1.
>
> A long power button press to forcefully shutdown the system is
> necessary, at which point the notebook responds with blinking
> the power LED (3x red, 5x white), which seems not to be defined in
> the user manual.
>
> Is there anything I can do to test what is going on?
>
Currently the patch does not look at anything in the system to default to S2I vs S3.
This will affect systems that offer S3 and S2I (even if S3 is broken).

Have you configured /sys/power/mem_sleep to s2idle?
https://github.com/torvalds/linux/blob/master/Documentation/power/states.txt#L35

Thanks,

> Best,
>
> Nico
>
> p.s.: The device does also not have any backlight control available in
> xorg, even though sysfs exposes a brightness setting - where is the best
> place to report this? xorg bugzilla or kernel?
>
> [0] https://lkml.org/lkml/2017/6/23/447
>
> --
> Werde Teil des modernen Arbeitens im Glarnerland auf www.digitalglarus.ch!
> Lese Neuigkeiten auf Twitter: www.twitter.com/DigitalGlarus
> Diskutiere mit auf Facebook: www.facebook.com/digitalglarus