国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統(tǒng) > Linux > 正文

新手學(xué)堂:Linux操作系統(tǒng)下的休眠與待機(jī)

2024-08-27 23:58:06
字體:
供稿:網(wǎng)友

內(nèi)核2.6.23以前要用suspend2-source,以后就用tuxonice-source了。

1、安裝tuxonice-source和hibernate-script

前者是打了休眠和待機(jī)功能的補(bǔ)丁的內(nèi)核源碼包,后者是提供了用戶執(zhí)行休眠和待機(jī)的腳本。

2、編譯內(nèi)核,下面是我的配置:

  1. * Power Management support │ │ │ │ [ ] Legacy Power Management API (DEPRECATED) │ │ │ │ [ ] Power Management Debug Support │ │ │ │ *] Suspend to RAM and standby │ │ │ │ *] Hibernation (aka 'suspend to disk') │ │ │ │ () Default resume partition │ │ │ │ <*> Enhanced Hibernation (TuxOnIce) --->--- Enhanced Hibernation TuxOnIce) │ │ │ │ --- Image Storage (you need at least one allocator) │ │ │ │ <*> File Allocator │ │ │ │ <*> Swap Allocator │ │ │ │ --- General Options │ │ │ │ <*> Compression support │ │ │ │ <*> Userspace User Interface support │ │ │ │ (/usr/local/sbin/tuxonice_fbsplash) Default userui program location │ │ │ │ [ ] Allow Keep Image Mode │ │ │ │ *] Replace swsusp by default │ │ │ │ < > Cluster support ---> │ │ │ │ *] Checksum pageset2 │ │ │ │ (25) Default waiting time for emergency boot messages │ │ 

3、使用新內(nèi)核

在終端下和X里面用

hibernate -n和hibernate-ram -n分別試試,如果一切正常則表明配置是沒問題的,可以正常使用(去掉后面的-n)

4、hibernate-ram不能resume的問題——vbetool

剛開始在我的dell 1400本本上待機(jī)后再恢復(fù),屏幕會變得很暗很暗,終端下根本看不見東西,但是機(jī)器是在運(yùn)行的,搜了下,發(fā)現(xiàn)需要用vbetool,安裝vbetool,然后打開/etc/hibernate/common.conf里的

### vbetoolEnableVbetool yes

再試試,就一切正常了,筆記本有了待機(jī)和休眠的功能,方能體現(xiàn)其價值啊.

發(fā)表評論 共有條評論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 奉新县| 克东县| 平陆县| 长顺县| 嘉荫县| 工布江达县| 鹤峰县| 株洲市| 西盟| 合江县| 绥宁县| 双江| 禹州市| 呼玛县| 济南市| 开江县| 东光县| 三穗县| 黎平县| 德阳市| 光泽县| 马关县| 和平区| 盈江县| 乌鲁木齐县| 永州市| 长丰县| 九台市| 合作市| 泰安市| 长沙县| 射洪县| 毕节市| 昌图县| 年辖:市辖区| 山丹县| 寻乌县| 赞皇县| 宁远县| 石阡县| 华阴市|