JF Linux Kernel 2.6 Documentation: /usr/src/linux/Documentation/power/interface.txt

power/interface.txt

電源管理インタフェースの説明 [プレインテキスト版]


==================================
これは、
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' に変更できるのは、システムがサポートしている
場合のみです。

Linux カーネル 2.6 付属文書一覧へ戻る