- 论坛徽章:
- 0
|
1
apt-get install Laptop Mode Tools
open /etc/laptop-mode/laptop-mode.conf and modify
ENABLE_LAPTOP_MODE_ON_AC=1
sudo laptop_mode start force
cat /proc/sys/vm/laptop_mode
查看,如果返回值为0的话,表示系统还未进入 Laptop Mode,
如果返回的是其他正数值则表示系统成功进入 Laptop Mode。也可以通过输入
sudo laptop_mode status
2
/etc/modules addd follow item,
acpi-cpufreq
cpufreq_ondemand
cpufreq_userspace
cpufreq_conservative
cpufreq_powersave
cpufreq_performance
after restart,
#cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq
2400000
#cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq
1200000
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
conservative ondemand powersave userspace performance
1) ondemand
A dynamic cpufreq policy governor; it changes frequency based on
the processor load. It may not work on older laptops without Enhanced SpeedStep
due to latency reasons.
一有cpu计算量的任务,就会立即达到最大频率运行,等执行完毕就立即回到最低频率;
2)conservative
New since 2.6.12. Similar to ondemand but has a much slower 'slew rate',
remaining at high frequency for many seconds after recent processor demand.
Good for battery powered environments and AMD64. Again, this governor may not
work on older ThinkPads like the T21.
翻译成保守的,也就是默认的模式,一般选择这个,会自动在频率上下限调整;
3)powersave
Sets the Frequency to the lowest available, to save power. Your battery
would choose this one ;) 是无论如何都只会保持最低频率的所谓“省电”模式;
4)userspace
Allows you to set the frequency manually, unlike the others.
Some frequency scaling daemons require this governor to operate correctly.
This is typically the recommended option with older processors like A30p's
pIIIm-1200. 是自定义频率时的模式,这个是当你设定特定频率时自动转变的;
5) performance
Sets your Frequency always to the highest available.
顾名思义只注重效率,无论如何一直保持以最大频率运行。
Now we set our governor: What is our current governor?
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
userspace
Set new governor and watch if it has changed
# echo conservative > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
conservative
3
brightness
apt-get install fnfxd
fnfxd ACPI and hotkey daemon for Toshiba laptops
add item /etc/modules
toshiba
toshiba_acpi
after restart
please check
/proc/acpi/toshiba/
echo "brightness: 2 ">/proc/acpi/toshiba/lcd
open /etc/fnfxd/fnfxd.conf
adjust defaults(brightness="1") item
4
please add follow item to /etc/modules
battery
ac
thermal
processor
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/31548/showart_322505.html |
|