[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 3 Mar 2010 13:45:33 +0000
From: Matthew Garrett <mjg59@...f.ucam.org>
To: Joey Lee <jlee@...ell.com>
Cc: mzxreary@...inter.de, gregkh@...e.de, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 58/62] msi-laptop: Support some MSI 3G netbook that is
need load SCM
On Tue, Mar 02, 2010 at 09:52:12PM -0700, Joey Lee wrote:
> I developed this driver on 2.6.31 kernel, and I found this key code is
> in 2.6.33 kernel and later.
> There have one and only one scancode to control 3 devices when end user
> press fn+f11 key on MSI N034.
> Currently, we setup this mapping in HAL key and mapping it to KEY_WLAN.
Ah! The key comes through the keyboard controller? In that case, yeah,
just map it to KEY_RFKILL in hal isntead of KEY_WLAN. Everything should
work fine then. If rfkill-input is configured, it'll kill all the
radios. If userland claims it instead, it can cycle through with
whatever policy is desired.
--
Matthew Garrett | mjg59@...f.ucam.org
--
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