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

941 Commits

Author SHA1 Message Date
Guenter Roeck
e84b4863be sensors-detect: Add detection of TI ADC128D818 2014-01-26 21:52:57 +00:00
Jean Delvare
f5d3e6a256 Add another PCI ID for new family 15h AMD processors.
Patch from Phil Pokorny.
2014-01-14 21:51:58 +00:00
Jean Delvare
72b72f40fc Map the IT8603E to the it87 driver. 2013-11-22 12:43:52 +00:00
Jean Delvare
cb00a51d89 Add detection of SMSC EMC2104. 2013-11-22 12:38:12 +00:00
Rudolf Marek
cd345e7bef Add detection of IT8603E. 2013-11-12 13:29:25 +00:00
Jean Delvare
3a10e75529 Add detection of Texas Instruments TMP451 2013-10-09 15:58:33 +00:00
Jean Delvare
fbfbb9c9a8 sensors-detect: Fix use of uninitialized value 'vendor_id' on ppc64
Based on a report and an original patch from Jaromir Capik:

There's no vendor_id entry in the /proc/cpuinfo file in case of PPC64
systems and consequently the script returns 3 screens full of the
following errors:

Use of uninitialized value in string eq at /usr/sbin/sensors-detect
line 6444
Use of uninitialized value in string eq at /usr/sbin/sensors-detect
line 6459
Use of uninitialized value in string eq at /usr/sbin/sensors-detect
line 6473
2013-09-11 12:07:25 +00:00
Jean Delvare
ec4160f771 sensors-detect: Rework option handling
Rework the way command line options are handled. If we ever need more
than this, we should consider moving to some GetOpt perl module.
2013-09-11 11:51:57 +00:00
Jean Delvare
5b6f3f26e0 sensors-detect: Detect incorrect non-interactive runs
It is better to use option --auto for non-interactive runs of the
sensors-detect script than faking an input to get the default answers
to all questions.
2013-09-11 11:46:48 +00:00
Jean Delvare
feb19f45c6 sensors-detect: Introduce automatic mode
Add option --auto to sensors-detect, for non-interactive use. Default
answer is assumed to every question.
2013-09-11 11:22:37 +00:00
Jean Delvare
993f8cb621 Add PCI ID for new family 15h AMD processors. 2013-08-31 13:18:15 +00:00
Jean Delvare
b67af39649 sensors-detect: Add detection of F71868A 2013-07-16 15:07:19 +00:00
Guenter Roeck
01f4f2b275 sensors-detect: Add detection of NCT6681D, NCT6682D, and NCT6683D
NCT6683D is found on recent Intel mainboards (eg DH87MC, DH87RL).
NCT6681D is mentioned on the Nuvoton web site. NCT6682D is similar
to NCT6681D with added support for current monitoring.
2013-07-03 16:15:54 +00:00
Guenter Roeck
1dbb3af4ab sensors-detect: Add detection of NCT6791D
New superio chip, found on recent ASUS boards.
2013-07-03 16:14:23 +00:00
Jean Delvare
f8248e8c21 sensors-detect: Handle built-in modules properly
We now have everything we need to handle built-in modules properly, so
do it. It should work fine since kernel 2.6.33.
2013-06-10 13:03:44 +00:00
Jean Delvare
256811bc9e sensors-detect: Use modules.builtin instead of /sys/module
/sys/module doesn't actually contain all built-in modules, only the
ones which have a version or at least one parameter. Better use file
modules.builtin which is generated since kernel 2.6.33, it is complete
and this will let us handle built-in modules properly.
2013-06-10 13:02:47 +00:00
Guenter Roeck
e8af0c718c lm-sensors: Drop comment that additional checks for MAX1617 and LM84
are not done in adm1021 driver, as this is no longer correct.
2013-06-07 18:48:08 +00:00
Jean Delvare
a276f56993 sensors-detect: Report built-in drivers as such 2013-05-28 11:51:36 +00:00
Jean Delvare
8f4461622c Drop unreliable DS1621/DS1631 detection
Detection of the Dallas/Maxim DS1621, DS1625 and DS1631 chips is weak
and likely to result in false positive. There's no rationale for
keeping it in sensors-detect as these chips are not found in desktop
computer systems. So drop detection of these chips altogether.
2013-05-20 19:25:22 +00:00
Guenter Roeck
75e1846326 NCT5577D datasheet says that the chip ID can be 0xC333, same as NCT6776F.
So we can not use the chip revision to detect the actual chip.
Merge entries for NCT5577D and NCT6776F into one.

List NCT5572D as another variant of W83677HG-I (NCT6775).

NCT6106D chip ID as observed on a real system is 0xC452, not 0x1061 as
claimed by the data sheet. Confirmed with Nuvoton that the correct
chip ID is 0xC452. Also list its variants NCT6102D and NCT6104D.

List NCT5532D as variant of NCT6779D. Data sheets list possible chip
IDs of 0xC561 and 0xC562, so detect and accept all chip revisions.

Point to new nct6775 driver for NCT6775, NCT6776, and NCT6779.
2013-04-09 14:54:19 +00:00
Guenter Roeck
43e8122abb Add detection of TMP431 and TMP432 2013-03-17 16:04:55 +00:00
Guenter Roeck
f3c0b42ed9 Add detection of LM95234 2013-03-17 16:03:51 +00:00
Jean Delvare
ad51e05f16 We have a driver for the ADT7410 since kernel 3.7.
ADT7420 is register compatible with the ADT7410.
2013-02-28 09:18:34 +00:00
Guenter Roeck
fc22c02e65 Add detection of MCP98244 2013-02-04 23:56:11 +00:00
Guenter Roeck
9bec02f075 Add detection of IT8752F 2013-02-04 23:55:13 +00:00
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
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
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
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
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
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
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
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
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
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
4b809e1ff1 Map IT8728F to driver it87.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5999 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-11-22 10:10:42 +00:00
Jean Delvare
4188c5d234 The LM94 and LM96194 are almost the same chip, and they have the same
device ID.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5998 7894878c-1315-0410-8ee3-d5d059ff63e0
2011-11-08 09:24:16 +00:00