Messages in this thread | | | Date | Wed, 03 Mar 2010 01:55:22 -0700 | From | "Joey Lee" <> | Subject | Re: [PATCH 57/62] msi-laptop: Add threeg sysfs file for support query 3G state by standard 66/62 ec command |
| |
Hi Greg,
於 二,2010-03-02 於 15:47 -0800,Greg KH 提到: > On Tue, Mar 02, 2010 at 11:36:16PM +0000, Matthew Garrett wrote: > > On Tue, Mar 02, 2010 at 03:28:56PM -0800, Greg Kroah-Hartman wrote: > > > > > Add threeg sysfs file for support query 3G state by standard 66/62 ec > > > command, the MSI standard ec interface supported this feature. > > > > No. Just use the rfkill interface. > > Does rfkill support 3G? I thought it was only for wireless (80211) > stuff. >
M......No, rfkill have wwan type and I have also generate it in patch. So, this patch to msi-laptop driver will gnerate the following interface on MSI N034 netbook when netbook have 3G hardware module: - /sys/devices/platform/msi-laptop-pf/threeg - /sys/class/rfkill/rfkill2 /sys/class/rfkill/rfkill2/type=wwan
I have reference acer-wmi.c then generate the threeg sysfs, and want to follow the same style with "wlan" and "bluetooth" sysfs file in /sys/devices/platform/msi-laptop-pf/rfkill
And, yes, userland just need control wwan by rfkill interface. Do I need remove threeg sysfs file, now?
Thank's Joey Lee
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |