From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Dudley Du <dudl@cypress.com>, Benson Leung <bleung@google.com>,
Daniel Kurtz <djkurtz@google.com>, David Solda <dso@cypress.com>,
"linux-input@vger.kernel.org" <linux-input@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 4/6] input: cyapa: enable/disable trackpad device based on LID state
Date: Tue, 20 May 2014 14:40:12 +0200 [thread overview]
Message-ID: <1507406.BNOsJcxmP9@vostro.rjw.lan> (raw)
In-Reply-To: <20140520034302.GB986@core.coreip.homeip.net>
On Monday, May 19, 2014 08:43:02 PM Dmitry Torokhov wrote:
> Hi Dudley,
>
> On Wed, Apr 16, 2014 at 08:39:34AM +0000, Dudley Du wrote:
> > Rely on EV_SW and SW_LID bits to identify a LID device, and hook
> > up our filter to listen for SW_LID events to enable/disable touchpad when
> > LID is open/closed.
> > TEST=test on Chomebooks.
>
> This is a policy and it does not belong in the kernel. Please work with
> Rafael to establish generic interface to put devices into low power mode
> (like accelerating runtime PM idle timeout)
I'm not really sure what you mean here, care to be more specific?
> and use it when userspace detects that lid is closed.
I guess we get an event then, don't we?
Rafael
next prev parent reply other threads:[~2014-05-20 12:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-16 8:39 Dudley Du
2014-05-20 3:43 ` Dmitry Torokhov
2014-05-20 6:54 ` Dudley Du
2014-05-20 12:40 ` Rafael J. Wysocki [this message]
2014-05-20 15:25 ` Dmitry Torokhov
2014-05-20 15:52 ` Benson Leung
2014-05-20 21:07 ` Rafael J. Wysocki
-- strict thread matches above, loose matches on Subject: below --
2014-04-14 7:54 Dudley Du
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=1507406.BNOsJcxmP9@vostro.rjw.lan \
--to=rjw@rjwysocki.net \
--cc=bleung@google.com \
--cc=djkurtz@google.com \
--cc=dmitry.torokhov@gmail.com \
--cc=dso@cypress.com \
--cc=dudl@cypress.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®