From: Guenter Roeck Date: Mon, 27 Jan 2014 21:35:51 +0000 Subject: Re: [lm-sensors] Kernel 3.13 breaks pwmconfig and fancontrol Message-Id: <20140127213551.GA18769@roeck-us.net> List-Id: References: <1390857566.34222.YahooMailNeo@web140002.mail.bf1.yahoo.com> In-Reply-To: <1390857566.34222.YahooMailNeo@web140002.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lm-sensors@vger.kernel.org On Mon, Jan 27, 2014 at 01:19:26PM -0800, John wrote: > Problem: Upgrading to Linux 3.13 renders fancontrol unable to function as= it did under 3.12.9. =A0Also, pwmconfig generates "broken" config files un= der 3.13. >=20 >=20 > Versions: 3.3.5 and built from SVN r6215-20140127. >=20 > Mainboard: Asus P8Z77-V Pro >=20 >=20 > I have attached two files assuming attachments are allowed. =A0If not, I = will post separately. > 1) /etc/fancontrol-3.12.x (works fine under 3.12.9) > 2) /etc/fancontrol-new (does not work under 3.13 and was generated by pwm= config) >=20 Was the file created under 3.13 or 3.12 ? > Is this a known bug or user error on my part? >=20 Difference in 3.13 is in the file path. Instead of hwmon1/device/pwm5, you need hwmon1/pwm5, and so on. > # fancontrol > Loading configuration from /etc/fancontrol ... >=20 > Common settings: > =A0 INTERVAL=3D10 >=20 > Settings for hwmon1/device/pwm5: > =A0 Depends on hwmon0/device/temp4_input > =A0 Controls hwmon1/device/fan5_input > =A0 MINTEMP=3D20 > =A0 MAXTEMP=3D60 > =A0 MINSTART=3D80 > =A0 MINSTOP=3D75 > =A0 MINPWM=3D75 > =A0 MAXPWM=3D255 >=20 > Settings for hwmon1/device/pwm4: > =A0 Depends on hwmon0/device/temp4_input > =A0 Controls hwmon1/device/fan4_input > =A0 MINTEMP=3D20 > =A0 MAXTEMP=3D60 > =A0 MINSTART=3D80 > =A0 MINSTOP=3D65 > =A0 MINPWM=3D65 > =A0 MAXPWM=3D255 >=20 > Settings for hwmon1/device/pwm3: > =A0 Depends on hwmon0/device/temp4_input > =A0 Controls hwmon1/device/fan3_input > =A0 MINTEMP=3D20 > =A0 MAXTEMP=3D60 > =A0 MINSTART=3D80 > =A0 MINSTOP=3D60 > =A0 MINPWM=3D60 > =A0 MAXPWM=3D255 >=20 > Settings for hwmon1/device/pwm1: > =A0 Depends on hwmon0/device/temp4_input > =A0 Controls hwmon1/device/fan1_input > =A0 MINTEMP=3D20 > =A0 MAXTEMP=3D60 > =A0 MINSTART=3D80 > =A0 MINSTOP=3D60 > =A0 MINPWM=3D60 > =A0 MAXPWM=3D255 >=20 I assume the following is the log from 3.13 ? > Settings for hwmon1/pwm4: > =A0 Depends on hwmon0/device/temp4_input > =A0 Controls hwmon1/fan4_input > =A0 MINTEMP=3D20 > =A0 MAXTEMP=3D60 > =A0 MINSTART=3D150 > =A0 MINSTOP=3D0 > =A0 MINPWM=3D0 > =A0 MAXPWM=3D255 >=20 > Settings for hwmon1/pwm3: > =A0 Depends on hwmon0/device/temp4_input > =A0 Controls hwmon1/fan3_input > =A0 MINTEMP=3D20 > =A0 MAXTEMP=3D60 > =A0 MINSTART=3D150 > =A0 MINSTOP=3D100 > =A0 MINPWM=3D0 > =A0 MAXPWM=3D255 >=20 > Settings for hwmon1/pwm1: > =A0 Depends on hwmon0/device/temp4_input > =A0 Controls hwmon1/fan1_input > =A0 MINTEMP=3D20 > =A0 MAXTEMP=3D60 > =A0 MINSTART=3D150 > =A0 MINSTOP=3D100 > =A0 MINPWM=3D0 > =A0 MAXPWM=3D255 >=20 > Settings for hwmon1/pwm5: > =A0 Depends on hwmon0/device/temp4_input > =A0 Controls hwmon1/fan5_input > =A0 MINTEMP=3D20 > =A0 MAXTEMP=3D60 > =A0 MINSTART=3D150 > =A0 MINSTOP=3D100 > =A0 MINPWM=3D75 > =A0 MAXPWM=3D255 >=20 > Error: file hwmon1/device/pwm5 doesn't exist > Error: file hwmon1/device/pwm4 doesn't exist > Error: file hwmon1/device/pwm3 doesn't exist > Error: file hwmon1/device/pwm1 doesn't exist > Error: file hwmon1/device/fan5_input doesn't exist > Error: file hwmon1/device/fan4_input doesn't exist > Error: file hwmon1/device/fan3_input doesn't exist > Error: file hwmon1/device/fan1_input doesn't exist >=20 The above log refers to hwmon1/pwmX and hwmon1/fanX_input, yet the errors refer to hwmon1/device/pwmX and hwmon1/device/fanX_input. So there is an obvious mismatch. How does the actual configuration file look like ? Thanks, Guenter _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors