public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Modern Suspend on Dell Latitude 5285 does not resume
@ 2017-07-20 18:24 Nico Schottelius
  2017-07-20 21:03 ` Mario.Limonciello
  2017-07-20 21:03 ` Rafael J. Wysocki
  0 siblings, 2 replies; 5+ messages in thread
From: Nico Schottelius @ 2017-07-20 18:24 UTC (permalink / raw)
  To: Linux ACPI
  Cc: Linux PM, Andy Shevchenko, Darren Hart, LKML, Srinivas Pandruvada,
	Mika Westerberg, Limonciello Mario, Tom Lanyon,
	Jérôme de Bretagne, Linus Torvalds, Zheng Lv


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Modern Suspend on Dell Latitude 5285 does not resume
  2017-07-20 18:24 Modern Suspend on Dell Latitude 5285 does not resume Nico Schottelius
@ 2017-07-20 21:03 ` Mario.Limonciello
  2017-07-20 22:41   ` Nico Schottelius
  2017-07-20 21:03 ` Rafael J. Wysocki
  1 sibling, 1 reply; 5+ messages in thread
From: Mario.Limonciello @ 2017-07-20 21:03 UTC (permalink / raw)
  To: nico.schottelius, linux-acpi
  Cc: linux-pm, andriy.shevchenko, dvhart, linux-kernel,
	srinivas.pandruvada, mika.westerberg, tom, jerome.debretagne,
	torvalds, lv.zheng

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Modern Suspend on Dell Latitude 5285 does not resume
  2017-07-20 18:24 Modern Suspend on Dell Latitude 5285 does not resume Nico Schottelius
  2017-07-20 21:03 ` Mario.Limonciello
@ 2017-07-20 21:03 ` Rafael J. Wysocki
  1 sibling, 0 replies; 5+ messages in thread
From: Rafael J. Wysocki @ 2017-07-20 21:03 UTC (permalink / raw)
  To: Nico Schottelius
  Cc: Linux ACPI, Linux PM, Andy Shevchenko, Darren Hart, LKML,
	Srinivas Pandruvada, Mika Westerberg, Limonciello Mario,
	Tom Lanyon, Jérôme de Bretagne, Linus Torvalds,
	Zheng Lv

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Modern Suspend on Dell Latitude 5285 does not resume
  2017-07-20 21:03 ` Mario.Limonciello
@ 2017-07-20 22:41   ` Nico Schottelius
  2017-07-20 23:05     ` Rafael J. Wysocki
  0 siblings, 1 reply; 5+ messages in thread
From: Nico Schottelius @ 2017-07-20 22:41 UTC (permalink / raw)
  To: Mario.Limonciello
  Cc: linux-acpi, linux-pm, andriy.shevchenko, dvhart, linux-kernel,
	srinivas.pandruvada, mika.westerberg, tom, jerome.debretagne,
	torvalds, lv.zheng


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Modern Suspend on Dell Latitude 5285 does not resume
  2017-07-20 22:41   ` Nico Schottelius
@ 2017-07-20 23:05     ` Rafael J. Wysocki
  0 siblings, 0 replies; 5+ messages in thread
From: Rafael J. Wysocki @ 2017-07-20 23:05 UTC (permalink / raw)
  To: Nico Schottelius
  Cc: Mario Limonciello, ACPI Devel Maling List, Linux PM,
	Andy Shevchenko, Darren Hart, Linux Kernel Mailing List,
	Srinivas Pandruvada, Mika Westerberg, Tom Lanyon,
	Jérôme de Bretagne, Linus Torvalds, Lv

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-20 23:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-20 18:24 Modern Suspend on Dell Latitude 5285 does not resume Nico Schottelius
2017-07-20 21:03 ` Mario.Limonciello
2017-07-20 22:41   ` Nico Schottelius
2017-07-20 23:05     ` Rafael J. Wysocki
2017-07-20 21:03 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox