2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-28 12:57:51 +00:00

29 Commits

Author SHA1 Message Date
Jean Delvare
8f9a67f5bd Strip trailing whitespace.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5330 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-09 16:18:27 +00:00
Jean Delvare
a5f4b32d17 Don't use named pipes when we don't need them. Named pipes have been reported
to cause trouble on some systems. This closes ticket #2319.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5271 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-02 06:21:06 +00:00
Jean Delvare
bcabe00237 Arbitrary version bump.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5182 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-16 18:35:46 +00:00
Jean Delvare
5db0d2003f Drop obsolete comment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5181 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-16 18:22:12 +00:00
Jean Delvare
17e7247f28 pwmconfig: Don't start if fancontrol is running.
fancontrol: Don't start if already running, delete fancontrol.pid at
exit time.
This closes ticket #2299.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5180 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-16 14:29:01 +00:00
Jean Delvare
f2e518511d Patch from Aurelien Jarno:
I have just noticed that the FSF address is the old one in all files
except COPYING. Please find a patch below to fix that.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5163 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-26 13:37:12 +00:00
Jean Delvare
8d00528cd3 Detect improperly formatted FCTEMPS value (#2293).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5102 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-09 10:59:48 +00:00
Jean Delvare
982afbce24 Only write integer values to pwm files.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4591 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-08 11:17:26 +00:00
Jean Delvare
759098c8f8 Use linear interpolation instead of quadratic to choose PWM values.
This is simpler and will work better in most cases. For example this
should address at least part of ticket #2224. It seems that quadratic
was used to lower the average noise level, but I don't think this is a
valid reason. The new MINPWM and MAXPWM parameters will also let the
user control the noise level if really needed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4589 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-08 10:04:48 +00:00
Jean Delvare
835f9b492c fancontrol: Better integration with init scripts (picked from Suse)
* Do not return with an error when receiving SIGTERM.
* Handle signals while sleeping.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4443 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-12 11:37:59 +00:00
Jean Delvare
57044be111 fancontrol:
* Check for configuration file validity
fancontrol and pwmconfig:
* Support optional min and max PWM values
Documentation updated accordingly.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4442 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-12 11:37:19 +00:00
Jean Delvare
59a0831fa6 More cleanups to fancontrol:
* No longer depend on grep. We already depend on egrep so let's use it
everywhere.
* Don't depend on awk to compute the target PWM value. Bash has an arithmetic
expression evaluation engine which does the job just fine.
* Use read instead of cat to read the sensor values. read is built-in, so
it's cheaper.
* When sysfs is used (2.6 kernel), do not postproces the sensor value reads
with cut, as it is not needed.
* Update the dependency list. 


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4441 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-12 11:36:15 +00:00
Jean Delvare
e56e0039ef Cleanups to fancontrol:
* Use let for arithmetic evaluation. Patch taken from the Suse package.
* Kill old commented-out code.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4440 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-12 11:34:19 +00:00
Jean Delvare
b162d642a9 pwmconfig, fancontrol: Add support for non-i2c drivers. So far the
scripts were assuming that all drivers were i2c-based. As we want to
get rid of i2c-isa in Linux 2.6 soon, it's important to ensure that
platform drivers are handled properly.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4286 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-07 22:10:02 +00:00
Jean Delvare
55e8649c0d pwmconfig, fancontrol: Gracefully handle errors when writing to
sysfs files, as bash 3.1 otherwise displays them and this tends to
frighten the user.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4280 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-05 16:34:32 +00:00
Rudolf Marek
74a7992f19 Transion to new website, part2 - move more links, fix the CVS->SVN
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4064 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-02 20:15:09 +00:00
Marius Reiner
852268883d (mariusr) typo which caused problems with old sed versions
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2553 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-20 17:25:29 +00:00
Marius Reiner
93dfb6fa12 (mariusr) restorefans on TERM and KILL (submitted by Stephen Kitt)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2549 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-18 19:12:43 +00:00
Marius Reiner
654982ccf3 (mariusr) check the other mandatory settings, make FCFANS optional
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2546 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-18 13:59:59 +00:00
Jean Delvare
12e4bc4853 Follow new sysfs naming scheme.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2514 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-08 19:38:20 +00:00
Mark D. Studebaker
8de677db34 pwmconfig: write fan dependency to config file
fancontrol: monitor fan speed;
		trap signal and restore fans on trap;
		check read/write results and abort if fail;
		support 2.6 kernels;
		remove DEBUG=1


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2188 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-20 22:35:23 +00:00
Marius Reiner
77d38d9fe9 (marius) bugfix
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2183 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-16 00:58:46 +00:00
Marius Reiner
324c738f9c (marius) optimization
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2182 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-16 00:49:59 +00:00
Mark D. Studebaker
5dee16319e more fixes and improvements
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2178 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-15 03:50:09 +00:00
Marius Reiner
6765e3fc46 (marius) comments
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2007 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-09-28 20:02:36 +00:00
Marius Reiner
0e1d5df3ef (marius) added URL to project page (documentation)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1856 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-05 16:00:20 +00:00
Marius Reiner
eb4c9aa2d1 (marius) added some comments.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1815 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-23 20:57:49 +00:00
Marius Reiner
2d5e514e91 Added PID file creation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1798 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-21 14:04:39 +00:00
Marius Reiner
313a183bb3 *** empty log message ***
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1796 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-06-20 19:51:26 +00:00