Line
Link Here
|
0 |
-- /usr/portage/distfiles/pbbuttonsd-0.8.1/scripts/scripts.d/cpufreq 2007-07-07 19:52:26.000000000 +0200 |
0 |
++ cpufreq 2012-08-01 10:07:02.629171771 +0200 |
Lines 18-24
Link Here
|
18 |
case "$1" in |
18 |
case "$1" in |
19 |
powersave|custom) |
19 |
powersave|custom) |
20 |
case "$KVER" in |
20 |
case "$KVER" in |
21 |
2.6.*) |
21 |
"2.6."*|"3."*) |
22 |
if [ -d /sys ]; then |
22 |
if [ -d /sys ]; then |
23 |
echo -n "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor |
23 |
echo -n "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor |
24 |
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq |
24 |
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq |
Lines 41-47
Link Here
|
41 |
;; |
41 |
;; |
42 |
performance) |
42 |
performance) |
43 |
case "$KVER" in |
43 |
case "$KVER" in |
44 |
2.6.*) |
44 |
"2.6."*|"3."*) |
45 |
if [ -d /sys ]; then |
45 |
if [ -d /sys ]; then |
46 |
echo -n "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor |
46 |
echo -n "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor |
47 |
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq |
47 |
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq |