※ 引述《"[email protected]" <[email protected]>, 看板: Linux》之銘言:
: I don't know Ubunto. But you may like to look
: for its config-file, which would be something like
: /etc/hdparm.conf and try to edit the file.
謝謝你,我試過了這個做法,可是還是沒用。
後來讀了 readme,才知道 apm 相關的要另外在
/etc/apm/event.d/20hdparm
裏設定,這裏我還要再試試看,剛剛改了一行指令,
是可以關掉 apm,可是連帶使得螢幕亮度變得不能調整,一律是最亮。
: These settings would automatically take effect
: each time you boot the machine. Or, under Debian,
: one usually does
: /etc/init.d/hdparm restart
這個方法,我試過也不行,也不知道是不是哪有錯,
我是照這個網頁
http://www.linuxquestions.org/questions/linux-general-1/
starting-hdparm-at-boot-time-602303/
(抱歉太長斷行)
來做的,先建一個 /etc/init.d/hdparm 檔,裏面寫入
hdparm -B 255 /dev/sda
然後 sudo update-rc.d hdparm defaults
結果得到
warning: /etc/init.d/hdparm missing LSB information
的錯誤,reboot 後也是不行。
我完全是新手,邊看各位的指點、邊讀 google、邊摸索。
--
--
: I don't know Ubunto. But you may like to look
: for its config-file, which would be something like
: /etc/hdparm.conf and try to edit the file.
謝謝你,我試過了這個做法,可是還是沒用。
後來讀了 readme,才知道 apm 相關的要另外在
/etc/apm/event.d/20hdparm
裏設定,這裏我還要再試試看,剛剛改了一行指令,
是可以關掉 apm,可是連帶使得螢幕亮度變得不能調整,一律是最亮。
: These settings would automatically take effect
: each time you boot the machine. Or, under Debian,
: one usually does
: /etc/init.d/hdparm restart
這個方法,我試過也不行,也不知道是不是哪有錯,
我是照這個網頁
http://www.linuxquestions.org/questions/linux-general-1/
starting-hdparm-at-boot-time-602303/
(抱歉太長斷行)
來做的,先建一個 /etc/init.d/hdparm 檔,裏面寫入
hdparm -B 255 /dev/sda
然後 sudo update-rc.d hdparm defaults
結果得到
warning: /etc/init.d/hdparm missing LSB information
的錯誤,reboot 後也是不行。
我完全是新手,邊看各位的指點、邊讀 google、邊摸索。
--
--
All Comments