From: Allen Edwards Date: Sun, 22 Nov 2009 16:05:07 +0000 Subject: Re: [lm-sensors] pwmconfig can only control fan speed at beginning Message-Id: <39eba8470911220805t5a43deafi46b5589e33f105e8@mail.gmail.com> List-Id: References: <39eba8470911210719l17f35e2eoeda973ab0724130b@mail.gmail.com> In-Reply-To: <39eba8470911210719l17f35e2eoeda973ab0724130b@mail.gmail.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 Sun, Nov 22, 2009 at 12:51 AM, Jean Delvare wrote: > Hi Allen, > > Please do not top-post. > > On Sat, 21 Nov 2009 20:34:35 -0800, Allen Edwards wrote: >> On Sat, Nov 21, 2009 at 7:49 AM, Jean Delvare wrote: >> > On Sat, 21 Nov 2009 07:19:01 -0800, Allen Edwards wrote: >> > > I searched back several months of your archives and can't find anyth= ing >> > > relevant to my problem. =A0When I run pwmconfig it finds my fans and >> > > controls the speeds. I can run a characterization of fan speeds vs >> > > settings and find that 180 is a good speed noise wise. =A0It is defi= nitely >> > > controlling the fan speed. =A0But when it gets to the part about fin= ding >> > > the min and max stall speeds, it will not control the fan speed, the= fan >> > > just stays at full speed. >> > > =A0And, of course, fancontrol will not work. =A0This seems very stra= nge to >> > > me. The fan is 3 wire and I have tried it in both a 3 and 4 wire >> > > controllable header. >> > >> > And you are using lm-sensors version...? Kernel version...? Hwmon >> > drivers...? > >> lm-sensors 3.0.0, kernel 2.6.24.23-generic =A0Pardon my stupidity but I = do not >> know hot to find a version of hwmon. > > I never asked for a version of hwmon; I asked which hwmon drivers you > were using on your system. > > It probably doesn't matter anyway. Looking at lm-sensors' changelog > [1], I see the following: > > 3.0.3 (2008-09-28) > =A0(...) > =A0pwmconfig: (...) > =A0 =A0 =A0 =A0 =A0 =A0 Fix MINSTOP and MINSTART test functions (#2340) > =A0 =A0 =A0 =A0 =A0 =A0 Test MINSTOP before MINSTART > =A0 =A0 =A0 =A0 =A0 =A0 Use better step values for MINSTOP test > =A0 =A0 =A0 =A0 =A0 =A0 (...) > =A0 =A0 =A0 =A0 =A0 =A0 Determine MINSTOP automatically > =A0 =A0 =A0 =A0 =A0 =A0 Skip MINSTOP and MINSTART tests if fan can't stop > > This makes it clear to me that the problem you reported is known and > already fixed in lm-sensors 3.0.3 and later. So all you have to do is > upgrade to lm-sensors 3.0.3 or later. If you don't want to for any > reason, note that pwmconfig is a standalone script, so you can just > copy the one from lm-sensors 3.0.3 [2] and run it from wherever you > like. > > [1] http://www.lm-sensors.org/browser/lm-sensors/tags/V3-1-1/CHANGES > [2] http://www.lm-sensors.org/export/5798/lm-sensors/tags/V3-0-3/prog/pwm= /pwmconfig > > -- > Jean Delvare > http://khali.linux-fr.org/wishlist.html > Thanks for the reply. I thought I had the latest version having just done apt-get install so I didn't think of this but I should have. I now have version 3.1.1 unzipped but can't install it. I get an ERROR 1 exit on make. See below. dad@myth_desktop:~/lm_sensors-3.1.1$ sudo make all gcc -Wl,-rpath,/usr/local/lib -o prog/sensors/sensors prog/sensors/main.ro prog/sensors/chips.ro -Llib -lsensors lib/libsensors.so: undefined reference to `sensors_yylex' lib/libsensors.so: undefined reference to `sensors_lex_error' lib/libsensors.so: undefined reference to `sensors_yylineno' lib/libsensors.so: undefined reference to `sensors_scanner_exit' lib/libsensors.so: undefined reference to `sensors_scanner_init' lib/libsensors.so: undefined reference to `sensors_yyfilename' collect2: ld returned 1 exit status make: *** [prog/sensors/sensors] Error 1 Not sure what I did wrong... Allen _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors