Jean Delvare
1b77fd669b
Avoid unwanted sensors-detect termination when /dev/port is missing
...
Patch from Jaromir Capik.
The device file /dev/port might be missing in some cases
and the sensors detection is terminated when the user
tries to detect sensors dependent on it's existence.
That's not correct -> it's not a reason for terminating
the detection.
2013-01-23 09:33:59 +00:00
Jean Delvare
6734fae250
The new sysconfig configuration file syntax is in place since December
...
2009, I think we can safely remove the old one, nobody should be using
it any longer.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6115 7894878c-1315-0410-8ee3-d5d059ff63e0
2013-01-16 18:11:30 +00:00
Jean Delvare
319f9b8f68
If a driver is built into the kernel, it doesn't show up in
...
/proc/modules so we will try to load it, even though it's already
available. It will succeed, however later attempts to remove the
driver will fail and such failures are reported at the end of the
script, which can be confusing.
So, use /sys/module instead of /proc/modules where available, as
built-in drivers are listed there too so we no longer attempt to load
already available drivers. As a consequence we also no longer attempt
to remove the drivers in question, thus clearing the error message.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6114 7894878c-1315-0410-8ee3-d5d059ff63e0
2013-01-16 17:33:38 +00:00
Jean Delvare
1971bc6ff1
Map IT8771E, IT8772E, IT8782F and IT8783F to it87.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6113 7894878c-1315-0410-8ee3-d5d059ff63e0
2013-01-16 14:26:48 +00:00
Jean Delvare
9c91c2897e
Add detection of AMD family 16h power sensors. Patch from Boris
...
Ostrovsky.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6112 7894878c-1315-0410-8ee3-d5d059ff63e0
2013-01-12 14:35:31 +00:00
Jean Delvare
8714492f6b
Add detection of Winbond W83627SF/GF (no sensors.)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6111 7894878c-1315-0410-8ee3-d5d059ff63e0
2013-01-11 20:52:59 +00:00
Jean Delvare
122780fc96
sensors.conf.5: Mention "sensors -u" to get the raw feature names.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6091 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-11-12 09:48:37 +00:00
Jean Delvare
f915436019
sensors: Clarify what option -u is good for.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6090 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-11-12 09:35:59 +00:00
Jean Delvare
c6c1c5d67c
Post-release version update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6089 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-11-06 20:32:29 +00:00
Jean Delvare
f8e6c7fd6e
Prepare for release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6087 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-11-06 20:10:47 +00:00
Jean Delvare
717e87b4d2
Fix % in format.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6086 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-11-06 19:44:01 +00:00
Jean Delvare
d1d5799d51
sensors-detect: Fix parent class discovery when multiplexer is present
...
Take multiplexers into account when looking up the parent device of
each I2C adapter. We don't bother with old kernels as they didn't have
support for multiplexers anyway.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6085 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-10-30 17:18:45 +00:00
Jean Delvare
e817653329
sensors-detect: Do not scan I2C adapters on graphics cards by default.
...
Don't probe I2C buses on graphics cards by default. Their drivers will
typically instantiate the I2C slave devices themselves as needed, and
such probes have been occasionally reported to cause serious trouble.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6084 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-10-30 17:11:37 +00:00
Jean Delvare
6a2798ccc0
sensors/man - missing long switches
...
Patch from Jaromir Capik.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6076 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-10-22 11:51:27 +00:00
Jean Delvare
f0af8775a1
Update fan-divisors: fan divisors are optional, recent monitoring chips
...
don't have them so the document doesn't apply to these chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6071 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-09-14 11:35:43 +00:00
Guenter Roeck
4726e44ab8
sensors: add humidity data to output of sensors command
...
Patch provided by Iain Paton.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6070 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-09-11 19:05:10 +00:00
Guenter Roeck
aa504302de
sensors-detect: Add detection of SMSC LPC47N217 and SIO10N268
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6057 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-06-01 15:47:27 +00:00
Guenter Roeck
c94b615773
sensors-detect: Add detection of NCT6779D and NCT6102D/NCT6106D
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6056 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-06-01 15:46:30 +00:00
Jean Delvare
6ee8f6096d
Merge 4 regular expressions into a single one, this is faster.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6046 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-04-19 13:21:00 +00:00
Jean Delvare
08d713c412
libsensors: Fix warning about library path not in /etc/ld.so.conf
...
On recent systems, extra configuration files can live in
/etc/ld.so.conf.d, so check this directory too, before warning.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6045 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-04-19 13:18:45 +00:00
Jean Delvare
69eb49cb7f
sensors: Fix libiconv linkage need detection in rare corner case.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6044 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-04-19 13:13:27 +00:00
Jean Delvare
29bd5c021e
Avoid probing EDID addresses (0x50-0x57) on graphics card adapters.
...
We had one report that it caused trouble:
http://lists.lm-sensors.org/pipermail/lm-sensors/2012-April/035847.html
Even though it's not yet clear what happened, let's play it safe.
This fixes ticket #2386 .
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6040 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-04-09 19:33:35 +00:00
Jean Delvare
91bf1d30cc
Update release checklist.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6039 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-29 07:54:05 +00:00
Jean Delvare
ea7ff25c29
PCI bus is always required even if it might be missing on some
...
platforms. So don't choke is it is missing. Patch from Jaromir Capik.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6038 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-29 06:33:15 +00:00
Jean Delvare
096fe8790a
Post-release version update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6037 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-14 08:04:48 +00:00
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
Jean Delvare
7a4273e763
Motherboard donated by Winbond that I thought was dead has miraculously
...
resurrected.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6034 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-13 19:30:30 +00:00
Jean Delvare
0871a7d568
Drop invalid statement.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6032 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-08 20:36:42 +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
a3e40509e0
Add support for fan[1-*]_max, fan[1-*]_min_alarm and fan[1-*]_max_alarm
...
attributes. These are defined in the standard sysfs interface for quite
some time, and at least three drivers (max6650, lm63 and applesmc)
implement them so we should support them.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6029 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-06 07:34:13 +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
1c20f6a298
Fold get_features() into do_features().
...
There is no rationale for having separate functions, both are static
and called only once. do_features() is calling helper functions to get
values it doesn't use and passes to get_features() directly. Having a
single function is more efficient and allows for per-action
optimizations.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6026 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-03-06 07:23: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
bdfeb5e97e
Filter out one more fake DMI string.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6022 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-02-16 06:44:31 +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
38581a071e
lm96080 is the new lm80.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6020 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-31 14:25:29 +00:00
Jean Delvare
ce67eab867
Fix typo.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6019 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-31 14:22:39 +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
Jean Delvare
2e65243b16
Add 4 PCI IDs for Intel SMBus controllers.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6015 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-24 07:54:35 +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
4f21a6bbed
w83627ehf: Increase default value of Vbat max, the previous default
...
triggered an alarm on many boards.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6012 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-14 19:56:13 +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
Jean Delvare
847dc0b454
Add recent donation of a fanless graphics card by AMD.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6009 7894878c-1315-0410-8ee3-d5d059ff63e0
2012-01-13 08:24:23 +00:00