Linux電源管理編譯

2021-05-28 11:24:34 字數 355 閱讀 9043

在核心中,有乙個driver/power/power_supply_core.

我在核心 中的make menuconfig

開始,配置:

power management options

中,已經全部配置.

但是,power中的檔案仍然沒有變化。

然後開始找核心,

在device drivers中找到:

[*]power supply class support --->

選中。然後進入

在找到:

<*> apm emulation for class batteries

選中。這樣,我們的電源管理模組,就正式進入核心。

linux電源管理

一 acpid的實驗 1 我在機房的機器上的 etc apci events power.conf中加了 actions bin echo 111111111111 root 1.tmp 2 service acpid restart 3 我按了電源.呵呵,發現了 root 1.tmp 二 etc ...

linux 電源管理

我用的筆記本 ubuntu 12.04 kernel 3.8.8 只能掛起一次,第二次掛起的話就到了解鎖介面,網上找了很多 ubuntu suspend once 沒有用 但是學到了一些其它的電源管理命令 快捷鍵關螢幕 其它的,光碟機,cpu,硬碟都可以進行管理 休眠 資料到記憶體 sudo etc...

linux 電源管理之 regulator

1 電源管理 regulator 分成靜態和動態 靜態不需要改變電壓電流,只需要開關電源,用在bootloader,firmware,kernel board 階段等。動態,根據需要改變電壓電流。2 獲取裝置的regulator,dev為驅動對應的裝置指標,可以用null,vcc為電源的id,核心會...