linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rafael@kernel.org>
To: "Jérôme de Bretagne" <jerome.debretagne@gmail.com>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Mario Limonciello <Mario.Limonciello@dell.com>,
	ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
	Linux PM <linux-pm@vger.kernel.org>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Darren Hart <dvhart@infradead.org>,
	Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
	Mika Westerberg <mika.westerberg@linux.intel.com>
Subject: Re: [PATCH 0/3] ACPI / sleep: Support power button wakeup from S2I on recent Dell laptops
Date: Tue, 13 Jun 2017 02:22:37 +0200	[thread overview]
Message-ID: <CAJZ5v0h=GVjqwZ7fdJGHWrQN5GuNotk5xCH-nYynFUadVAH0Xg@mail.gmail.com> (raw)
In-Reply-To: <CA+kEDGFiyynapLQPgnxNxuphBFYNpp7OYu9dn7vv-Z9PJNG6dA@mail.gmail.com>

On Tue, Jun 13, 2017 at 2:00 AM, Jérôme de Bretagne
<jerome.debretagne@gmail.com> wrote:
>>> One more ouput for tonight. After doing a diff of the acpidump from
>>> both BIOS versions, I've found explicit references to the two 0xCE and
>>> 0xCF values right in the delta, in the dsdt.dsl files.
>>
>> Right.  That's what my last message was about. :-)
>
> Indeed, our messages have crossed each other :-)
>
>>> I'm new to ACPI but could that ECBT mean "EC Button" maybe?
>>
>> That's just a method name which may or may not mean the above.
>>
>> \_SB.PCI0.LPCB.ECDV is the EC, so it is all related.
>>
>> However, the bottom line is that there is no way for the kernel at all
>> to know in advance that these events are going to be generated.
>
> Ok, so I understand that this is totally device-specific :-(

Well, device-and-BIOS-version-specific even.

> Would a patch to handle this specific case be acceptable in the kernel though?

We have quirks. :-)

That said I think intel-hid could check the 0xCE event unconditionally
in the "wakeup" mode, but that will be a separate patch on top of my
series.

Thanks,
Rafael

  reply	other threads:[~2017-06-13  0:22 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-07 23:05 [PATCH 0/3] ACPI / sleep: Support power button wakeup from S2I on recent Dell laptops Jérôme de Bretagne
2017-06-07 23:22 ` Rafael J. Wysocki
2017-06-07 23:38   ` Jérôme de Bretagne
2017-06-07 23:47     ` Rafael J. Wysocki
2017-06-08 22:28 ` Mario.Limonciello
2017-06-08 23:44   ` Jérôme de Bretagne
2017-06-09 16:49     ` Mario.Limonciello
2017-06-09 23:11       ` Jérôme de Bretagne
2017-06-10  0:23         ` Mario.Limonciello
2017-06-11 22:01           ` Jérôme de Bretagne
2017-06-12 15:54             ` Srinivas Pandruvada
2017-06-12 19:13               ` Rafael J. Wysocki
2017-06-12 19:11             ` Rafael J. Wysocki
2017-06-12 20:00               ` Mario.Limonciello
2017-06-12 20:18                 ` Rafael J. Wysocki
2017-06-12 20:35                 ` Jérôme de Bretagne
2017-06-12 20:34                   ` Rafael J. Wysocki
2017-06-12 22:50                     ` Jérôme de Bretagne
2017-06-12 23:29                       ` Jérôme de Bretagne
2017-06-12 23:52                         ` Rafael J. Wysocki
2017-06-13  0:00                           ` Jérôme de Bretagne
2017-06-13  0:22                             ` Rafael J. Wysocki [this message]
2017-06-13 21:11                               ` Jérôme de Bretagne
2017-07-09 16:45                                 ` Jérôme de Bretagne
2017-06-12 23:37                       ` Rafael J. Wysocki
2017-06-12 22:38                   ` Jérôme de Bretagne
  -- strict thread matches above, loose matches on Subject: below --
2017-04-26 21:21 [PATCH 0/5] PM " Rafael J. Wysocki
2017-05-31 23:23 ` [PATCH 0/3] ACPI " Rafael J. Wysocki
2017-06-01 10:43   ` Andy Shevchenko
2017-06-01 11:50     ` Tom Lanyon
2017-06-01 14:59       ` Rafael J. Wysocki
2017-06-02  1:06         ` Tom Lanyon
2017-06-02 23:16           ` Rafael J. Wysocki
2017-06-01 15:00     ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJZ5v0h=GVjqwZ7fdJGHWrQN5GuNotk5xCH-nYynFUadVAH0Xg@mail.gmail.com' \
    --to=rafael@kernel.org \
    --cc=Mario.Limonciello@dell.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=dvhart@infradead.org \
    --cc=jerome.debretagne@gmail.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    --cc=rjw@rjwysocki.net \
    --cc=srinivas.pandruvada@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).