Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-07-06 Thread Srinivas Pandruvada
On Thu, 2017-07-06 at 21:41 +1000, Tom Lanyon wrote: > Sorry for the slow response - I've just had a chance to run some more > tests. > > I tried to disable the SD card reader in the BIOS as suggested > earlier > in the thread, but that didn't seem to make a significant change. > More inline

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-07-06 Thread Srinivas Pandruvada
On Thu, 2017-07-06 at 21:41 +1000, Tom Lanyon wrote: > Sorry for the slow response - I've just had a chance to run some more > tests. > > I tried to disable the SD card reader in the BIOS as suggested > earlier > in the thread, but that didn't seem to make a significant change. > More inline

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-07-06 Thread Tom Lanyon
Sorry for the slow response - I've just had a chance to run some more tests. I tried to disable the SD card reader in the BIOS as suggested earlier in the thread, but that didn't seem to make a significant change. More inline below. On Tue, 2017-06-27 at 17:03 +0200, Rafael J. Wysocki wrote: > I

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-07-06 Thread Tom Lanyon
Sorry for the slow response - I've just had a chance to run some more tests. I tried to disable the SD card reader in the BIOS as suggested earlier in the thread, but that didn't seem to make a significant change. More inline below. On Tue, 2017-06-27 at 17:03 +0200, Rafael J. Wysocki wrote: > I

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-27 Thread Srinivas Pandruvada
On Tue, 2017-06-27 at 17:03 +0200, Rafael J. Wysocki wrote: > On Tuesday, June 27, 2017 03:50:33 PM Tom Lanyon wrote: > > > > On 23 June 2017 at 12:40, Linus Torvalds > .org> wrote: > > > > > > On Thu, Jun 22, 2017 at 4:56 PM, Rafael J. Wysocki > >

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-27 Thread Srinivas Pandruvada
On Tue, 2017-06-27 at 17:03 +0200, Rafael J. Wysocki wrote: > On Tuesday, June 27, 2017 03:50:33 PM Tom Lanyon wrote: > > > > On 23 June 2017 at 12:40, Linus Torvalds > .org> wrote: > > > > > > On Thu, Jun 22, 2017 at 4:56 PM, Rafael J. Wysocki > > .net> wrote: > > > > > > > > > > > > Some

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-27 Thread Rafael J. Wysocki
On Tuesday, June 27, 2017 03:50:33 PM Tom Lanyon wrote: > On 23 June 2017 at 12:40, Linus Torvalds > wrote: > > On Thu, Jun 22, 2017 at 4:56 PM, Rafael J. Wysocki > > wrote: > >> > >> Some recent Dell laptops, including the XPS13 model numbers

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-27 Thread Rafael J. Wysocki
On Tuesday, June 27, 2017 03:50:33 PM Tom Lanyon wrote: > On 23 June 2017 at 12:40, Linus Torvalds > wrote: > > On Thu, Jun 22, 2017 at 4:56 PM, Rafael J. Wysocki > > wrote: > >> > >> Some recent Dell laptops, including the XPS13 model numbers 9360 and > >> 9365, cannot be woken up from

RE: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-27 Thread Mario.Limonciello
..@dell.com>; Jérôme de Bretagne > <jerome.debreta...@gmail.com>; Zheng, Lv <lv.zh...@intel.com>; Linus Torvalds > <torva...@linux-foundation.org> > Subject: Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on > recent > systems > > On 23 June

