Jean Delvare
fe165fea49
Fix error message.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4692 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-21 09:08:52 +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
d10c5f218b
pwmconfig: Use smaller steps for low PWM values. Inspired from a patch
...
from the openSuse sensors package. This is a good idea because the
PWM/speed relation isn't linear, and it is frequent that the speed
changes are concentrated in the low PWM range.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4381 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-27 13:41:32 +00:00
Jean Delvare
63228c12b3
Strip unneeded whitespace on configuration load.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4296 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-14 15:42:33 +00:00
Jean Delvare
2387b4cd73
Drop commented out code.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4288 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-09 07:58:52 +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
Jean Delvare
5ff0a6b0e7
Use mktemp instead of tempfile to create the temporary config file.
...
We are already using mktemp elsewhere in the script, and it seems to be
more widely available than tempfile.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4153 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-07 15:56:11 +00:00
Jean Delvare
28f8be1038
Drop all references to the old mailing list.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3075 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-09-08 16:29:41 +00:00
Rudolf Marek
8894546f1f
Fix potentional security issue. Thanks to Javier Fernández-Sanguino Peña <jfs@computer.org>
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3060 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-08-20 19:45:53 +00:00
Mark D. Studebaker
57782cede2
fix handling of alternate config file name
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2930 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-15 19:24:25 +00:00
Mark D. Studebaker
78f5390e51
allow readonly pwmx_enable files (lm85 kernel 2.6)
...
tickets 1874, 1879
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2883 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-29 23:04:25 +00:00
Jean Delvare
a0a471c8c5
*** SECURITY FIX ***
...
Secure the creation of temporary files. Problem found by Javier
Fernandez-Sanguino Pena, patch by Aurelien Jarno.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2871 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-01-26 21:12:50 +00:00
Jean Delvare
cb64b74141
Handle both pwm files naming scheme for 2.6 kernels (ticket
...
#1844 ).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2798 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-12-20 22:00:10 +00:00
Jean Delvare
08091f09b2
Fix typo. Reported by Rutger Nijlunsing.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2520 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-09 17:27:55 +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
Jean Delvare
f032b85a9d
Use new sysfs file name conventions. Suggested by Rutger
...
Nijlunsing.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2510 7894878c-1315-0410-8ee3-d5d059ff63e0
2004-05-08 11:33:47 +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
Mark D. Studebaker
ba972d7b0a
initial 2.6 support
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2187 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-20 18:40:39 +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
Mark D. Studebaker
d1e20b9e27
improvements
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2177 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-12-14 19:19:52 +00:00
Mark D. Studebaker
bdebe88c28
handle multiple fans controlled by a single PWM
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2048 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-11-09 02:32:08 +00:00
Marius Reiner
8ecd48f56c
(marius) Changed URL to SpeedFan hardware database
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1892 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-21 17:07:01 +00:00
Jean Delvare
52720d826f
Prevent hang after config file creation.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1891 7894878c-1315-0410-8ee3-d5d059ff63e0
2003-07-21 13:07:15 +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
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