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

976 Commits

Author SHA1 Message Date
Guenter Roeck
45ffa15cf0 sensors-detect: Fix syntax error
elseif should be elsif

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2016-07-25 13:19:00 -07:00
Guenter Roeck
6a368f70ea sensors-detect: Fix detection of NCT6793D
The Chip ID for NCT6793D is 0xD12x, not 0xD11x.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2016-07-16 10:32:13 -07:00
Guenter Roeck
ff36ee04b8 sensors-detect: Mark F81866D as supported by the f71882fg driver
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2016-07-16 10:25:40 -07:00
Guenter Roeck
feabab994e sensors-detect: Mark F81768D as supported by the f71882fg driver
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2016-07-16 10:25:40 -07:00
Guenter Roeck
5a71627a80 sensors-detect: Mark F71868A as supported by the f71882fg driver
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2016-07-16 10:25:40 -07:00
AlisonSchofield
5ea7fefee4 update sensors-detect for Microchip MCP9808 2016-07-15 14:03:49 -07:00
Guenter Roeck
21e256095c Add detection of Nuvoton NCT6793D 2015-08-31 07:47:39 +00:00
Jean Delvare
6507372685 sensors-detect: Only probe I/O ports on x86
Contributed by Aurelien Jarno.
2015-08-10 09:04:53 +00:00
Jean Delvare
76e050dc2f sensors-detect: Add detection of Fintek F81768 2015-07-06 12:11:15 +00:00
Jean Delvare
b26a85f06c sensors-detect: Fix systemd paths 2015-07-06 11:51:24 +00:00
Jean Delvare
955a371506 Be more flexible when parsing address list 2015-05-31 12:00:33 +00:00
Jean Delvare
b457bc7c63 sensors-detect: Skip addresses 0x37 and 0x4f on DDC channels
We already skip EDID addresses (0x50-0x57) by default on graphics card
I2C/DDC buses. Also skip 0x37 (DDC/CI) and 0x4f which was recently
reported as corrupting a laptop's display when probed.

This closes ticket #2392.
http://www.lm-sensors.org/ticket/2392
2015-05-31 11:58:16 +00:00
Jean Delvare
332c6fe2b9 sensors-detect: Detect graphics card in all cases
On recent kernels, the i2c bus may not be an immediate child of the
graphics device, instead there can be a drm class device in between.
Treat all drm class devices as graphics devices so that probing the
i2c bus is disabled by default as intended.
2015-05-31 11:53:30 +00:00
Jean Delvare
15cafdf597 Don't probe address 0x37 for TMP435, this address is known to be
problematic.
2015-05-28 06:01:18 +00:00
Guenter Roeck
aaf34b0de8 Add detection of ITE8790E.
Reflect that IT8620E will soon be supported by the it87 driver.
2015-03-30 06:43:30 +00:00
Guenter Roeck
da60f83fa2 sensors-detect: Nuvoton chip updates
Document driver support for NCT7802Y.
Add detection of NCT7904D.
2015-03-03 16:48:20 +00:00
Guenter Roeck
266a45579c sensors-detect: Detect additional IDT temperature sensors
Loosen detection rules for TS3000/TSE2002 to detect additional
chip revisions. Add detection of TSE2004 and TS3001.
2015-02-25 16:38:20 +00:00
Jean Delvare
f18f5531b2 Map the IT8786E to the it87 driver 2015-02-24 10:42:36 +00:00
Jean Delvare
d992ea2039 Map the IT8781F to the it87 driver 2015-02-24 08:43:33 +00:00
Jean Delvare
5ef0b34a86 Add detection of Intel 5500/5520/X58 2015-01-26 09:27:46 +00:00
Guenter Roeck
5765cdf944 Add detection of IT8731F and IT8732F 2015-01-23 15:59:14 +00:00
Guenter Roeck
54ec3485d3 Add detection of IT8780F 2015-01-23 15:58:47 +00:00
Guenter Roeck
b0d6963810 Add detection of IT8786E 2015-01-23 15:58:21 +00:00
Guenter Roeck
241441edaa sensors-detect: Add code to detect TMP400 and TMP435
Also strengthen chip detection for other TMP4xx chips,
and update driver support status for TMP431 and TMP432.

Write new function for various TMP4xx chips and separate
from lm90 detection.
2014-12-12 14:25:20 +00:00
Guenter Roeck
fba335f4aa sensors-detect: EMC14xx chip updates
Document support for EMC1402, EMC1404, and EMC1424
Detect new revisions of EMC14xx
Add detection of EMC1422
2014-11-20 19:13:44 +00:00
Guenter Roeck
e541f5a86f Add reference to nct6683 driver.
Show that nct6775 driver supports NCT6792D.
Show that NCT6102D/6104D/6106D are supported by nct6775 driver.
NCT5573D is compatible to NCT6776F and has the same chip ID.
2014-11-20 19:12:37 +00:00
Jean Delvare
bf885a77c5 Add detection of Nuvoton NCT6792D 2014-11-17 08:21:25 +00:00
Jean Delvare
2b9a6ee146 Print the kernel version and the processor information, to make user
support easier.
2014-09-10 19:18:25 +00:00
Guenter Roeck
a5f0ead1ae sensors-detect: Add detection of NCT7802Y 2014-06-26 14:37:22 +00:00
Guenter Roeck
778c8486c8 sensors-detect: Add detection of various TI chips
Detect TMP441, TMP442, LM95233, LM95234, LM95235.
Strengthen detection of TMP421/TMP422/TMP423.
2014-06-26 13:31:14 +00:00
Jean Delvare
caa118e4a7 I2C address 0x2c is already probed for dozens of chips so there's no
reason to not probe it for SMSC EMC1072, EMC1073 and EMC1074.
2014-05-12 07:14:50 +00:00
Jean Delvare
eb5cf8b2ec Update my e-mail address and copyright years 2014-03-20 10:23:35 +00:00
Jean Delvare
5a159bc648 Add detection of ITE IT8623E 2014-03-18 09:42:22 +00:00
Jean Delvare
9a91bf414b Add detection of ITE IT8620E 2014-03-16 09:48:49 +00:00
Jean Delvare
d70aec7eac Add detection of AMD family 16h Kabini and Mullins CPU sensors 2014-03-12 09:19:08 +00:00
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