Commit Graph
1029 Commits
Author SHA1 Message Date
Jean Delvare ae877a1e55 Prepare for release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6035 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-14 07:43:39 +00:00
Guenter Roeck 5175a1eab8 sensors-detect: Add detection of IDT TSE2002GB2, TS3000GB2, Microchip MCP9804,
and Atmel AT30TS00



git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6031 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-07 16:14:01 +00:00
Guenter Roeck 107829d11d Fix power interval output
Power interval is measured in seconds, not Watt.



git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6030 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-07 16:12:56 +00:00
Jean Delvare 8695f0f515 Add detection of ST Microelectronics STTS2002 and STTS3000.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6028 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-06 07:29:32 +00:00
Jean Delvare 38158e4fe3 Calling strcat twice in a row is inefficient, it's better to use
sprintf at the end of the string, so that we look for that end only
once.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6027 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-06 07:24:42 +00:00
Jean Delvare 8aa001900f Fix memory leaks in sensord revealed by valgrind.
The leak in daemonize() is harmless, we're about to exit anyway. Fix
it still to make valgrind happy.

The leak in do_features() is real, as the function is called
periodically by the daemon, for all actions. If the intervals at set
low and the system has many sensors, the leak could be significant,
maybe 150 kB/day.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6025 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-06 07:22:06 +00:00
Guenter Roeck 9e144ca2a5 Add detection of ITE IT8510E/TE/G, IT8511E/TE/G, IT8513E/F/G, and IT8518E
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6024 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-04 18:10:41 +00:00
Jean Delvare 37bdb0bb5a Add detection of ITE IT8781F, IT8782F and IT8783F.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6023 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-02 07:53:06 +00:00
Jean Delvare fad34226aa Add detection of ITE IT8771E.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6021 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-02-15 08:24:08 +00:00
Jean Delvare a79b62b21c Add detection of the National Semiconductor (now Texas Instruments)
LM96080. It is functionally compatible with the LM80 but detection is
completely different.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6018 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-31 12:55:39 +00:00
Jean Delvare ae32c8a919 Upcoming change in sysfs will break the way libsensors detects if
sysfs is mounted. Adjust the implementation so that it still works after
said change.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6017 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-31 12:54:03 +00:00
Jean Delvare c9c0cb604f Properly handle Super-I/O chips without logical device. Just report
that we can't support the chip yet, instead of spitting I/O errors.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6016 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-31 12:51:31 +00:00
Guenter Roeck 60608958e0 Add detection of GMT G781
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6014 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-23 17:05:21 +00:00
Jean Delvare ffa146909c sensors: Align power values better.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6011 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-13 09:41:36 +00:00
Jean Delvare cd2ff28d7b sensors: Report thermal sensor type 1 as CPU diode.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6010 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-13 08:48:55 +00:00
Guenter Roeck f8b6670e56 sensors: Display both instantaneous and average power
Some sensor chips report both instantaneous and average power.
Add support to display both.



git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6008 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-09 18:24:03 +00:00
Guenter Roeck 273102f2c9 Add support for additional sysfs attributes to libsensors and to sensors command
inX_average
inX_lowest
inX_highest
tempX_lowest
tempX_highest
currX_average
currX_lowest
currX_highest




git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6007 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-09 17:30:10 +00:00
Jean Delvare 2c145550b5 fancontrol: Output error messages to stderr
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6001 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-12-04 16:54:05 +00:00
Jean Delvare bd21ec1ee4 fancontrol: Support setup where one PWM output controls several fans
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6000 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-12-04 16:53:10 +00:00
Jean Delvare 4c63be0361 Add detection of National Semiconductor LM96163.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5997 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-11-08 09:10:11 +00:00
Jean Delvare 8536734576 Make LM73 detection less problematic.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5994 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-08-31 08:34:15 +00:00
Jean Delvare 535e73df7a Fix loading of the cpuid module. On non-udev systems, or even on udev
systems where /dev/cpu/0/cpuid is part of the static device node tree,
the previous test would succeed even when the cpuid module isn't
loaded, resulting in missing detections (of coretemp-supported CPU
models in particuler.) Check if the module is loaded by looking in
sysfs instead, this is much more reliable.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5993 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-08-25 19:28:13 +00:00
Jean Delvare 0cc29fa84f Print DMI system/product version if available. On some laptops, the
actual model name is in this string.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5992 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-07-22 08:42:02 +00:00
Jean Delvare a4bd81d9e2 Improve filtering of fake DMI data.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5991 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-07-22 07:52:46 +00:00
Jean Delvare b3a1ef71c4 Stop calling for PIIX5 SMBus testers. It's been so long and we never
heard of any user, I'm not even sure if the hardware actually exists.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5989 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-07-22 07:38:03 +00:00
Jean Delvare 796c38a138 Prepare for release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5986 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-07-21 20:36:42 +00:00
Guenter Roeck 60eaad824f Add code to detect LM95245
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5984 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-07-10 19:22:53 +00:00
Guenter Roeck 93213b20cb Add code to detect SA56004.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5983 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-07-08 14:35:37 +00:00
Jean Delvare e5bbea3bbc Don't advertise the ipmisensors driver, it doesn't work.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5981 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-07-03 11:57:57 +00:00
Jean Delvare 7ed340940c Add detection of ITE IT8772E.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5979 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-06-10 08:14:03 +00:00
Guenter Roeck ab116c9658 Add detection of MAX6642
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5978 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-06-01 16:20:05 +00:00
Jean Delvare 9c6ddf55ef Add a default configuration section for the SMSC EMC6W201.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5974 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-05-18 10:19:36 +00:00
Jean Delvare 5333cf6ecc Patch from Steve Glendinning (SMSC):
EMC2300 is already detected, but is reported as EMC6D103S. These
two are register compatible and it's not actually possible to
distinguish between them by registers.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5973 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-05-12 09:37:57 +00:00
Jean Delvare 69e02824a1 Drop unreliable detection of Maxim MAX6650 and MAX6651.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5970 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-05-07 07:52:59 +00:00
Jean Delvare ee792ce837 Add detection of SMSC EMC6W201.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5967 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-05-05 15:39:04 +00:00
Jean Delvare 16e09f39b7 Drop unreliable smart battery detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5966 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-05-05 15:31:19 +00:00
Jean Delvare e14d932824 isaset: Add support for word (16-bit) and long (32-bit) writes
Sometimes the hardware expects 16-bit or 32-bit writes rather than byte
writes. Add support to isaset so that the user can ask for such writes.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5962 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-04-15 08:27:30 +00:00
Jean Delvare 9b3e34e470 isadump: Add support for word (16-bit) and long (32-bit) reads
Sometimes the hardware expects 16-bit or 32-bit reads rather than byte
reads. Add support to isadump so that the user can ask for such reads.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5961 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-04-15 08:26:49 +00:00
Jean Delvare e4c6b48445 Add detection of ITE IT8516E/F/G.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5958 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-04-07 14:34:15 +00:00
Guenter Roeck 0e76aaaf75 sensors-detect: Add detection of ADT7461A / NCT1008
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5956 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-04-06 14:28:43 +00:00
Jean Delvare 982df34c9f Add AMD family 15h CPU detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5955 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-04-06 12:18:55 +00:00
Jean Delvare 159cceaa24 Prepare for release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5949 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-03-28 07:02:37 +00:00
Jean Delvare f27fa3595a Add a default configuration section for the F81865F.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5948 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-03-26 08:49:23 +00:00
Jean Delvare da82719412 Add a default configuration section for the W83795G/ADG.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5947 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-03-25 15:40:42 +00:00
Jean Delvare fea164dda4 Add detection of many Fintek Super-I/O devices.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5945 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-03-18 10:40:06 +00:00
Guenter Roeck 57815ea1c7 sensors: Added support for additional sensor attributes
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5943 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-03-16 17:23:33 +00:00
Guenter Roeck aea4b6cbe8 sensors: If an attribute value is 0, display the value with its base unit,
not with the minumum supported unit.



git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5942 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-03-16 14:55:04 +00:00
Jean Delvare 1ad58f5ff9 Add detection of SMSC SCH5627.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5941 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-03-13 13:25:51 +00:00
Jean Delvare cae654385e Only export from libsensors symbols which are actually public (i.e.
listed in the public header files and documented in the manual page.)
Patch from Cristian Rodriguez <crrodriguez@opensuse.org>.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5939 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-03-06 20:20:55 +00:00
Jean Delvare f561412fbd Count DMI chassis type 8 as a laptop. Reported by Francis Moreau.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5936 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-02-27 12:08:43 +00:00