From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tehn Yit Chin Subject: apm for individual devices Date: Tue, 07 Mar 2006 11:44:35 +1100 Message-ID: <440CD773.6010401@greyinnovation.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org To: linux-pm@lists.osdl.org List-Id: linux-pm@vger.kernel.org Hi all, How does one use the sysfs entry of power/state that I can find for each registered device? Eg, for the i2c device on my s3c2410 cpu, I find the following entry, /sys/devices/platform/s3c2410-i2c/power/state I tried echoing "mem" into it, but nothing seems to happen. What I am looking for is a way of suspending and resuming individual devices within the PM architecture? Any pointers would be greatly appreciated. -- Tehn Yit Chin Software Engineer, Grey Innovation Pty. Ltd.