2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-29 13:28:01 +00:00

4191 Commits

Author SHA1 Message Date
Jean Delvare
c5503d2458 Let generate_modprobes() export clean lists of modules that need to be
loaded.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5586 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-12 12:25:15 +00:00
Jean Delvare
dceb0e3ade Delete lm_sensors.init.suse. The actual SuSE initialization script is
much different, and is maintained as part of the openSUSE sensors
package.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5585 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-12 11:57:18 +00:00
Jean Delvare
bcddaa74a1 Fix listing of needed bus drivers.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5584 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-12 10:31:58 +00:00
Jean Delvare
a16b7a42aa Delete needless forward declaration.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5583 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-11 16:21:15 +00:00
Jean Delvare
c80aefd222 Detect excessive recursion depth during expression evaluation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5582 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-11 12:19:32 +00:00
Jean Delvare
e4d51acf7d Fix error propagation during expression evaluation.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5581 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-11 10:00:19 +00:00
Jean Delvare
93aa7f3222 Don't bail out on transient errors (#2330).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5580 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-08 11:01:41 +00:00
Jean Delvare
63822ad7a1 Adjust f8000-* section.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5579 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-08 10:59:23 +00:00
Jean Delvare
522aa97eb8 The F8000 is finally supported by the f71882fg driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5578 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-08 10:55:21 +00:00
Jean Delvare
e1ea81cc64 Add Intel Core I7 support. Patch from Reinhard Nissl.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5563 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-13 18:49:55 +00:00
Jean Delvare
1be4b18e7e Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5550 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-11 08:52:22 +00:00
Jean Delvare
22ce34f57a Add labels for F8000 voltages.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5549 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-11 08:50:45 +00:00
Jean Delvare
c541b7e523 Spelling fixes.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5536 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-07 15:27:00 +00:00
Jean Delvare
755fd99aeb Strip trailing whitespace.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5535 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-07 13:17:54 +00:00
Jean Delvare
2e954a6580 Move the help section of sensors.conf.eg to sensors.conf.5, so that
we have only one document to maintain. This change also speeds up
sensors by 2.5% when using the default configuration file.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5534 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-07 13:14:39 +00:00
Jean Delvare
b415345b91 Add Winbond/Nuvoton W83667HG detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5532 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-06 17:55:45 +00:00
Jean Delvare
8c9d4a6455 Add a comment on disabling the hysteresis mechanism.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5531 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-06 09:36:15 +00:00
Jean Delvare
ec87290402 Alternatively look for DMI data in /sys/class/dmi/id, as
/sys/devices/virtual/dmi/id only exists since kernel 2.6.28.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5530 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-05 22:56:30 +00:00
Jean Delvare
3fa3461913 Replace hard-coded /sys with $sysfs_root.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5529 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-05 18:01:09 +00:00
Jean Delvare
de7c9fe6b0 Suggest installing dmidecode if needed and missing.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5528 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-05 17:58:47 +00:00
Jean Delvare
8ceec92187 Fix discarding of overruled I2C detections.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5527 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-05 17:10:56 +00:00
Jean Delvare
d177d58983 Add Supermicro to the SMBus probing white list.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5526 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-05 11:02:58 +00:00
Jean Delvare
513cf999c6 Customize the "no sensors found" message for laptops.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5525 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-05 10:42:56 +00:00
Jean Delvare
04f9959fd6 Include "laptop" in DMI data summary for laptops. This will make support
easier, as running lm-sensors on laptops is significantly different from
running it on other systems.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5524 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-05 10:04:36 +00:00
Jean Delvare
4f17a30d9a Skip IPMI probing on laptops. IPMI is almost exclusively implemented on
servers, I've never seen it on a laptop and I don't really expect this
to ever happen.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5523 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-05 10:00:32 +00:00
Jean Delvare
2ed59ceadc Handle the case where DMI data isn't available.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5522 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-05 09:44:17 +00:00
Jean Delvare
c63401998c Move IPMI interface detection to its own section. IPMI is really different
from legacy ISA monitoring chips.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5521 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-05 09:36:13 +00:00
Jean Delvare
2d31705bec Always probe the SMBus on Asus and Tyan boards. Both vendors are well
known for making boards with more than one hardware monitoring chip.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5520 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-04 21:23:14 +00:00
Jean Delvare
69c9707ab7 Gather DMI data and print it at start-up. We may use this data for
various purposes later.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5519 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-04 20:50:42 +00:00
Jean Delvare
a9f2ab6cae Add IT8710F (no sensors).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5517 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-04 16:54:12 +00:00
Jean Delvare
974ace4d73 Properly handle ISA probe skip for Super I/O those registers are accessed
on the SMBus.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5516 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-04 10:16:32 +00:00
Jean Delvare
48d6d40850 Document the new detection order and rules.
Drop the reference to i2cdetect, as it has moved to a separate package.
Update the date and authors section.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5515 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-03 15:15:39 +00:00
Jean Delvare
2496da8bbd Minor coding style fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5514 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-03 13:48:59 +00:00
Jean Delvare
d3476f94c8 Minor consistency edit.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5513 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-03 13:45:38 +00:00
Jean Delvare
495275e1e3 Merge sensors-detect-stat.pl functionality into sensors-detect. This
will be more reliable that way, and easier to maintain.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5512 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-03 13:44:26 +00:00
Jean Delvare
17dea03489 Skip SMBus probing by default if a Super I/O was found. The user can
still ask for SMBus probing, but in general, if there's a Super I/O
with enabled hardware monitoring features, there won't be an additional
hardware monitoring chip on the SMBus. Might need to be refined as some
vendors (Asus, Tyan) are known to actually do that.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5511 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-03 12:40:13 +00:00
Jean Delvare
165c1bca75 Skip non-hwmon devices.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5510 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-03 12:05:18 +00:00
Jean Delvare
c13b0b76ff Fix insecure dependency in printf.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5509 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-03 11:50:37 +00:00
Jean Delvare
9374cd9482 Have scan_superio return a list of features instead of a boolean value.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5507 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-03 09:47:57 +00:00
Jean Delvare
3c4bcad753 List the features of each Super I/O chip, for later use.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5506 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-03 09:39:43 +00:00
Jean Delvare
1b15b90fca Clean-up scan_superio.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5505 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-02 22:11:31 +00:00
Jean Delvare
697dd4f4ec Do not scan I2C adapters on multimedia cards by default. I've never
seen a hardware monitoring chip on such boards, and probing them can
cause problems.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5504 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-02 22:08:45 +00:00
Jean Delvare
e89e2a8c78 Skip ISA detection by default if a Super I/O was found. In general,
systems have a Super-I/O chip or an ISA chip, not both.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5503 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-02 21:42:35 +00:00
Jean Delvare
3ef49590d1 Add an option to skip ISA probes except IPMI. The idea is that only
old systems have ISA hardware monitoring chips, while IPMI can be
present on recent systems. Additionally, IPMI probing is read-only,
so it's safer than other ISA probes.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5502 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-02 20:56:45 +00:00
Jean Delvare
761caf78c2 Minor fixes to the previous commit.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5501 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-02 17:56:33 +00:00
Jean Delvare
dc22cce727 Move some code from main() to scan_i2c_adapter() as it makes more sense
that way.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5500 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-02 17:54:20 +00:00
Jean Delvare
b8309aa3bd Drop redundant comments in PCI / CPU detection section.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5499 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-02 17:39:32 +00:00
Jean Delvare
9ee2412404 Probe chip types from safest to more risky. Start with sensors embedded
in CPU and south bridges, then Super I/O, then ISA and last I2C/SMBus.
In the future we may decide to skip probing ISA and I2C/SMBus if we
already have found a supported south bridge or Super I/O.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5498 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-02 17:36:08 +00:00
Jean Delvare
05978f13d8 Turn chips_detected into a hash. This is more appropriate to the data
we store than the array we were using so far.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5497 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-02 13:53:43 +00:00
Jean Delvare
443f019e65 Move alias detection after all chip detections. This is slightly less
efficient, but this makes it possible to later change the probing order.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5496 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-12-02 11:13:38 +00:00