[lkml]   [2012]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] input: Add keyreset driver.
Hi Arve,

On Tue, Jun 19, 2012 at 03:13:34PM -0600, wrote:
> From: Arve Hjønnevåg <>
> 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?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2012-06-25 21:21    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean