[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100302234614.GA1680@suse.de>
Date: Tue, 2 Mar 2010 15:46:14 -0800
From: Greg KH <gregkh@...e.de>
To: Matthew Garrett <mjg59@...f.ucam.org>
Cc: linux-kernel@...r.kernel.org, "Lee, Chun-Yi" <jlee@...ell.com>,
Lennart Poettering <mzxreary@...inter.de>
Subject: Re: [PATCH 58/62] msi-laptop: Support some MSI 3G netbook that is
need load SCM
On Tue, Mar 02, 2010 at 11:39:29PM +0000, Matthew Garrett wrote:
> On Tue, Mar 02, 2010 at 03:28:57PM -0800, Greg Kroah-Hartman wrote:
> > From: Lee, Chun-Yi <jlee@...ell.com>
> >
> > Some MSI 3G netbook only have one fn key to control Wlan/Bluetooth/3G,
> > those netbook will load the SCM (windows app) to disable the original
> > Wlan/Bluetooth control by BIOS when user press fn key, then control
> > Wlan/Bluetooth/3G by SCM (software control by OS). Without SCM, user
> > cann't on/off 3G module on those 3G netbook.
> > On Linux, msi-laptop driver will do the same thing to disable the
> > original BIOS control, then might need use HAL or other userland
> > application to do the software control that simulate with SCM.
> > e.g. MSI N034 netbook
>
> How does the function key event get reported to userland? This should
> generate KEY_RFKILL and then just go through rfkill-input.
I'm pretty sure that Joey is using rfkill here, but I didn't realize
that it also supported an input device.
This code is just detecting the keypress, and acting on it, I think,
right Joey? Isn't that the way this is supposed to work? Or is it
supposed to use rfkill-input, which then userspace turns around and
calls the other rfkill interface to then disable the wireless? If so, I
think a number of laptop drivers need to be changed to do this.
thanks,
greg k-h
--
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