From: John Date: Mon, 27 Jan 2014 22:22:51 +0000 Subject: Re: [lm-sensors] Kernel 3.13 breaks pwmconfig and fancontrol Message-Id: <1390861371.7760.YahooMailNeo@web140006.mail.bf1.yahoo.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="789641336-864916683-1390861371=:7760" List-Id: References: <1390857566.34222.YahooMailNeo@web140002.mail.bf1.yahoo.com> In-Reply-To: <1390857566.34222.YahooMailNeo@web140002.mail.bf1.yahoo.com> To: lm-sensors@vger.kernel.org --789641336-864916683-1390861371=:7760 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thank you for the reply,=A0Guenter.=0A=0A=0A> On Mon, Jan 27, 2014 at 01:19= :26PM -0800, John wrote:=0A>> Problem: Upgrading to Linux 3.13 renders fan= control unable to function as =0A> it did under 3.12.9. =A0Also, pwmconfig = generates "broken" config files =0A> under 3.13.=0A>> =0A>> =0A>> Versions= : 3.3.5 and built from SVN r6215-20140127.=0A>> =0A>> Mainboard: Asus P8Z7= 7-V Pro=0A>> =0A>> =0A>> I have attached two files assuming attachments ar= e allowed. =A0If not, I will =0A> post separately.=0A>> 1) /etc/fancontrol= -3.12.x (works fine under 3.12.9)=0A>> 2) /etc/fancontrol-new (does not wo= rk under 3.13 and was generated by =0A> pwmconfig)=0A>> =0A> Was the file c= reated under 3.13 or 3.12 ?=0A=0AYes, fancontrol-3.12.x was created under 3= .12 (actually a while before it) and fancontrol-new was created under 3.13.= =0A=0A>> Is this a known bug or user error on my part?=0A>> =0A> Differenc= e in 3.13 is in the file path. Instead of hwmon1/device/pwm5,=0A> you need = hwmon1/pwm5, and so on.=0A=0AI saw that the path changed, but shouldn't pwm= config correct this for me?=0A=0A>> # fancontrol=0A>> Loading configurati= on from /etc/fancontrol ...=0A>> =0A>> Common settings:=0A>> =A0 INTERVAL= =3D10=0A>> =0A>> Settings for hwmon1/device/pwm5:=0A>> =A0 Depends on hwm= on0/device/temp4_input=0A>> =A0 Controls hwmon1/device/fan5_input=0A>> = =A0 MINTEMP=3D20=0A>> =A0 MAXTEMP=3D60=0A>> =A0 MINSTART=3D80=0A>> =A0 M= INSTOP=3D75=0A>> =A0 MINPWM=3D75=0A>> =A0 MAXPWM=3D255=0A>> =0A>> Settin= gs for hwmon1/device/pwm4:=0A>> =A0 Depends on hwmon0/device/temp4_input= =0A>> =A0 Controls hwmon1/device/fan4_input=0A>> =A0 MINTEMP=3D20=0A>> = =A0 MAXTEMP=3D60=0A>> =A0 MINSTART=3D80=0A>> =A0 MINSTOP=3D65=0A>> =A0 M= INPWM=3D65=0A>> =A0 MAXPWM=3D255=0A>> =0A>> Settings for hwmon1/device/pw= m3:=0A>> =A0 Depends on hwmon0/device/temp4_input=0A>> =A0 Controls hwmon= 1/device/fan3_input=0A>> =A0 MINTEMP=3D20=0A>> =A0 MAXTEMP=3D60=0A>> =A0= MINSTART=3D80=0A>> =A0 MINSTOP=3D60=0A>> =A0 MINPWM=3D60=0A>> =A0 MAXPW= M=3D255=0A>> =0A>> Settings for hwmon1/device/pwm1:=0A>> =A0 Depends on h= wmon0/device/temp4_input=0A>> =A0 Controls hwmon1/device/fan1_input=0A>> = =A0 MINTEMP=3D20=0A>> =A0 MAXTEMP=3D60=0A>> =A0 MINSTART=3D80=0A>> =A0 M= INSTOP=3D60=0A>> =A0 MINPWM=3D60=0A>> =A0 MAXPWM=3D255=0A>> =0A> =0A> I a= ssume the following is the log from 3.13 ?=0A=0AYes, this is running fancon= trol under 3.13 using /etc/fancontrol-new which again was generated under 3= .13.=0A=0A>> Settings for hwmon1/pwm4:=0A>> =A0 Depends on hwmon0/device/= temp4_input=0A>> =A0 Controls hwmon1/fan4_input=0A>> =A0 MINTEMP=3D20=0A>= > =A0 MAXTEMP=3D60=0A>> =A0 MINSTART=3D150=0A>> =A0 MINSTOP=3D0=0A>> = =A0 MINPWM=3D0=0A>> =A0 MAXPWM=3D255=0A>> =0A>> Settings for hwmon1/pwm3:= =0A>> =A0 Depends on hwmon0/device/temp4_input=0A>> =A0 Controls hwmon1/f= an3_input=0A>> =A0 MINTEMP=3D20=0A>> =A0 MAXTEMP=3D60=0A>> =A0 MINSTART= =3D150=0A>> =A0 MINSTOP=3D100=0A>> =A0 MINPWM=3D0=0A>> =A0 MAXPWM=3D255= =0A>> =0A>> Settings for hwmon1/pwm1:=0A>> =A0 Depends on hwmon0/device/t= emp4_input=0A>> =A0 Controls hwmon1/fan1_input=0A>> =A0 MINTEMP=3D20=0A>>= =A0 MAXTEMP=3D60=0A>> =A0 MINSTART=3D150=0A>> =A0 MINSTOP=3D100=0A>> = =A0 MINPWM=3D0=0A>> =A0 MAXPWM=3D255=0A>> =0A>> Settings for hwmon1/pwm5:= =0A>> =A0 Depends on hwmon0/device/temp4_input=0A>> =A0 Controls hwmon1/f= an5_input=0A>> =A0 MINTEMP=3D20=0A>> =A0 MAXTEMP=3D60=0A>> =A0 MINSTART= =3D150=0A>> =A0 MINSTOP=3D100=0A>> =A0 MINPWM=3D75=0A>> =A0 MAXPWM=3D255= =0A>> =0A>> Error: file hwmon1/device/pwm5 doesn't exist=0A>> Error: file= hwmon1/device/pwm4 doesn't exist=0A>> Error: file hwmon1/device/pwm3 does= n't exist=0A>> Error: file hwmon1/device/pwm1 doesn't exist=0A>> Error: f= ile hwmon1/device/fan5_input doesn't exist=0A>> Error: file hwmon1/device/= fan4_input doesn't exist=0A>> Error: file hwmon1/device/fan3_input doesn't= exist=0A>> Error: file hwmon1/device/fan1_input doesn't exist=0A>> =0A> = =0A> The above log refers to hwmon1/pwmX and hwmon1/fanX_input,=0A> yet the= errors refer to hwmon1/device/pwmX and=0A> hwmon1/device/fanX_input. So th= ere is an obvious mismatch.=0A> How does the actual configuration file look= like ?=0A=0AI deleted /etc/fancontrol* and rebuilt again under 3.13 (it is= attached after I edited it). =A0It now works. =A0I am not sure what I did = the first time through. =A0Sorry for the noise to the list. --789641336-864916683-1390861371=:7760 Content-Type: application/octet-stream; name=fancontrol Content-Transfer-Encoding: base64 Content-Disposition: attach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VEFSVD1od21vbjEvcHdtNT04 MAlod21vbjEvcHdtND04MAlod21vbjEvcHdtMz04MAlod21vbjEvcHdtMT04 MApNSU5TVE9QPWh3bW9uMS9wd201PTc1CWh3bW9uMS9wd200PTY1CWh3bW9u MS9wd20zPTYwCWh3bW9uMS9wd20xPTYwCk1JTlBXTT1od21vbjEvcHdtNT03 NQkJaHdtb24xL3B3bTQ9NjUJaHdtb24xL3B3bTM9NjAJbndtb24xL3B3bTE9 NjAK --789641336-864916683-1390861371=:7760 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors --789641336-864916683-1390861371=:7760--