Re: [PATCH v2 1/2] eeepc-wmi: add additional hotkeys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 12, 2010 at 1:47 AM,  <chris@xxxxxxxxxxxxxx> wrote:
> From: Chris Bagwell <chris@xxxxxxxxxxxxxx>
>
> Added 4 hotkeys using same keymap values as eeepc-latop.
> These are mousepad toggle, resolution change, screen off,
> and task manager. ÂThese were tested on 1005PE and are the
> Fn-F3, F4, F7, and F9, respectively.
>
> Also, added a new hot key for power toggles (Fn-Space on 1005PE)
> and is meant to drive cpufv interface from userspace.
>
> Signed-off-by: Chris Bagwell <chris@xxxxxxxxxxxxxx>
> ---
> Âdrivers/platform/x86/eeepc-wmi.c | Â Â5 +++++
> Â1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c
> index 9dc50fb..21df266 100644
> --- a/drivers/platform/x86/eeepc-wmi.c
> +++ b/drivers/platform/x86/eeepc-wmi.c
> @@ -69,6 +69,11 @@ static const struct key_entry eeepc_wmi_keymap[] = {
> Â Â Â Â{ KE_IGNORE, NOTIFY_BRNDOWN_MIN, { KEY_BRIGHTNESSDOWN } },
> Â Â Â Â{ KE_IGNORE, NOTIFY_BRNUP_MIN, { KEY_BRIGHTNESSUP } },
> Â Â Â Â{ KE_KEY, 0xcc, { KEY_SWITCHVIDEOMODE } },
> + Â Â Â { KE_KEY, 0x6b, { KEY_F13 } }, /* Disable Touchpad */
> + Â Â Â { KE_KEY, 0xe1, { KEY_F14 } },
> + Â Â Â { KE_KEY, 0xe9, { KEY_DISPLAY_OFF } },
> + Â Â Â { KE_KEY, 0xe0, { KEY_PROG1 } },
> + Â Â Â { KE_KEY, 0x5c, { KEY_F15 } },
> Â Â Â Â{ KE_END, 0},
> Â};
>
> --
> 1.7.3.1
>
>

Reviewed-by: Corentin Chary <corentincj@xxxxxxxxxx>

Matthew, could you add this patch for 2.6.37 ? Thanks.

-- 
Corentin Chary
http://xf.iksaif.net
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux