Using wordpress to create a website:
http://en.support.wordpress.com/using-wordpress-to-create-a-website/
Monday, September 23, 2013
Thursday, September 19, 2013
Trim power hog on laptop: Thinkpad T400 with Linux
The following are ideas to remove power hogs in my laptop plus prolong its lifetime.
On Thinkpad T400 with Debian system (currently: Wheezy), do the following:
1) install laptop-mode-tools
Set the hard drive hdparm parameters to
BATT_HD_POWERMGMT=225
LM_AC_HD_POWERMGMT=254
NOLM_AC_HD_POWERMGMT=254
in /etc/laptop-mode/laptop-mode.conf.
Also set the hard disk spindown timeout to:
LM_AC_HD_IDLE_TIMEOUT_SECONDS=600
LM_BATT_HD_IDLE_TIMEOUT_SECONDS=120
NOLM_HD_IDLE_TIMEOUT_SECONDS=7200
This is needed for balance between battery life and your hard disk life.
2) disable wake-on-lan:
a) disable it on bios
b) install pm-utils hook blacklist in /etc/pm/config.d/disable-wol-tweaks:
HOOK_BLACKLIST="disable_wol"
3) (TODO) disable wake-on-USB
4) install tp-smapi-dkms and add these entries in /etc/sysfs.conf:
devices/platform/smapi/BAT0/start_charge_thresh = 67
devices/platform/smapi/BAT0/stop_charge_thresh = 100
(Ref: http://www.thinkwiki.org/wiki/Tp_smapi)
If you have any more ideas, let me know.
On Thinkpad T400 with Debian system (currently: Wheezy), do the following:
1) install laptop-mode-tools
Set the hard drive hdparm parameters to
BATT_HD_POWERMGMT=225
LM_AC_HD_POWERMGMT=254
NOLM_AC_HD_POWERMGMT=254
in /etc/laptop-mode/laptop-mode.conf.
Also set the hard disk spindown timeout to:
LM_AC_HD_IDLE_TIMEOUT_SECONDS=600
LM_BATT_HD_IDLE_TIMEOUT_SECONDS=120
NOLM_HD_IDLE_TIMEOUT_SECONDS=7200
This is needed for balance between battery life and your hard disk life.
2) disable wake-on-lan:
a) disable it on bios
b) install pm-utils hook blacklist in /etc/pm/config.d/disable-wol-tweaks:
HOOK_BLACKLIST="disable_wol"
3) (TODO) disable wake-on-USB
4) install tp-smapi-dkms and add these entries in /etc/sysfs.conf:
devices/platform/smapi/BAT0/start_charge_thresh = 67
devices/platform/smapi/BAT0/stop_charge_thresh = 100
(Ref: http://www.thinkwiki.org/wiki/Tp_smapi)
If you have any more ideas, let me know.
Subscribe to:
Posts (Atom)