Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1693223 > unrolled thread

Modern Suspend on Dell Latitude 5285 does not resume

Started byNico Schottelius <nico.schottelius@ungleich.ch>
First post2017-07-20 22:40 +0200
Last post2017-07-20 23:10 +0200
Articles 5 — 3 participants

Back to article view | Back to linux.kernel


Contents

  Modern Suspend on Dell Latitude 5285 does not resume Nico Schottelius <nico.schottelius@ungleich.ch> - 2017-07-20 22:40 +0200
    RE: Modern Suspend on Dell Latitude 5285 does not resume <Mario.Limonciello@dell.com> - 2017-07-20 23:10 +0200
      Re: Modern Suspend on Dell Latitude 5285 does not resume Nico Schottelius <nico.schottelius@ungleich.ch> - 2017-07-21 00:50 +0200
        Re: Modern Suspend on Dell Latitude 5285 does not resume "Rafael J. Wysocki" <rafael@kernel.org> - 2017-07-21 01:10 +0200
    Re: Modern Suspend on Dell Latitude 5285 does not resume "Rafael J. Wysocki" <rafael@kernel.org> - 2017-07-20 23:10 +0200

#1693223 — Modern Suspend on Dell Latitude 5285 does not resume

FromNico Schottelius <nico.schottelius@ungleich.ch>
Date2017-07-20 22:40 +0200
SubjectModern Suspend on Dell Latitude 5285 does not resume
Message-ID<u5qoO-3MG-13@gated-at.bofh.it>
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?

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

[toc] | [next] | [standalone]


#1693229

From<Mario.Limonciello@dell.com>
Date2017-07-20 23:10 +0200
Message-ID<u5qRQ-4dp-9@gated-at.bofh.it>
In reply to#1693223
Nico,

> -----Original Message-----
> From: Nico Schottelius [mailto:nico.schottelius@ungleich.ch]
> Sent: Thursday, July 20, 2017 1:25 PM
> To: Linux ACPI <linux-acpi@vger.kernel.org>
> Cc: Linux PM <linux-pm@vger.kernel.org>; Andy Shevchenko
> <andriy.shevchenko@linux.intel.com>; Darren Hart <dvhart@infradead.org>; LKML
> <linux-kernel@vger.kernel.org>; Srinivas Pandruvada
> <srinivas.pandruvada@linux.intel.com>; Mika Westerberg
> <mika.westerberg@linux.intel.com>; Limonciello, Mario
> <Mario_Limonciello@Dell.com>; Tom Lanyon <tom@oneshoeco.com>; Jérôme de
> Bretagne <jerome.debretagne@gmail.com>; Linus Torvalds <torvalds@linux-
> foundation.org>; Zheng Lv <lv.zheng@intel.com>
> 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

[toc] | [prev] | [next] | [standalone]


#1693271

FromNico Schottelius <nico.schottelius@ungleich.ch>
Date2017-07-21 00:50 +0200
Message-ID<u5sqB-54d-5@gated-at.bofh.it>
In reply to#1693229
Good evening Mario,

> 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

indeed, after configuring it to s2idle, it works like charm!

Do you have any plans on defaulting to s2idle for machines that do not
properly support s3?

Best,

Nico


--
Modern, affordable, Swiss Virtual Machines can be found on www.datacenterlight.ch

[toc] | [prev] | [next] | [standalone]


#1693286

From"Rafael J. Wysocki" <rafael@kernel.org>
Date2017-07-21 01:10 +0200
Message-ID<u5sJY-5s5-23@gated-at.bofh.it>
In reply to#1693271
On Fri, Jul 21, 2017 at 12:41 AM, Nico Schottelius
<nico.schottelius@ungleich.ch> wrote:
>
> Good evening Mario,
>
>> 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
>
> indeed, after configuring it to s2idle, it works like charm!
>
> Do you have any plans on defaulting to s2idle for machines that do not
> properly support s3?

Yes, we do.

Thanks,
Rafael

[toc] | [prev] | [next] | [standalone]


#1693233

From"Rafael J. Wysocki" <rafael@kernel.org>
Date2017-07-20 23:10 +0200
Message-ID<u5qRR-4dp-31@gated-at.bofh.it>
In reply to#1693223
On Thu, Jul 20, 2017 at 8:24 PM, Nico Schottelius
<nico.schottelius@ungleich.ch> wrote:
>
> 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?

Have you tried "echo freeze > /sys/power/state" instead of "mem"?

Thanks,
Rafael

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web