Re: [PATCH] platform-driver-x86: ACPI EC Extra driver for Oaktrail
From: Yin Kangkai
Date: Thu Jan 06 2011 - 05:50:14 EST
On 2011-01-06, 08:29 +0100, Corentin Chary wrote:
> > + * gps - GPS subsystem enabled: contains either 0 or 1. (rw)
> > + * wifi - WiFi subsystem enabled: contains either 0 or 1. (rw)
> > + * wwan - WWAN (3G) subsystem enabled: contains either 0 or 1. (rw)
>
> Is there a reason do add these files in /sys/devices/platform while the
> functionality is already provided by rfkill ?
This is not the same functionality.
enable/disable using files in /sys/devices/platform will completely
cut power of those components. For example, if disabled, you can not
list out those components using lsusb. Can we achieve this using
rfkill?
> > + * camera - Camera subsystem enabled: contains either 0 or 1. (rw)
> > + * bluetooth - Bluetooth subsystem enabled: contains either 0 or 1. (rw)
> > + * touchscreen - Touchscreen subsystem enabled: contains either 0 or 1. (ro)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/