⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 interface.txt

📁 Linux Kernel 2.6.9 for OMAP1710
💻 TXT
字号:
Power Management InterfaceThe power management subsystem provides a unified sysfs interface to userspace, regardless of what architecture or platform one isrunning. The interface exists in /sys/power/ directory (assuming sysfsis mounted at /sys). /sys/power/state controls system power state. Reading from this filereturns what states are supported, which is hard-coded to 'standby'(Power-On Suspend), 'mem' (Suspend-to-RAM), and 'disk'(Suspend-to-Disk). Writing to this file one of those strings causes the system totransition into that state. Please see the fileDocumentation/power/states.txt for a description of each of thosestates./sys/power/disk controls the operating mode of the suspend-to-diskmechanism. Suspend-to-disk can be handled in several ways. Thegreatest distinction is who writes memory to disk - the firmware orthe kernel. If the firmware does it, we assume that it also handlessuspending the system. If the kernel does it, then we have three options for putting the systemto sleep - using the platform driver (e.g. ACPI or other PMregisters), powering off the system or rebooting the system (fortesting). The system will support either 'firmware' or 'platform', andthat is known a priori. But, the user may choose 'shutdown' or'reboot' as alternatives. Reading from this file will display what the mode is currently setto. Writing to this file will accept one of       'firmware'       'platform'       'shutdown'       'reboot'It will only change to 'firmware' or 'platform' if the system supportsit. 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -