From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753047Ab1AFKuH (ORCPT ); Thu, 6 Jan 2011 05:50:07 -0500 Received: from mga02.intel.com ([134.134.136.20]:6801 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752928Ab1AFKuG (ORCPT ); Thu, 6 Jan 2011 05:50:06 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.60,282,1291622400"; d="scan'208";a="694143363" Date: Thu, 6 Jan 2011 18:50:03 +0800 From: Yin Kangkai To: Corentin Chary Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, "Wang, Yong Y" , "Liu, Bing Wei" Subject: Re: [PATCH] platform-driver-x86: ACPI EC Extra driver for Oaktrail Message-ID: <20110106105003.GO9496@kai-debian> References: <20110106025949.GJ9496@kai-debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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)