Jean Delvare
3efa6bf239
Add support for lm89, max6681, max6658, max6659, max6646, max6647 and
...
max6649 prefixes. The lm90 driver doesn't instantiate such devices on
auto-detection as they are undistinguishable from other supported types,
but such devices can still be instantiated explicitly since kernel
2.6.27, and supporting them is cheap.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5364 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-20 08:18:39 +00:00
Jean Delvare
46723bb4e3
Add user-space support for the IT8720F (handled exactly the same as
...
the IT8718F.)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5356 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-10-07 20:52:01 +00:00
Jean Delvare
6d7e8cca2a
Typo fix.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5341 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-09-26 14:55:56 +00:00
Jean Delvare
389555eda3
The free_expr() function is no longer static in lib/init.c (it is also
...
used in lib/conf-parse.y), and therefore must be renamed according to
the libsensors naming conventions.
Patch from Sergey Vlasov.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5301 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-14 16:15:07 +00:00
Philip Edelbrock
682cfda93a
Tag and release 2.10.7
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5297 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-07-01 18:28:03 +00:00
Jean Delvare
253dc9c9d9
The configuration file is currently parsed in the locale set by the main
...
program using the library. This means that if the decimal separator
(defined in LC_NUMERIC) is not '.' the values in the compute lines are
truncated. This happens for example with sensors-applet and a French
locale.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469333
Parsing the configuration file in C locale fixes the problem.
Original patch from Aurelien Jarno. Also closes ticket #2312 .
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5286 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-06-19 08:38:44 +00:00
Jean Delvare
f4126c0731
Fix typo.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5170 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-04-08 15:06:19 +00:00
Jean Delvare
46c0ae46d7
Don't choke on unrecognized devices, part 2. In case hwmon devices have
...
no underlying physical device, just ignore them. This happened in kernel
2.6.25-rc5-git4 with the newly added generic thermal zone device.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5147 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-16 17:30:20 +00:00
Jean Delvare
3495a8c225
Prepare for 2.10.6 release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5136 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-06 20:21:25 +00:00
Mark M. Hoffman
60d8c6b2c0
Bugfix: add carriage return ('\r') to the BLANK character class.
...
This closes ticket #2284 .
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5135 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-03-06 13:16:03 +00:00
Jean Delvare
9cc993fbab
Fix W83783S support. It has been broken for over 4 years.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5130 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-24 12:45:37 +00:00
Jean Delvare
8b6882e8d6
Fix lm93 vid2 access ( #2295 ). It got broken by r4745.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5105 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-01-10 08:10:20 +00:00
Jean Delvare
baf6c7143a
Don't choke on unrecognized devices ( #2087 ).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5086 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-27 15:35:04 +00:00
Jean Delvare
a6cb801017
sensors_eval_expr can be made static.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5079 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-18 10:12:10 +00:00
Jean Delvare
9e7e404727
Returned error values are supposed to be negative.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5078 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-18 10:09:02 +00:00
Jean Delvare
d4c77fa8bb
Fix broken reference.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5059 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-02 13:41:37 +00:00
Jean Delvare
3e46333e7c
Fix sysfs presence detection. Since sysfsutils 2.0.0, libsysfs will
...
return success even if sysfs isn't mounted. We have to check by ourselves
if it is mounted or not, so that we can fallback to procfs on Linux 2.4
systems.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5036 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-24 10:46:02 +00:00
Hans de Goede
b99f072c78
Fix very stupid copy and paste error in fschmd and fschrc support (I only have an fscher to test with so I didn't notice this)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4995 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-27 08:36:49 +00:00
Hans de Goede
628a7526d3
add SENSORS_API_VERSION define
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4979 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-22 19:29:02 +00:00
Hans de Goede
f945c74d50
Several fixes to the fschmd support
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4952 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-14 12:00:15 +00:00
Jean Delvare
21984f0de4
More fschmd VALUE fixups.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4942 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-13 11:29:49 +00:00
Jean Delvare
091be10596
Fix the VALUEs of fschmd. They don't really matter anyway, as there
...
is no Linux 2.4 version of the driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4941 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-13 09:11:00 +00:00
Hans de Goede
f062c3fb09
This patchset adds support for the new fschmd driver, while keeping
...
compatibility with the old:
-The feature lists for the fscpos, fscscy and fscher have been extended to
include the new features exported by the fschmd driver
-Feature lists for the fschmd and fschrc have been added
-The print functions in "sensors" for the fscpos, fscscy and fscher have
been modified to detect on which driver they run, on the old driver
behaviour is unmodified, on the new driver the non sysfs-interface
compliant attributes are not used and the extra features exported by the
new driver are shown.
-print functions for the fschmd and fschrc have been added to "sensors"
-mapping from the non standard sysfs attr name fan#_ripple used by the old
fscpos, fscscy and fscher drivers to the standard fan#_div used by the
fschmd driver has been added to getsysname() using altsysname.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4939 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-12 08:16:23 +00:00
Jean Delvare
e005669493
Really fix ADM1024 support for Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4933 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-09 12:59:28 +00:00
Jean Delvare
1092d1d731
Use strchr() and strrchr() instead of the deprecated index() and rindex().
...
Patch from Bernhard Fischer.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4861 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-23 21:23:12 +00:00
Jean Delvare
acb3f3928c
Make the new ADM1022 feature names more consistent.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4811 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-19 11:55:19 +00:00
Jean Delvare
5cbb6046a4
Better thmc50/adm1022 support. Original patch by Krzysztof Helt.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4799 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-17 11:10:07 +00:00
Jean Delvare
0ce944ad66
Do not attempt to read label files from procfs, they do not exist
...
there.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4792 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-09 15:47:08 +00:00
Jean Delvare
44b77f38e4
Fix memory leaks in the configuration file parser when a label, set,
...
compute or ignore statement is found before the first chip statement.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4790 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-06 12:22:59 +00:00
Jean Delvare
b5b5507599
Add sch311x support. Patch from Juerg Haefliger.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4789 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-06 09:09:35 +00:00
Jean Delvare
0b22fdb495
Delete redundant declarations.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4788 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-06 09:04:34 +00:00
Jean Delvare
b0806d7631
The sensors.conf man page belongs to the user's manual, not the
...
programmer's manual.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4787 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-06 09:03:08 +00:00
Jean Delvare
0e357dfea6
Fix a broken comment.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4754 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-04 21:25:34 +00:00
Jean Delvare
af454994ea
Fix the smsc47m192 temperature faults. The standard name for these
...
files changed recently. Fallback to the old name for compatibility.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4753 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-04 16:51:54 +00:00
Jean Delvare
11bf5ced65
Fix adm1026 critical temperature limits for Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4752 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-04 16:04:19 +00:00
Jean Delvare
a7a75c729d
Fix the magnitude of temperature offsets in Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4751 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-04 15:59:33 +00:00
Jean Delvare
196cf59489
Minor fixes to the feature name conversion list.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4750 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-04 15:48:44 +00:00
Jean Delvare
5c58595785
libsensors: Fix maxilife support for Linux 2.6.
...
The driver doesn't exist yet, but at least now the library is ready.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4749 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-04 15:15:16 +00:00
Jean Delvare
44517574f9
Stop abusing the lm78 sysctl symbols in sis5595_features.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4748 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-04 15:01:26 +00:00
Jean Delvare
72559e55f1
libsensors: Fix adm1024 support for Linux 2.6.
...
The driver doesn't exist yet, but at least now the library is ready.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4747 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-04 14:38:30 +00:00
Jean Delvare
729c95b27d
The adm9240 temperature features need no specific translation rules,
...
the generic rules will work just fine.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4746 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-04 14:04:52 +00:00
Jean Delvare
eb62f8fa7b
Fix lm93 VID support for Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4745 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-04 13:57:33 +00:00
Jean Delvare
c519ede6f8
Fix bmcsensors support for Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4741 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-01 08:26:13 +00:00
Jean Delvare
5741c56213
Contrary to what the comment says, sensors_proc_bus_count may be a
...
perfectly valid bus number. We need to use a different value for
chip configuration entries we want to ignore.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4690 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-19 15:27:14 +00:00
Jean Delvare
a692aed705
Fix a broken comment.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4683 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-18 06:56:06 +00:00
Jean Delvare
8901084a95
Typo and white space cleanps.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4679 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-16 17:49:50 +00:00
Jean Delvare
bd3913c04f
Fix thmc50 analog output symbol.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4654 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-12 13:39:01 +00:00
Jean Delvare
cfc5fda3c5
Fix support for the Linux 2.6 thmc50 driver. Patch from Krzysztof Helt.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4653 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-12 13:33:50 +00:00
Jean Delvare
72ffb67a83
Typo.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4641 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-22 12:45:59 +00:00
Jean Delvare
db2c145d9d
Speed up sensors_get_ignored() a bit. We can return as soon as an ignore
...
statement is found to match, even if it isn't an exact match.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4640 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-22 12:45:43 +00:00