[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1281690893.23680.475.camel@localhost>
Date: Fri, 13 Aug 2010 10:14:53 +0100
From: David Woodhouse <dwmw2@...radead.org>
To: Ike Panhc <ike.pan@...onical.com>
Cc: platform-driver-x86@...r.kernel.org, linux-acpi@...r.kernel.org,
Matthew Garrett <mjg@...hat.com>,
Len Brown <len.brown@...el.com>,
Randy Dunlap <randy.dunlap@...cle.com>,
Corentin Chary <corentincj@...aif.net>,
Andrew Morton <akpm@...ux-foundation.org>,
Alan Cox <alan@...ux.intel.com>,
Thomas Renninger <trenn@...e.de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ideapad-laptop: add new driver
On Fri, 2010-08-13 at 12:08 +0800, Ike Panhc wrote:
>
> The driver will bind on ACPI HID:VPC2004. When hotkey pressed, the
> notify
> function will be called and query EC to tell which key pressed.
>
> Hotkeys enabled listed below:
> * LCD backlight switch - reports KEY_DISPLAY_OFF
> * One key restore - reports KEY_PROG1
> * Brightness Up/down - reports KEY_BRIGHTNESS_CYCLE
> Both up/down keys reports the same event. Need to find other way to
> detect
> * Touchpad switch - reports KEY_F13
> * Video output switch - reports KEY_SWITCHVIDEOMODE
> * Camera switch - reports KEY_CAMERA
> * Video resolution switch - reports KEY_VIDEO_NEXT
> * S/W rfkill key - reports KEY_WLAN
Hm, interesting. What model (and BIOS version) are you testing with?
On my S10-3, (DMI BIOS version 2ACN23WW, date 03/12/2010), I get these
keys through the normal keyboard controller -- and we can tell the
brightness up/down apart, too.
http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=9cd075e3
Do you see those keycodes too... and do they *stop* arriving through the
keyboard controller when you load your driver?
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@...el.com Intel Corporation
--
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