On 08/17/2012 12:06 AM, mathieu.poir...@linaro.org wrote:
> +static int do_keyreset_event(struct sysrq_state *state,
> + unsigned int code, int value)
> +{
> + int ret;
> + int processed = 0;
> +
> + /* Is the code is of interestest to us */
> +
> This functionality comes from the keyreset driver submitted by
> Arve Hjønnevåg in the Android kernel. It is sent out as an initial
> draft and comments are welcomed.
Looks reasonable to me as a basis.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body
From: "Mathieu J. Poirier"
This patch adds keyreset functionality to the sysrq driver. It
allows certain button/key combinations to be used in order to
trigger device resets.
The first time the key-combo is detected a work function that syncs
the filesystems is scheduled and the kernel rebooted.
3 matches
Mail list logo