[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120625185922.GA20660@core.coreip.homeip.net>
Date: Mon, 25 Jun 2012 11:59:23 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: mathieu.poirier@...aro.org
Cc: linux-input@...r.kernel.org, john.stultz@...aro.org,
linux-kernel@...r.kernel.org,
Arve Hjønnevåg <arve@...roid.com>,
kernel-team@...roid.com
Subject: Re: [PATCH] input: Add keyreset driver.
Hi Arve,
On Tue, Jun 19, 2012 at 03:13:34PM -0600, mathieu.poirier@...aro.org wrote:
> From: Arve Hjønnevåg <arve@...roid.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists