On Fri, Oct 01, 2010 at 10:44:22AM -0700, Dmitry Torokhov wrote: > On Fri, Oct 01, 2010 at 11:37:48AM -0600, Joey Lee wrote: > > Hi Corentin, > > > > æ äï2010-10-01 æ 16:03 +0200ïCorentin Chary æåï > > > On Fri, Oct 1, 2010 at 3:51 PM, Lee, Chun-Yi <joeyli.kernel@xxxxxxxxx> wrote: > > > > Add acer wmi hotkey event support. Install a wmi notify handler to > > > > transfer wmi event key to key code, then send out keycode through acer > > > > wmi input device to userland. > > > > > > > > Signed-off-by: Lee, Chun-Yi <jlee@xxxxxxxxxx> > > > > > > Hi Lee, > > > You'll probably want to take a look at the sparse keymap library. Using > > > it would remove a lot of code from this patch. > > > Thanks > > > > > > > Thank's for your suggestion, I just goolge it: > > http://www.spinics.net/lists/linux-input/msg10336.html > > > > And, you are right, it's a very good framework for keymap handler. > > I will modify patch to use sparse keymap library. > > > > I believe it already available in newest kernel. > > Does it already in 2.6.32 kernel? Because I also need backport those 2 > > patches to 2.6.32.x kernel. > > > > Unfortunately it is in 2.6.33 onward. > ... but you shold be able to add the module to your distibution, it is pretty much self-contained. If you do so there were a couple of fixes in later kernels you might want to grab as well. -- Dmitry -- 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