RE: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-27 Thread Mario.Limonciello
g > ; Limonciello, Mario > ; Jérôme de Bretagne > ; Zheng, Lv ; Linus Torvalds > > Subject: Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on > recent > systems > > On 23 June 2017 at 12:40, Linus Torvalds > wrote: > > On Thu, Jun 22, 2017 at 4

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-27 Thread Tom Lanyon
On 27 June 2017 at 16:47, Andy Shevchenko wrote: > Tom, thanks for this. > I would speculate that the problem might be in the certain device > drivers. It would be nice to get statistics which wakeup source > generates more hits. Is this something I can determine

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-27 Thread Tom Lanyon
On 27 June 2017 at 16:47, Andy Shevchenko wrote: > Tom, thanks for this. > I would speculate that the problem might be in the certain device > drivers. It would be nice to get statistics which wakeup source > generates more hits. Is this something I can determine without CONFIG_ACPI_DEBUG being

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-27 Thread Andy Shevchenko
On Tue, Jun 27, 2017 at 8:50 AM, Tom Lanyon wrote: > On 23 June 2017 at 12:40, Linus Torvalds > wrote: > Linux during s2idle => 6% battery drain per hour. > Win10 during sleep => 1% battery drain per hour. > > where Linux = 4.12-rc6 +

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-27 Thread Andy Shevchenko
On Tue, Jun 27, 2017 at 8:50 AM, Tom Lanyon wrote: > On 23 June 2017 at 12:40, Linus Torvalds > wrote: > Linux during s2idle => 6% battery drain per hour. > Win10 during sleep => 1% battery drain per hour. > > where Linux = 4.12-rc6 + the latest patch from your acpi-pm-test branch. > >

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-26 Thread Tom Lanyon
On 23 June 2017 at 12:40, Linus Torvalds wrote: > On Thu, Jun 22, 2017 at 4:56 PM, Rafael J. Wysocki wrote: >> >> Some recent Dell laptops, including the XPS13 model numbers 9360 and >> 9365, cannot be woken up from suspend-to-idle by pressing

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-26 Thread Tom Lanyon
On 23 June 2017 at 12:40, Linus Torvalds wrote: > On Thu, Jun 22, 2017 at 4:56 PM, Rafael J. Wysocki wrote: >> >> Some recent Dell laptops, including the XPS13 model numbers 9360 and >> 9365, cannot be woken up from suspend-to-idle by pressing the power >> button which is unexpected and makes

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-23 Thread Rafael J. Wysocki
On Friday, June 23, 2017 02:13:57 PM Rafael J. Wysocki wrote: > On Friday, June 23, 2017 06:30:35 AM Zheng, Lv wrote: > > Hi, Rafael > > > > [cut] > > > > > > > Index: linux-pm/drivers/acpi/ec.c > > > === > > > ---

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-23 Thread Rafael J. Wysocki
On Friday, June 23, 2017 02:13:57 PM Rafael J. Wysocki wrote: > On Friday, June 23, 2017 06:30:35 AM Zheng, Lv wrote: > > Hi, Rafael > > > > [cut] > > > > > > > Index: linux-pm/drivers/acpi/ec.c > > > === > > > ---

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-23 Thread Rafael J. Wysocki
On Friday, June 23, 2017 06:30:35 AM Zheng, Lv wrote: > Hi, Rafael > [cut] > > > > Index: linux-pm/drivers/acpi/ec.c > > === > > --- linux-pm.orig/drivers/acpi/ec.c > > +++ linux-pm/drivers/acpi/ec.c > > @@ -1835,7 +1835,7 @@

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-23 Thread Rafael J. Wysocki
On Friday, June 23, 2017 06:30:35 AM Zheng, Lv wrote: > Hi, Rafael > [cut] > > > > Index: linux-pm/drivers/acpi/ec.c > > === > > --- linux-pm.orig/drivers/acpi/ec.c > > +++ linux-pm/drivers/acpi/ec.c > > @@ -1835,7 +1835,7 @@

RE: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-23 Thread Zheng, Lv
Hi, Rafael > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Subject: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent > systems > > From: Rafael J. Wysocki > > Some recent Dell laptops, including the XPS13 model numbers 9360 and > 9365,

RE: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-23 Thread Zheng, Lv
Hi, Rafael > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Subject: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent > systems > > From: Rafael J. Wysocki > > Some recent Dell laptops, including the XPS13 model numbers 9360 and > 9365, cannot be woken up from

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-22 Thread Linus Torvalds
On Thu, Jun 22, 2017 at 4:56 PM, Rafael J. Wysocki wrote: > > Some recent Dell laptops, including the XPS13 model numbers 9360 and > 9365, cannot be woken up from suspend-to-idle by pressing the power > button which is unexpected and makes that feature less usable on > those

Re: [PATCH] ACPI / sleep: EC-based wakeup from suspend-to-idle on recent systems

2017-06-22 Thread Linus Torvalds
On Thu, Jun 22, 2017 at 4:56 PM, Rafael J. Wysocki wrote: > > Some recent Dell laptops, including the XPS13 model numbers 9360 and > 9365, cannot be woken up from suspend-to-idle by pressing the power > button which is unexpected and makes that feature less usable on > those systems. [ details