| 1 |
1 [root@desk ~]# pwmconfig |
|---|
| 2 |
2 |
|---|
| 3 |
3 This program will search your sensors for pulse width modulation (pwm) |
|---|
| 4 |
4 controls, and test each one to see if it controls a fan on |
|---|
| 5 |
5 your motherboard. Note that many motherboards do not have pwm |
|---|
| 6 |
6 circuitry installed, even if your sensor chip supports pwm. |
|---|
| 7 |
7 |
|---|
| 8 |
8 We will attempt to briefly stop each fan using the pwm controls. |
|---|
| 9 |
9 The program will attempt to restore each fan to full speed |
|---|
| 10 |
10 after testing. However, it is ** very important ** that you |
|---|
| 11 |
11 physically verify that the fans have been to full speed |
|---|
| 12 |
12 after the program has completed. |
|---|
| 13 |
13 |
|---|
| 14 |
14 Found the following devices: |
|---|
| 15 |
15 hwmon0/device is w83697hf |
|---|
| 16 |
16 |
|---|
| 17 |
17 Found the following PWM controls: |
|---|
| 18 |
18 hwmon0/device/pwm1 |
|---|
| 19 |
19 hwmon0/device/pwm2 |
|---|
| 20 |
20 |
|---|
| 21 |
21 Giving the fans some time to reach full speed... |
|---|
| 22 |
22 Found the following fan sensors: |
|---|
| 23 |
23 hwmon0/device/fan1_input current speed: 4753 RPM |
|---|
| 24 |
24 hwmon0/device/fan2_input current speed: 0 ... skipping! |
|---|
| 25 |
25 |
|---|
| 26 |
26 Warning!!! This program will stop your fans, one at a time, |
|---|
| 27 |
27 for approximately 5 seconds each!!! |
|---|
| 28 |
28 This may cause your processor temperature to rise!!! |
|---|
| 29 |
29 If you do not want to do this hit control-C now!!! |
|---|
| 30 |
30 Hit return to continue: |
|---|
| 31 |
31 Testing pwm control hwmon0/device/pwm1 ... |
|---|
| 32 |
32 hwmon0/device/fan1_input ... speed was 4753 now 0 |
|---|
| 33 |
33 It appears that fan hwmon0/device/fan1_input |
|---|
| 34 |
34 is controlled by pwm hwmon0/device/pwm1 |
|---|
| 35 |
35 Would you like to generate a detailed correlation (y)? y |
|---|
| 36 |
36 PWM 255 FAN 4821 |
|---|
| 37 |
37 PWM 240 FAN 4753 |
|---|
| 38 |
38 PWM 225 FAN 4560 |
|---|
| 39 |
39 PWM 210 FAN 4326 |
|---|
| 40 |
40 PWM 195 FAN 4166 |
|---|
| 41 |
41 PWM 180 FAN 3924 |
|---|
| 42 |
42 PWM 165 FAN 3668 |
|---|
| 43 |
43 PWM 150 FAN 3443 |
|---|
| 44 |
44 PWM 135 FAN 3245 |
|---|
| 45 |
45 PWM 120 FAN 2860 |
|---|
| 46 |
46 PWM 105 FAN 2518 |
|---|
| 47 |
47 ##alarm starts up |
|---|
| 48 |
48 PWM 90 FAN 2096 |
|---|
| 49 |
49 PWM 75 FAN 1662 |
|---|
| 50 |
50 PWM 60 FAN 0 |
|---|
| 51 |
51 Fan Stopped at PWM = 60 |
|---|
| 52 |
52 |
|---|
| 53 |
53 |
|---|
| 54 |
54 Testing pwm control hwmon0/device/pwm2 ... |
|---|
| 55 |
55 hwmon0/device/fan1_input ... speed was 4753 now 4821 |
|---|
| 56 |
56 no correlation |
|---|
| 57 |
57 |
|---|
| 58 |
58 No correlations were detected. |
|---|
| 59 |
59 There is either no fan connected to the output of hwmon0/device/pwm2, |
|---|
| 60 |
60 or the connected fan has no rpm-signal connected to one of |
|---|
| 61 |
61 the tested fan sensors. (Note: not all motherboards have |
|---|
| 62 |
62 the pwm outputs connected to the fan connectors, |
|---|
| 63 |
63 check out the hardware database on http://www.almico.com/forumindex.php) |
|---|
| 64 |
64 |
|---|
| 65 |
65 Did you see/hear a fan stopping during the above test (n)? n |
|---|
| 66 |
66 Testing is complete. |
|---|
| 67 |
67 Please verify that all fans have returned to their normal speed. |
|---|
| 68 |
68 |
|---|
| 69 |
69 The fancontrol script can automatically respond to temperature changes |
|---|
| 70 |
70 of your system by changing fanspeeds. |
|---|
| 71 |
71 Do you want to set up its configuration file now (y)? y |
|---|
| 72 |
72 What should be the path to your fancontrol config file (/etc/fancontrol)? |
|---|
| 73 |
73 Loading configuration from /etc/fancontrol ... |
|---|
| 74 |
74 |
|---|
| 75 |
75 Select fan output to configure, or other action: |
|---|
| 76 |
76 1) hwmon0/device/pwm1 3) Just quit 5) Show configuration |
|---|
| 77 |
77 2) Change INTERVAL 4) Save and quit |
|---|
| 78 |
78 |
|---|
| 79 |
79 select (1-n): 1 |
|---|
| 80 |
80 |
|---|
| 81 |
81 |
|---|
| 82 |
82 Devices: |
|---|
| 83 |
83 hwmon0/device is w83697hf |
|---|
| 84 |
84 |
|---|
| 85 |
85 Current temperature readings are as follows: |
|---|
| 86 |
86 hwmon0/device/temp1_input 30 |
|---|
| 87 |
87 hwmon0/device/temp2_input 47 |
|---|
| 88 |
88 |
|---|
| 89 |
89 Select a temperature sensor as source for hwmon0/device/pwm1: |
|---|
| 90 |
90 1) hwmon0/device/temp1_input |
|---|
| 91 |
91 2) hwmon0/device/temp2_input |
|---|
| 92 |
92 3) None (Do not affect this PWM output) |
|---|
| 93 |
93 |
|---|
| 94 |
94 select (1-n): 2 |
|---|
| 95 |
95 |
|---|
| 96 |
96 |
|---|
| 97 |
97 Enter the low temperature (degree C) |
|---|
| 98 |
98 below which the fan should spin at minimum speed (0): 45 |
|---|
| 99 |
99 Enter the high temperature (degree C) |
|---|
| 100 |
100 over which the fan should spin at maximum speed (60): 60 |
|---|
| 101 |
101 Enter the minimum PWM value (0-255) |
|---|
| 102 |
102 at which the fan STARTS spinning (press t to test) (150): 150 |
|---|
| 103 |
103 Enter the minimum PWM value (0-255) |
|---|
| 104 |
104 at which the fan STOPS spinning (press t to test) (100): 100 |
|---|
| 105 |
105 Enter the PWM value (0-100) to use when the temperature |
|---|
| 106 |
106 is below the low temperature limit (0): 150 |
|---|
| 107 |
107 Enter the PWM value (100-255) to use when the temperature |
|---|
| 108 |
108 is over the high temperature limit (255): 255 |
|---|
| 109 |
109 |
|---|
| 110 |
110 Select fan output to configure, or other action: |
|---|
| 111 |
111 1) hwmon0/device/pwm1 3) Just quit 5) Show configuration |
|---|
| 112 |
112 2) Change INTERVAL 4) Save and quit |
|---|
| 113 |
113 select (1-n): 5 |
|---|
| 114 |
114 |
|---|
| 115 |
115 Common Settings: |
|---|
| 116 |
116 INTERVAL=10 |
|---|
| 117 |
117 |
|---|
| 118 |
118 Settings of hwmon0/device/pwm1: |
|---|
| 119 |
119 Depends on hwmon0/device/temp2_input |
|---|
| 120 |
120 Controls hwmon0/device/fan1_input |
|---|
| 121 |
121 MINTEMP=45 |
|---|
| 122 |
122 MAXTEMP=60 |
|---|
| 123 |
123 MINSTART=150 |
|---|
| 124 |
124 MINSTOP=100 |
|---|
| 125 |
125 MINPWM=150 |
|---|
| 126 |
126 MAXPWM=255 |
|---|
| 127 |
127 |
|---|
| 128 |
128 |
|---|
| 129 |
129 Select fan output to configure, or other action: |
|---|
| 130 |
130 1) hwmon0/device/pwm1 3) Just quit 5) Show configuration |
|---|
| 131 |
131 2) Change INTERVAL 4) Save and quit |
|---|
| 132 |
132 select (1-n): 4 |
|---|
| 133 |
133 |
|---|
| 134 |
134 Saving configuration to /etc/fancontrol... |
|---|
| 135 |
135 Configuration saved |
|---|
| 136 |
136 |
|---|
| 137 |
137 [root@desk ~]# |
|---|
| 138 |
138 |
|---|
| 139 |
139 # output from fancontrol |
|---|
| 140 |
140 after /etc/fancontrol was created by pwmconfig v0.9 |
|---|
| 141 |
141 see pwm_config.txt |
|---|
| 142 |
142 [root@desk ~]# fancontrol |
|---|
| 143 |
143 Loading configuration from /etc/fancontrol ... |
|---|
| 144 |
144 |
|---|
| 145 |
145 Common settings: |
|---|
| 146 |
146 INTERVAL=10 |
|---|
| 147 |
147 /sbin/fancontrol: line 98: [: : integer expression expected |
|---|
| 148 |
148 /sbin/fancontrol: line 110: [: : integer expression expected |
|---|
| 149 |
149 /sbin/fancontrol: line 116: [: : integer expression expected |
|---|
| 150 |
150 |
|---|
| 151 |
151 Settings for hwmon0/device/temp2_input: |
|---|
| 152 |
152 Depends on hwmon0/device/temp2_input |
|---|
| 153 |
153 Controls |
|---|
| 154 |
154 MINTEMP= |
|---|
| 155 |
155 MAXTEMP= |
|---|
| 156 |
156 MINSTART= |
|---|
| 157 |
157 MINSTOP= |
|---|
| 158 |
158 MINPWM=0 |
|---|
| 159 |
159 MAXPWM=255 |
|---|
| 160 |
160 |
|---|
| 161 |
161 Settings for hwmon0/device/pwm2: |
|---|
| 162 |
162 Depends on hwmon0/device/temp2_input |
|---|
| 163 |
163 Controls hwmon0/device/fan1_input |
|---|
| 164 |
164 MINTEMP=40 |
|---|
| 165 |
165 MAXTEMP=60 |
|---|
| 166 |
166 MINSTART=150 |
|---|
| 167 |
167 MINSTOP=135 |
|---|
| 168 |
168 MINPWM=99 |
|---|
| 169 |
169 MAXPWM=255 |
|---|
| 170 |
170 Error in configuration file (hwmon0/device/pwm1): |
|---|
| 171 |
171 MINSTOP must be greater than or equal to MINPWM |
|---|
| 172 |
172 [root@desk ~]# |
|---|
| 173 |
173 |
|---|
| 174 |
|
|---|
| 175 |
************** |
|---|
| 176 |
/etc/fancontrol |
|---|
| 177 |
************** |
|---|
| 178 |
|
|---|
| 179 |
INTERVAL=10 |
|---|
| 180 |
FCTEMPS=hwmon0/device/temp2_input hwmon0/device/pwm2=hwmon0/device/temp2_input hwmon0/device/pwm1=hwmon0/device/temp2_input |
|---|
| 181 |
FCFANS=hwmon0/device/pwm2=hwmon0/device/fan1_input hwmon0/device/pwm1=hwmon0/device/fan1_input |
|---|
| 182 |
MINTEMP=w83697hf-isa-0290/pwm2=50 hwmon0/device/pwm2=40 hwmon0/device/pwm1=45 |
|---|
| 183 |
MAXTEMP=w83697hf-isa-0290/pwm2=60 hwmon0/device/pwm2=60 hwmon0/device/pwm1=60 |
|---|
| 184 |
MINSTART=85 hwmon0/device/pwm2=150 hwmon0/device/pwm1=150 |
|---|
| 185 |
MINSTOP=135 hwmon0/device/pwm2=135 hwmon0/device/pwm1=100 |
|---|
| 186 |
MINPWM=hwmon0/device/pwm2=99 hwmon0/device/pwm1=150 |
|---|
| 187 |
MAXPWM=hwmon0/device/pwm2=255 hwmon0/device/pwm1=255 |
|---|
| 188 |
|
|---|
| 189 |
<end of attachment> |
|---|
| 190 |
|
|---|