2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-28 12:57:51 +00:00

775 Commits

Author SHA1 Message Date
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
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
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
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
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
Jean Delvare
3fce211736 Use dmidecode to find IPMI interfaces if available. This is required
if non-standard address or register width are used. And anyway it is
always better to avoid access to random I/O ports.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5681 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-03-12 16:44:27 +00:00
Jean Delvare
046c76d4a0 Differentiate between PC8374L and WPCD377I. Both chips have the same
device ID so we use the revision register to differentiate between
them, using custom detection functions.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5680 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-03-11 21:44:32 +00:00
Jean Delvare
531a6416f2 Display the base I/O address of Super-I/O logical device if it is
set, even it the logical device in question is disabled.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5677 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-03-06 09:44:17 +00:00
Jean Delvare
163cbc2bb7 Add nNidia nForce MCP78S SMBus detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5675 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-03-05 09:04:55 +00:00
Jean Delvare
144191432b Map the W83667HG chip to the w83627ehf driver. Support should be
available starting with kernel 2.6.30.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5666 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-02-26 16:15:04 +00:00
Jean Delvare
0bc948ca6a Add detection of Winbond WPCD377I (no sensors).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5660 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-02-19 12:41:05 +00:00
Hans de Goede
244c34b5a7 adjust scan_i2c_adapter() for FSC probe workaround
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5659 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-02-18 21:25:04 +00:00
Hans de Goede
4ca6104c35 sensors-detect: Add detection of FSC Hades and Syleus IC's
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5658 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-02-18 20:31:49 +00:00
Hans de Goede
a7ad8ad9cc sensors-detect: Add a special case for probing i2c address 0x73 for FSC chips,
as at least the Syleus locks up with our regular probe code. Note that to our
current knowledge only FSC chips live on this address, and for them
this probe method is safe.



git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5657 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-02-18 20:26:20 +00:00
Jean Delvare
70de907670 Do not include in the driver list the PCI and USB drivers which are
autoloaded by the system. Excluding them avoids unnecessary attempts to
load already loaded drivers and also helps with device numbering
stability (#2368).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5635 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-02-04 09:58:07 +00:00
Jean Delvare
a71ca63e00 Add nNidia nForce MCP67, MCP73, MCP79 SMBus support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5618 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-22 09:35:04 +00:00
Jean Delvare
3a5e195f43 I can't remember why we needed POSIX in the past, but apparently we
no longer need it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5617 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-21 16:19:20 +00:00
Jean Delvare
3a3a467c06 Fix detection of older DS1621.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5612 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-19 20:38:53 +00:00
Jean Delvare
000aaa5207 We have a driver for the ADT7475 now.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5599 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-16 12:54:23 +00:00
Jean Delvare
41226b9c8f Get rid of useless variables $isa and $ipmi.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5592 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-12 16:39:14 +00:00
Jean Delvare
c8f7e5969e Don't build modprobe lines before we actually need them.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5591 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-12 16:38:09 +00:00
Jean Delvare
b1df5b6536 Print warnings about missing modules on screen, rather than telling
the user to add them to the configuration files. When using the
sysconfig integration mode, the warnings would never be seen.
Also don't include missing modules in the configuration files,
as they may cause the lm_sensors service to fail.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5590 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-12 16:17:51 +00:00
Jean Delvare
d93dcb468e Move configuration files generation to a dedicated sub.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5589 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-12 16:13:55 +00:00
Jean Delvare
f9ac42dbc0 Improve the format of /etc/sysconfig/lm_sensors as generated by
sensors-detect. The new format is more flexible and less error-prone.
The old format is still included for compatibility.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5588 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-12 12:39:29 +00:00
Jean Delvare
e613ec67d8 Drop a needless variable.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5587 7894878c-1315-0410-8ee3-d5d059ff63e0
2009-01-12 12:30:12 +00:00
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
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
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
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
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