Re: [PATCH 58/62] msi-laptop: Support some MSI 3G netbook that isneed load SCM

From: Matthew Garrett
Date: Wed Mar 03 2010 - 08:45:43 EST

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@xxxxxxxxxxxxx
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at