==================================
ϡ
linux-2.6.13/Documentation/power/interface.txt 
Ǥ
Ρ JF ץ < http://www.linux.or.jp/JF/ >
  2005/9/7
  Hiroshi.Suzuki < setter at reset dot jp >
  Chie Nakatani  <jeanne at mbox dot kyoto-inet dot or dot jp>
	Masanori Kobayasi  <zap03216 at nifty dot ne dot jp>
==================================

Power Management Interface

Ÿ󥿥ե

The power management subsystem provides a unified sysfs interface to 
userspace, regardless of what architecture or platform one is
running. The interface exists in /sys/power/ directory (assuming sysfs
is mounted at /sys). 

Ÿ֥ƥϡɤΤ褦ʥƥ㡢ޤϥץåȥե
ƯƤ뤫򵤤ˤ桼֤ˡ礵줿 sysfs 󥿥ե
󶡤ޤ󥿥եϡ(sysfs /sys ˥ޥȤƤȲꤷ) 
/sys/power/ ǥ쥯ȥˤޤ

/sys/power/state controls system power state. Reading from this file
returns what states are supported, which is hard-coded to 'standby'
(Power-On Suspend), 'mem' (Suspend-to-RAM), and 'disk'
(Suspend-to-Disk). 

/sys/power/state ϡƥŸ֤椷ޤΥեɤȡ
ɤʾ('standby' (Power-On Suspend), 'mem' (Suspend-to-RAM),
'disk' (Suspend-to-Disk) ˥ϡɥɤƤ)ݡȤ뤫֤
ޤ

Writing to this file one of those strings causes the system to
transition into that state. Please see the file
Documentation/power/states.txt for a description of each of those
states.

ʸΤҤȤĤ򤳤Υե˽񤭹ȡƥϤξ֤
ܤޤ֤Τ줾ˤĤƵҤDocumentation/power/states.txt
եߤƤ 

/sys/power/disk controls the operating mode of the suspend-to-disk
mechanism. Suspend-to-disk can be handled in several ways. The
greatest distinction is who writes memory to disk - the firmware or
the kernel. If the firmware does it, we assume that it also handles
suspending the system. 

/sys/power/disk ϡsuspend-to-disk ư⡼ɤ椷ޤ
suspend-to-disk ϡĤˡ򰷤ޤǤ礭ʼ̤ϡ
ǥ˥񤭹फ (ե०ޤϥͥ) Ǥ
ե०Ԥʤ顢줬ƥΰߤⰷȤߤʤޤ

If the kernel does it, then we have three options for putting the system
to sleep - using the platform driver (e.g. ACPI or other PM
registers), powering off the system or rebooting the system (for
testing). The system will support either 'firmware' or 'platform', and
that is known a priori. But, the user may choose 'shutdown' or
'reboot' as alternatives. 

ͥ뤬Ԥʤ顢ƥٻߤ뤿ˡ3ĤΥץ
(ץåȥեɥ饤 (Ȥ ACPI 䡢¾ PM 쥸) Ȥ
ƥŸڤ롢ƥƵư (ƥ)) Ȥޤƥϡ
ͥŪ 'firmware' ޤ'platform' Τɤ餫򥵥ݡȤޤ
桼ϡ 'shutdown' ޤϡ'reboot' ֤ȤǤޤ

Reading from this file will display what the mode is currently set
to. Writing to this file will accept one of

ΥեɤȡꤵƤ⡼ɤ򼨤ޤ
Υեؤν񤭹ߤϼΤҤȤĤͭǤ

       'firmware'
       'platform'
       'shutdown'
       'reboot'

It will only change to 'firmware' or 'platform' if the system supports
it. 

'firmware'⤷ 'platform' ѹǤΤϡƥबݡȤƤ
ΤߤǤ
