Hans de Goede
9a83fe6c01
sensors-detect: Add detecton for Fintek F71869FG
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5788 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-22 10:11:12 +00:00
Hans de Goede
9c58672a66
Refer to f71882fg driver if F71889FG is detected
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5787 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-22 10:05:38 +00:00
Jean Delvare
f5fc77eb58
Don't choke on virtual i2c adapters.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5785 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-16 20:21:15 +00:00
Jean Delvare
cc1af46348
Add detection for Analog Devices ADT7490.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5784 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-16 19:55:03 +00:00
Jean Delvare
71d0b791e8
The Nuvoton W83667HG and W83677HG have the same I2C chip ID as
...
the Winbond W83627DHG.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5783 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-16 10:45:20 +00:00
Jean Delvare
ae0b253b53
Add detection for Nuvoton W83667HG-B and W83677HG-I.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5782 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-16 08:59:16 +00:00
Jean Delvare
19fe62e6e0
Add SMBus detection for AMD Hudson-2.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5781 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-12 10:51:24 +00:00
Jean Delvare
c4d9a2fba3
Lower the confidence of MAX6650/1 detection, as it is really weak.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5780 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-03 10:41:53 +00:00
Jean Delvare
b6becb237e
Add detection for National Semiconductor LM73.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5779 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-10-03 10:38:14 +00:00
Jean Delvare
f513a6b8b2
Document the different CPU models supported by the coretemp driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5774 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-20 08:51:45 +00:00
Jean Delvare
c65c353ad9
Add detection for Intel Atom thermal sensors.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5773 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-20 08:23:02 +00:00
Jean Delvare
8ddd1d2984
Save hwmon device paths and names in configuration file, and check them
...
before starting any fan control operation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5770 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-16 15:57:53 +00:00
Jean Delvare
739d25f48c
Drop AMD K10 detection (unreliable sensors).
...
Add detection for AMD Family 11h thermal sensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5769 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-14 10:50:45 +00:00
Jean Delvare
bff5a8dde0
Clean up the code writing the configuration file.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5767 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-13 11:19:57 +00:00
Jean Delvare
5ee7d14714
Minor line wrapping fix.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5766 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-08 17:24:25 +00:00
Jean Delvare
c76907971e
Check that all referenced sysfs files exist before starting. If not,
...
quilt immediately. Better no fan control than fan control using an
out-of-sync configuration file.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5765 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-08 16:52:29 +00:00
Jean Delvare
835eee0a7f
Don't assume legacy references to i2c devices, instead explicitly
...
check for them. This should help spot invalid configuration files.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5764 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-09-08 14:19:22 +00:00
Jean Delvare
1bb3175a5f
Recent versions of module-init-tools only want *.conf files under
...
/etc/modprobe.d. So rename our configuration file to lm_sensors.conf
there. Also let "make install" rename the file if it already exists.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5760 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-24 13:52:28 +00:00
Jean Delvare
09d912a45f
Support upcoming sysfs path to i2c adapters.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5758 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-22 12:20:58 +00:00
Jean Delvare
9153ce2240
The SMSC LPC47M233 isn't currently supported. If it ever is, it will most
...
probably not be by the smsc47m1 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5757 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-20 19:10:25 +00:00
Jean Delvare
ab845dd7bb
sensord has a manual page now. Patch from openSUSE.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5756 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-20 10:02:27 +00:00
Jean Delvare
963c843c6a
Fix exit code. If there's no change needed, this is a success, not
...
a failure.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5755 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-20 09:50:51 +00:00
Andre Prendel
4cf83be1b1
sensors-detect: Add TMP42x chip detection
...
This patch adds detection for TI's TMP421, TMP422 and TMP423 chips to
sensors-detect. Only the manufactory ID and the device ID is used for
detection. I hope this is reliable enough.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5754 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-14 20:14:53 +00:00
Jean Delvare
f69dbc887a
Report unsupported Access Bus adapters, as we already do for SMBus.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5753 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-09 20:05:17 +00:00
Jean Delvare
a3eb98b8db
Clean up the discovery of i2c adapters, their parent and their
...
attributes in sysfs. Make references to i2c-adapter class less
specific, as this class is eventually going away.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5752 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-09 12:54:49 +00:00
Andre Prendel
e41a22eb4e
sensors-detect: Refer to tmp401 driver if TMP411 is detected
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5751 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-07 05:57:03 +00:00
Jean Delvare
6ff7f5e25b
Exit immediately if not root.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5749 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-07-03 19:37:22 +00:00
Jean Delvare
78f496ca62
libsensors: New method to free the memory allocated for the internal
...
representation of chip names.
sensord, sensors: Fix a memory leak when one or more chip names are
provided on the command line.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5740 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-20 10:04:52 +00:00
Jean Delvare
ef2f2c04ce
Use the "daemon" logging facility instead of "local4" by default.
...
Local facilities are meant for local uses, no daemon should use it by
default.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5737 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-11 17:39:48 +00:00
Jean Delvare
8eeb9081a8
Optimize CGI generation code a bit.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5736 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-09 12:44:44 +00:00
Jean Delvare
a5bb03f300
Disable unit scaling for fan speeds. We want fan speed to be reported as
...
3000 RPM, not 3.0 kRPM.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5735 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-09 12:22:11 +00:00
Jean Delvare
098ae6d2e5
Don't use the system log when generating a CGI script. This is is
...
normally done by a human on a console, rather than in the background,
so the system log isn't where people would look for error messages.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5734 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-09 12:19:53 +00:00
Andre Prendel
cae8b2a1e7
sensord: Fix build error.
...
This is caused by a missing file (prog/sensord/args.h) in commit:
r5719 sensord: Introduce struct sensord_args.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5732 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-09 08:02:49 +00:00
Hans de Goede
eb25257655
sensors-detect: Update Fintek F71858FG driver info
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5729 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-02 13:51:29 +00:00
Hans de Goede
dc6b2b73b2
sensors-detect: Add Fintek F71889FG detection
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5728 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-06-02 13:50:27 +00:00
Jean Delvare
019db74670
Add Winbond/Nuvoton W83627DHG-P and W83627UHG detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5726 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-05-19 07:36:06 +00:00
Andre Prendel
73911c4c93
sensord: Refactoring of the rrdInit() function.
...
* Fix deep indentation levels
* Return with unique error code (-1)
* Rename buffer for struct stat from tmp to sb.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5724 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-05-13 16:13:41 +00:00
Andre Prendel
13dc7c0232
Replace the deprecated signal() function by sigaction().
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5723 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-05-13 16:11:57 +00:00
Andre Prendel
f5aaeec448
sensord: This patch does some refactoring of the loadConfig()
...
function.
* Simplifying the conditions makes code flow clearer and eliminates
long lines (> 80 chars).
* Removed useless stat() call.
* Return -1 in error case, instead of several positive values (never defined).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5722 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-05-13 16:09:06 +00:00
Andre Prendel
b5375e4344
sensord: Did some refactoring in parseChips(). This fixes some deep indentation
...
levels.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5721 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-05-13 16:07:50 +00:00
Andre Prendel
d71ed51702
sensord: Removed useless breaks after some exit() calls.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5720 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-05-13 16:06:17 +00:00
Andre Prendel
49344ef205
sensord: Introduce struct sensord_args.
...
This structure encapsulate all the variables holding the commandline
arguments. So we get rid of plenty of extern variables. This reduces
namespace collisions and unifies access.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5719 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-05-13 16:04:51 +00:00
Andre Prendel
b42461426d
sensord: Remove the hidden commandline interface.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5718 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-05-13 16:03:23 +00:00
Jean Delvare
dee604c8e9
Add support for absolute path to hwmon devices.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5717 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-05-09 11:43:06 +00:00
Jean Delvare
819d7239c1
F71862FG is supported by driver f71882fg since kernel 2.6.29.
...
Reported by Mark Wagner.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5715 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-05-08 08:37:41 +00:00
Jean Delvare
3e78f8323b
Use geteuid instead of getuid so that setuid bit works.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5709 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-04-19 07:16:40 +00:00
Jean Delvare
7fd91785d4
Add National Semiconductor LM95241 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5708 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-04-06 17:05:54 +00:00
Jean Delvare
f7464553bd
Add Nuvoton W83795G/ADG detection. Original patch from Wei Song (Nuvoton).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5684 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-03-13 08:41:19 +00:00
Jean Delvare
f0492a9095
Refactor dmidecode version check into a separate function.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5683 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-03-12 17:15:13 +00:00
Jean Delvare
d7d67ccf14
Strip stray backslash.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5682 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-03-12 16:47:11 +00:00