mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: mathieu.poirier@linaro.org
Cc: linux-input@vger.kernel.org, john.stultz@linaro.org,
	linux-kernel@vger.kernel.org, "Arve Hjønnevåg" <arve@android.com>,
	kernel-team@android.com
Subject: Re: [PATCH] input: Add keyreset driver.
Date: Mon, 25 Jun 2012 11:59:23 -0700	[thread overview]
Message-ID: <20120625185922.GA20660@core.coreip.homeip.net> (raw)
In-Reply-To: <1340140414-9720-1-git-send-email-mathieu.poirier@linaro.org>

Hi Arve,

On Tue, Jun 19, 2012 at 03:13:34PM -0600, mathieu.poirier@linaro.org wrote:
> From: Arve Hjønnevåg <arve@android.com>
> 
> This patch originates from the Android tree and is being submitted
> for review and inclusion in the mainline kernel.
> 
> Add a platform device in the board file to specify a reset key-combo.
> The first time the key-combo is detected a work function that syncs
> the filesystems is scheduled. If all the keys are released and then
> pressed again, it calls panic. Reboot on panic should be set for
> this to work.

This sounds a lot like SYSRQ handler, but with configurable key sequence.
Why don't you extend drivers/tty/sysrq.c instead?

Thanks.

-- 
Dmitry

      reply	other threads:[~2012-06-25 18:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-19 21:13 mathieu.poirier
2012-06-25 18:59 ` Dmitry Torokhov [this message]

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=20120625185922.GA20660@core.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=arve@android.com \
    --cc=john.stultz@linaro.org \
    --cc=kernel-team@android.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathieu.poirier@linaro.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®