~ubuntu-branches/ubuntu/dapper/cpufreqd/dapper

« back to all changes in this revision

Viewing changes to examples/cpufreqd.conf-2.6

  • Committer: Bazaar Package Importer
  • Author(s): Mattia Dongili
  • Date: 2005-11-27 18:47:42 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051127184742-9h26euwetr6kh1e6
Tags: 2.0.0-1

* New upstream release.
* cpufreqd.init: exit succesfully in case a stop is issued and
  cpufreqd is found running as requested by LSB thus making it
  possible to remove cpufreqd when cpufreqd itsef is stopped
  (closes: #340133)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# this is a comment
2
 
#
3
 
# you need: 1 [General] section, 
4
 
#           1 or more [Profile] sections
5
 
#                 1 or more [Rule] sections
6
 
#
7
 
# a section ends at the first blank line
8
 
#
9
 
# [Rule] sample:
10
 
#           [Rule]
11
 
#           name=sample_rule
12
 
#           ac=on                    # (on/off)
13
 
#           battery_interval=0-10
14
 
#           cpu_interval=30-60
15
 
#           programs=xine,mplayer
16
 
#           profile=sample_profile
17
 
#
18
 
# [Profile] sample:
19
 
#           [Profile]
20
 
#           name=sample_profile
21
 
#           minfreq=10%
22
 
#           maxfreq=100%
23
 
#           policy=performance
24
 
#
25
 
# see CPUFREQD.CONF(5) manpage for a complete reference
26
 
 
27
 
[General]
28
 
pidfile=/var/run/cpufreqd.pid
29
 
poll_interval=2
30
 
pm_type=acpi #(acpi, apm or pmu)
31
 
# Uncomment the following line to enable ACPI workaround (see cpufreqd.conf(5))
32
 
# acpi_workaround=1
33
 
verbosity=4 #(if you want a minimal logging set to 5)
34
 
 
35
 
[Profile]
36
 
name=hi_boost
37
 
# replace mifreq and maxfreq values 
38
 
# with actual values of your system
39
 
minfreq=997500
40
 
maxfreq=997500
41
 
policy=performance
42
 
 
43
 
[Profile]
44
 
name=medium_boost
45
 
# replace mifreq and maxfreq values 
46
 
# with actual values of your system
47
 
minfreq=731500
48
 
maxfreq=997500
49
 
policy=performance
50
 
 
51
 
[Profile]
52
 
name=lo_boost
53
 
# replace mifreq and maxfreq values 
54
 
# with actual values of your system
55
 
minfreq=660000
56
 
maxfreq=731500
57
 
policy=performance
58
 
 
59
 
[Profile]
60
 
name=lo_power
61
 
# replace mifreq and maxfreq values 
62
 
# with actual values of your system
63
 
minfreq=660000
64
 
maxfreq=660000
65
 
policy=powersave
66
 
 
67
 
# conservative mode when not AC
68
 
[Rule]
69
 
name=conservative
70
 
ac=off                   # (on/off)
71
 
battery_interval=0-100   
72
 
cpu_interval=0-40
73
 
profile=lo_boost
74
 
 
75
 
# need some power
76
 
[Rule]
77
 
name=lo_cpu_boost
78
 
ac=off                   # (on/off)
79
 
battery_interval=0-100
80
 
cpu_interval=30-80
81
 
profile=medium_boost
82
 
 
83
 
# need big power (not if battery very low)
84
 
[Rule]
85
 
name=hi_cpu_boost
86
 
ac=off                   # (on/off)
87
 
battery_interval=50-100
88
 
cpu_interval=70-100
89
 
profile=medium_boost
90
 
 
91
 
# full power when AC
92
 
[Rule]
93
 
name=AC_on
94
 
ac=on                   # (on/off)
95
 
profile=hi_boost
96
 
 
97
 
# full power when watching DVDs and not AC:
98
 
# this is the last rule and takes less
99
 
# precedence with respect to the others
100
 
[Rule]
101
 
name=dvd_watching
102
 
ac=off                   # (on/off)
103
 
battery_interval=0-100
104
 
programs=xine,mplayer,avidemux,gcc
105
 
cpu_interval=0-100
106
 
profile=hi_boost