Ondřej Lysoněk
c28d20d19d
sensors-detect: Fix printing CPU info on ppc and arm
...
The format of /proc/cpuinfo on other arches is different from the
format on x86. Modify the print_cpu_info function to handle arm and
ppc.
This change also eliminates Perl warnings caused by non-existent
elements in the %cpu hash:
Use of uninitialized value in concatenation (.) or string at
./prog/detect/sensors-detect line 3124.
Based on a patch from Changqing Li <changqing.li@windriver.com>,
GitHub PR: https://github.com/lm-sensors/lm-sensors/pull/168
2019-10-17 10:07:21 +02:00
Luca Stefani
819786cb8d
Add support for Nuvoton NCT6112D/NCT6114D/NCT6116D Super IO Sensors
...
* See https://patchwork.kernel.org/patch/11044521/#22774197 for reference
2019-07-30 11:35:58 +02:00
Ondřej Lysoněk
eba5bf0714
sensors-detect: Reorder Nuvoton chips to match the kernel ordering
...
Reorder Nuvoton chips in the superio_ids_winbond array to match the
order in the kernel to make lookup easier. No functional change.
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-07-29 09:57:28 +02:00
Ondřej Lysoněk
6ead226a2c
sensors-detect: Update devid_mask for devices supported by nct6775
...
Since mainline commit 0599682b826ff7bbf, the nct6775 driver uses a
0xfff8 mask when scanning for devices. Update our detection to match
the kernel.
Fixes #188
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-07-29 09:42:40 +02:00
Luca Stefani
079064472f
Add support for Nuvoton NCT6798D Super IO Sensors
2019-07-26 14:56:12 +02:00
Luca Stefani
ed56004740
Add support for Nuvoton NCT6797D Super IO Sensors
2019-07-25 23:52:47 +02:00
Ondřej Lysoněk
00e7d37b35
sensors-detect: Add detection of AMD family 17h, model 70h
...
k10temp support was added in groeck/hwmon-next commit
22cac1016a4831922d2.
Fixes #187
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-07-23 11:54:22 +02:00
Prism Tutaj
d03b3e3156
Add driver for Fintek F75387SG/RG to sensors-detect
...
Support for the Fintek F75387SG/RG was added to driver f75375s back in 2013.
2019-06-24 01:19:25 -05:00
hygonsoc
19fb506ef0
Add Hygon SoC driver detect support to use k10temp driver
...
Signed-off-by: hygonsoc <hygonsoc@gmail.com>
2019-04-08 11:39:11 +08:00
Ondřej Lysoněk
a60d30785e
sensors-detect: Add detection of AMD Family 16h Model 30h power sensors
...
Support in fam15h_power was added in mainline commit 0bd52941586b3.
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-01-23 11:04:04 +01:00
Ondřej Lysoněk
6a585cf1e1
sensors-detect: Update AMD Family 15h power sensors detection
...
Bring Family 15h power sensors detection up to date with the mainline
fam15h_power driver.
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-01-23 11:04:04 +01:00
Ondřej Lysoněk
782a2124b6
sensors-detect: Add detection of AMD Family 17h model 30h
...
Kernel support was added in mainline commit 210ba1201ff95.
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2019-01-10 15:09:24 +01:00
Ondřej Lysoněk
6413b80847
Fix stale links
...
Fixes #8
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2018-09-01 19:38:55 +02:00
Guenter Roeck
b4923f19eb
sensors-detect: 0x15b3 is a Family 15h chip, not 17h
...
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-05-10 07:52:25 -07:00
Guenter Roeck
e0a0238d90
sensors-detect: Add detection of AMD Ryzen Zen+ series chips
...
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-05-08 06:40:55 -07:00
Ondřej Lysoněk
c874e11639
Add detection of AMD Ryzen w/ Vega graphics
...
Kernel support was added in commit
https://github.com/torvalds/linux/commit/877d8948d0aa402fb
2018-05-03 06:15:09 -07:00
Guenter Roeck
df96b0bb4d
sensors-detect: Support detection of NCT6796D
...
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2018-02-21 13:04:55 -08:00
Guenter Roeck
df12836f48
Add detection of AMD Family 15h Model 60+ temperature sensors
...
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-12-27 09:52:14 -08:00
Guenter Roeck
3613422167
Add detection of various JC42.4 chips
...
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-12-12 00:31:44 -08:00
Guenter Roeck
915fc2fb78
sensors-detect: Detect various Intel SMBus controllers
...
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-12-12 00:10:38 -08:00
Guenter Roeck
9d155f3bd9
sensors-detect: Detect AMD Family 17h temperature sensor and other changes
...
Detect AMD Family 17h temperature sensor
Detect AMD KERNCZ SMBus controller
Fix NCT6795D detection
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-12-11 23:54:10 -08:00
Guenter Roeck
8d510a7d75
sensors-detect: Support detection of IT8987D
...
IT8987D is an embedded controller from ITE, used on some Intel NUC boards.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-08-29 06:27:51 -07:00
Guenter Roeck
0d5ccf640d
Add detection of DDR4 SPD
...
DDR4 SPD is quite similar to DDR3 SPD. Key difference for detection is
the DDR type, which is 0x0c or 12 for DDR4.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-05-01 20:13:34 -07:00
Guenter Roeck
90f7e3c069
sensors-detect: Add detection of Nuvoton NCT6795D
...
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-03-25 18:45:52 -07:00
Guenter Roeck
8aa117ffd7
sensors-detect: Add detection of various ITE Super-IO chips
...
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2017-03-25 18:41:53 -07:00
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