]> git.ipfire.org Git - thirdparty/lm-sensors.git/log
thirdparty/lm-sensors.git
5 years agoMerge pull request #313 from lm-sensors/no_sensors_flag master 434/head
Artem Egorenkov [Wed, 24 Feb 2021 15:12:40 +0000 (16:12 +0100)] 
Merge pull request #313 from lm-sensors/no_sensors_flag

Flag allow-no-sensors added.

5 years agoFlag allow-no-sensors added. 313/head
sibeream [Tue, 23 Feb 2021 19:25:26 +0000 (20:25 +0100)] 
Flag allow-no-sensors added.

5 years agoThinkPad-T490s-i7.conf created
Artem Egorenkov [Tue, 5 Jan 2021 18:21:16 +0000 (19:21 +0100)] 
ThinkPad-T490s-i7.conf created

5 years agoMerge pull request #278 from fin-ger/master
Artem Egorenkov [Wed, 2 Dec 2020 15:42:51 +0000 (16:42 +0100)] 
Merge pull request #278 from fin-ger/master

Add sensors config file for Lenovo ThinkPad X260

5 years agoMerge pull request #290 from pzahemszky/2020-11-14-fancontrol
Artem Egorenkov [Wed, 2 Dec 2020 14:50:49 +0000 (15:50 +0100)] 
Merge pull request #290 from pzahemszky/2020-11-14-fancontrol

Improve some error messages of fancontrol

5 years agoMerge pull request #295 from drfiemost/biostar_a960d_v2
Artem Egorenkov [Wed, 2 Dec 2020 13:42:07 +0000 (14:42 +0100)] 
Merge pull request #295 from drfiemost/biostar_a960d_v2

Add Biostar A960D+V2 config

5 years agoMerge pull request #297 from dtbartle/bartle-nct6687d
Artem Egorenkov [Wed, 2 Dec 2020 13:41:12 +0000 (14:41 +0100)] 
Merge pull request #297 from dtbartle/bartle-nct6687d

sensors-detect: Add support for NCT6687D.

5 years agosensors-detect: Add support for NCT6687D. 297/head
David Bartley [Tue, 1 Dec 2020 10:43:12 +0000 (02:43 -0800)] 
sensors-detect: Add support for NCT6687D.

Signed-off-by: David Bartley <andareed@gmail.com>
5 years agoAdd Biostar A960D+V2 config 295/head
drfiemost [Sat, 28 Nov 2020 20:09:41 +0000 (21:09 +0100)] 
Add Biostar A960D+V2 config

5 years agoImprove some more error messages 290/head
Peter Zahemszky [Sat, 14 Nov 2020 13:16:08 +0000 (13:16 +0000)] 
Improve some more error messages

5 years agoFix an error message
Peter Zahemszky [Sat, 14 Nov 2020 13:12:35 +0000 (13:12 +0000)] 
Fix an error message

5 years agoAdd sensors config file for Lenovo ThinkPad X260 278/head
Fin Christensen [Sun, 20 Sep 2020 18:52:57 +0000 (20:52 +0200)] 
Add sensors config file for Lenovo ThinkPad X260

5 years agoMerge pull request #273 from huangwei/wei/sensors-support-amd-family19h-v2
Ondřej Lysoněk [Thu, 17 Sep 2020 08:19:50 +0000 (10:19 +0200)] 
Merge pull request #273 from huangwei/wei/sensors-support-amd-family19h-v2

sensors-detect: Add support for AMD CPU Family 19h

5 years agosensors-detect: Add support for AMD CPU Family 19h 273/head
Wei Huang [Thu, 27 Aug 2020 06:11:43 +0000 (01:11 -0500)] 
sensors-detect: Add support for AMD CPU Family 19h

Enable sensors-detect support for AMD Zen3 (Family 19h) CPUs. This PCI ID
is derived from Linux kernel PCI_DEVICE_ID_AMD_19H_DF_F3.

Signed-off-by: Wei Huang <wei.huang2@amd.com>
5 years agoAdd ISA ACPI sensor driver name support
Hoan Tran [Thu, 13 Aug 2020 00:02:00 +0000 (17:02 -0700)] 
Add ISA ACPI sensor driver name support

ACPI hwmon sensor driver name has a different format such as
APMC0D29:00
APMC0D29:01
compared with DTB. This patch supports this format and gives
the correct device address as below

apm_xgene-isa-0000   => APMC0D29:00
Adapter: ISA adapter
SoC Temperature:  +35.0°C
CPU power:        11.00 W
IO power:         20.00 W

apm_xgene-isa-0001   => APMC0D29:01
Adapter: ISA adapter
SoC Temperature:  +33.0°C
CPU power:        13.00 W
IO power:         23.83 W

Signed-off-by: Hoan Tran <hoan@os.amperecomputing.com>
5 years agoMerge pull request #262 from jranke/GA-AB350-GAMING
Ondřej Lysoněk [Mon, 3 Aug 2020 13:20:41 +0000 (15:20 +0200)] 
Merge pull request #262 from jranke/GA-AB350-GAMING

Suppress signals from unknown sources for GA-AB350-GAMING

5 years agoSuppress signals from unknown sources 262/head
Johannes Ranke [Mon, 3 Aug 2020 12:48:54 +0000 (14:48 +0200)] 
Suppress signals from unknown sources

5 years agoAdd config for ASRock A300M-STX (DeskMini A300)
Daniel B [Mon, 3 Aug 2020 08:18:43 +0000 (10:18 +0200)] 
Add config for ASRock A300M-STX (DeskMini A300)

Patch by dbf <devel@bischof.org>

Applied from
https://github.com/lm-sensors/lm-sensors/pull/252

[v2] fixed fan/intrusion as suggested
[olysonek] Squashed commits, reformatted description.

5 years agoMerge pull request #251 from aaronsb/patch-1
Ondřej Lysoněk [Mon, 3 Aug 2020 07:20:32 +0000 (09:20 +0200)] 
Merge pull request #251 from aaronsb/patch-1

Config for ASRock Z390M ITX

5 years agoConfig for ASRock Z390M ITX 251/head
Aaron Bockelie [Tue, 30 Jun 2020 13:33:52 +0000 (06:33 -0700)] 
Config for ASRock Z390M ITX

This is a configuration for an ASRock Z390M ITX/ac motherboard.

5 years agoMerge pull request #223 from hannesha/master
Ondřej Lysoněk [Mon, 20 Jul 2020 08:33:41 +0000 (10:33 +0200)] 
Merge pull request #223 from hannesha/master

configs: Add MSI B450M Mortar board

5 years agoconfigs: Add MSI B450M Mortar board 223/head
Hannes Haberl [Mon, 24 Feb 2020 14:38:26 +0000 (15:38 +0100)] 
configs: Add MSI B450M Mortar board

5 years agoconfigs: Add config for ASRock Z390 Extreme4
Alex Cherkayev [Fri, 10 Jul 2020 09:29:17 +0000 (12:29 +0300)] 
configs: Add config for ASRock Z390 Extreme4

[v2] Fixed spelling and labels

Applied from https://github.com/lm-sensors/lm-sensors/pull/242

[olysonek] Edited description

5 years agoMerge pull request #248 from konomikitten/master
Ondřej Lysoněk [Mon, 29 Jun 2020 11:34:42 +0000 (13:34 +0200)] 
Merge pull request #248 from konomikitten/master

configs: Add DMI information for GA-AB350N-Gaming WIFI (rev. 1.0)

5 years agoconfigs: Add DMI information for GA-AB350N-Gaming WIFI (rev. 1.0) 248/head
Konomi [Fri, 26 Jun 2020 10:17:10 +0000 (20:17 +1000)] 
configs: Add DMI information for GA-AB350N-Gaming WIFI (rev. 1.0)

5 years agoMerge pull request #245 from gaul/thinkpad-x1-carbon
Ondřej Lysoněk [Thu, 25 Jun 2020 13:49:13 +0000 (15:49 +0200)] 
Merge pull request #245 from gaul/thinkpad-x1-carbon

Add config for Lenovo ThinkPad X1 Carbon

5 years agoAdd config for Lenovo ThinkPad X1 Carbon 245/head
Andrew Gaul [Tue, 16 Jun 2020 09:25:34 +0000 (18:25 +0900)] 
Add config for Lenovo ThinkPad X1 Carbon

5 years agoMerge pull request #237 from konomikitten/master
Ondřej Lysoněk [Thu, 25 Jun 2020 13:00:18 +0000 (15:00 +0200)] 
Merge pull request #237 from konomikitten/master

configs: Add entry for GA-AB350N-Gaming WIFI (rev. 1.0)

5 years agoMerge pull request #235 from dokutan/master
Ondřej Lysoněk [Thu, 25 Jun 2020 11:56:59 +0000 (13:56 +0200)] 
Merge pull request #235 from dokutan/master

configs: Add Gigabyte GA-H170M-D3H

5 years agoMerge pull request #226 from puneetse/fix-systemd-pidfile-warning
Ondřej Lysoněk [Thu, 25 Jun 2020 10:49:49 +0000 (12:49 +0200)] 
Merge pull request #226 from puneetse/fix-systemd-pidfile-warning

Change PIDFile path from /var/run to /run in systemd service units

5 years agoAdd config for ASRock Fatal1ty B450 Gaming-ITX/ac (#213)
Daniel B [Fri, 19 Jun 2020 09:58:22 +0000 (11:58 +0200)] 
Add config for ASRock Fatal1ty B450 Gaming-ITX/ac (#213)

Add a config for ASRock Fatal1ty B450 Gaming-ITX/ac.

v2: corrected fan settings

[olysonek] squashed commits, edited description.

5 years agosensors-detect: Move Winbond WPCD377I to the non-hwmon table
Jean Delvare [Tue, 12 May 2020 14:23:08 +0000 (16:23 +0200)] 
sensors-detect: Move Winbond WPCD377I to the non-hwmon table

Move the detection entry for the Winbond WPCD377I to the
@non_hwmon_chip_ids table, where it belongs. This saves one line, and
more importantly prevents "not-a-sensor" from being accidentally
added to the list of kernel drivers.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
5 years agosensors-detect: Fix the driver for Nuvoton W83677HG-I
Jean Delvare [Tue, 12 May 2020 14:22:06 +0000 (16:22 +0200)] 
sensors-detect: Fix the driver for Nuvoton W83677HG-I

Originally, support for the Nuvoton W83677HG-I and derivatives was
first added to the w83627ehf driver, so that's the driver recommended
by sensors-detect. Later, support for the same device was added to
the nct6775 driver. In kernel v5.6, support was removed from the
w83627ehf driver to get rid of the duplicate code.

So sensors-detect should now point users of this device to the
nct6775 driver. We can't do that for very old kernels though, as this
driver did not exist back then. I chose v3.10 for the cut-over, as
this is when support for the Nuvoton W83677HG-I was finalized in the
nct6775 driver, at least according to git log.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
5 years agoconfigs: Add entry for GA-AB350N-Gaming WIFI (rev. 1.0) 237/head
KonomiKitten [Wed, 29 Apr 2020 17:35:08 +0000 (03:35 +1000)] 
configs: Add entry for GA-AB350N-Gaming WIFI (rev. 1.0)

5 years agoconfigs: Add Gigabyte GA-H170M-D3H 235/head
dokutan [Thu, 23 Apr 2020 14:25:01 +0000 (16:25 +0200)] 
configs: Add Gigabyte GA-H170M-D3H

6 years agoChange PIDFile path from /var/run to /run 226/head
puneetse [Wed, 11 Mar 2020 16:36:51 +0000 (09:36 -0700)] 
Change PIDFile path from /var/run to /run

/var/run is considered a legacy directory by systemd 239+ and having it in unit files causes a warning to be emitted to the journal.

6 years agoCreate TUF-GAMING-X570-PLUS.conf
Artem S. Tashkinov [Fri, 21 Feb 2020 10:42:17 +0000 (11:42 +0100)] 
Create TUF-GAMING-X570-PLUS.conf

This is actually a config for TUF GAMING X570-PLUS (Wi-Fi) but I'm
quite sure these two motherboards share sensors configuration.

[olysonek: reformatted description, replaced the config with the
 version from
 https://github.com/lm-sensors/lm-sensors/pull/216#issuecomment-589585372]

6 years agoMerge pull request #205 from chris-est/master
Ondřej Lysoněk [Wed, 30 Oct 2019 08:24:18 +0000 (09:24 +0100)] 
Merge pull request #205 from chris-est/master

sensors-detect: add support for FSC Teutates Chip

6 years agosensors-detect: add support for FTS Teutates Chip 205/head
chris-est [Thu, 24 Oct 2019 17:42:34 +0000 (19:42 +0200)] 
sensors-detect: add support for FTS Teutates Chip

This patch adds support for the FTS Teutates Chip,
used on Fujitsu Mainboards for Intel Skylake and later Chipsets.
It is based on a patch from Fujitsu and was tested on a D-3446-S Mainboard.

The corresponding kernel module can be found here [1].

This is a revised version of an earlier pull request [2].

[1]: https://github.com/torvalds/linux/blob/master/drivers/hwmon/ftsteutates.c#L711
[2]: https://github.com/lm-sensors/lm-sensors/pull/9

6 years agosensors-detect: Document the --stat option in the man page
Ondřej Lysoněk [Fri, 25 Oct 2019 10:14:41 +0000 (12:14 +0200)] 
sensors-detect: Document the --stat option in the man page

6 years agoMerge pull request #177 from bacher09/p10s
Ondřej Lysoněk [Tue, 22 Oct 2019 07:54:01 +0000 (09:54 +0200)] 
Merge pull request #177 from bacher09/p10s

Add configs for ASUS MB P10S-M WS

6 years agoAdd configs for ASUS MB P10S-M WS 177/head
Slava Bacherikov [Mon, 20 May 2019 16:16:30 +0000 (19:16 +0300)] 
Add configs for ASUS MB P10S-M WS

6 years agoAppend the "+git" post-release marker to LM_VERSION
Ondřej Lysoněk [Fri, 18 Oct 2019 08:14:11 +0000 (10:14 +0200)] 
Append the "+git" post-release marker to LM_VERSION

6 years agoUpdate LM_VERSION for the 3.6.0 release V3-6-0
Ondřej Lysoněk [Thu, 17 Oct 2019 15:43:18 +0000 (17:43 +0200)] 
Update LM_VERSION for the 3.6.0 release

6 years agoUpdate lm_sensors.lsm for the 3.6.0 release
Ondřej Lysoněk [Thu, 17 Oct 2019 15:20:51 +0000 (17:20 +0200)] 
Update lm_sensors.lsm for the 3.6.0 release

6 years agoUpdate CHANGES for the 3.6.0 release
Ondřej Lysoněk [Thu, 17 Oct 2019 15:08:48 +0000 (17:08 +0200)] 
Update CHANGES for the 3.6.0 release

6 years agoRename LM_SENSORS_VER to LM_VERSION
Ondřej Lysoněk [Thu, 17 Oct 2019 14:18:23 +0000 (16:18 +0200)] 
Rename LM_SENSORS_VER to LM_VERSION

Rename LM_SENSORS_VER to LM_VERSION to match the version constant in
version.h. Also, use the "+git" suffix in the version as we are
between releases.

6 years agoReplace svn keywords with LM_SENSORS_VER constant
Ondřej Lysoněk [Thu, 17 Oct 2019 13:14:16 +0000 (15:14 +0200)] 
Replace svn keywords with LM_SENSORS_VER constant

The keywords Revision, Date and Id were being expanded by Subversion
way back when the project was being maintained in Subversion. Now when
the project is maintained in git, the keywords are no longer expanded
and appear e.g. in the output of sensors-detect literally.

Drop the keywords, or replace them with LM_SENSORS_VER where
applicable.

The value of the constant will have to be updated manually every time
a new release is made.

Inspired by a similar change in i2c-tools (commit daa430031ffd;
thanks, Jean).

6 years agosensors-detect: Fix printing CPU info on ppc and arm
Ondřej Lysoněk [Thu, 17 Oct 2019 08:07:21 +0000 (10:07 +0200)] 
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

6 years agoMerge branch 'magnuspub-master'
Ondřej Lysoněk [Tue, 15 Oct 2019 10:56:09 +0000 (12:56 +0200)] 
Merge branch 'magnuspub-master'

Merge branch with squashed commits based on
https://github.com/magnuspub/lm-sensors/tree/master

GitHub PR:
https://github.com/lm-sensors/lm-sensors/pull/174

6 years agoAdd MSI X470 GAMING PRO config
Federico Magnani [Sun, 28 Apr 2019 19:36:24 +0000 (21:36 +0200)] 
Add MSI X470 GAMING PRO config

[olysonek: squashed commits]

6 years agoMerge branch 'clipo1979-master'
Ondřej Lysoněk [Tue, 15 Oct 2019 09:59:33 +0000 (11:59 +0200)] 
Merge branch 'clipo1979-master'

Merged a fixed up branch based on
https://github.com/clipo1979/lm-sensors/tree/master

GitHub PR:
https://github.com/lm-sensors/lm-sensors/pull/170

6 years agoCreate GA-M56S-S3.conf
clipo1979 [Sat, 16 Mar 2019 20:58:14 +0000 (20:58 +0000)] 
Create GA-M56S-S3.conf

[olysonek: squashed commits]

6 years agoMerge branch 'patch-1'
Ondřej Lysoněk [Tue, 15 Oct 2019 07:58:45 +0000 (09:58 +0200)] 
Merge branch 'patch-1'

Merged a fixed up branch based on
https://github.com/merlinschumacher/lm-sensors/tree/patch-1

GitHub PR:
https://github.com/lm-sensors/lm-sensors/pull/150

6 years agoConfig for MSIs X370 SLI Plus
Merlin Schumacher [Wed, 19 Dec 2018 23:15:13 +0000 (00:15 +0100)] 
Config for MSIs X370 SLI Plus

This adds a config file for the MSI X370 SLI Plus. Similiar models may
work with derived configurations.

[olysonek: fixed up 'compute in3' statement, fixed up whitespace,
           reformatted description]

6 years agoMerge pull request #141 from karolgrudzinski/X470-ULTRA-GAMING
Ondřej Lysoněk [Tue, 15 Oct 2019 07:32:48 +0000 (09:32 +0200)] 
Merge pull request #141 from karolgrudzinski/X470-ULTRA-GAMING

configs: add support for X470 ultra gaming (WIP)

6 years agoMerge pull request #184 from bugparty/master
Ondřej Lysoněk [Tue, 15 Oct 2019 07:07:28 +0000 (09:07 +0200)] 
Merge pull request #184 from bugparty/master

add ASRock X370 Taichi config

6 years agoMerge branch 'patch-1'
Ondřej Lysoněk [Fri, 11 Oct 2019 08:14:25 +0000 (10:14 +0200)] 
Merge branch 'patch-1'

Github PR: https://github.com/lm-sensors/lm-sensors/pull/203

6 years agoBetter scaling for +12V reading
pablow1422 [Tue, 8 Oct 2019 00:03:53 +0000 (21:03 -0300)] 
Better scaling for +12V reading

Apparently, Gigabyte uses a 8kOhm and a 2.7kOhm resistor for the
voltage divider (both are commercially available SMD resistors). It
matches my BIOS reading.

Applied from PR
https://github.com/lm-sensors/lm-sensors/pull/203

[olysonek: squashed commits, updated description]

6 years agoMerge pull request #196 from HorlogeSkynet/master
Ondřej Lysoněk [Tue, 8 Oct 2019 07:13:25 +0000 (09:13 +0200)] 
Merge pull request #196 from HorlogeSkynet/master

Fixes Fahrenheit missing conversion for JSON and RAW output modes

6 years agoFixes missing Fahrenheit conversion with raw output enabled 196/head
Samuel FORESTIER [Wed, 21 Aug 2019 18:28:36 +0000 (20:28 +0200)] 
Fixes missing Fahrenheit conversion with raw output enabled

6 years agolibsensors: Prevent warning with glibc >= 2.20
Jean Delvare [Mon, 26 Aug 2019 08:10:04 +0000 (10:10 +0200)] 
libsensors: Prevent warning with glibc >= 2.20

Since glibc 2.20, the usage of _BSD_SOURCE is deprecated. Fix it like
described here:

https://sourceware.org/glibc/wiki/Release/2.20#Deprecation_of__BSD_SOURCE_and__SVID_SOURCE_feature_macros

Inspired from a similar patch by Wolfram Sang for i2c-tools.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
6 years agoFixes Fahrenheit missing conversion when data are JSON-formatted
Samuel FORESTIER [Wed, 21 Aug 2019 17:20:46 +0000 (19:20 +0200)] 
Fixes Fahrenheit missing conversion when data are JSON-formatted

6 years agoMerge pull request #192 from lucasrangit/use-toolchain-target-arch
Ondřej Lysoněk [Thu, 8 Aug 2019 14:25:16 +0000 (16:25 +0200)] 
Merge pull request #192 from lucasrangit/use-toolchain-target-arch

makefile: use compiler target arch when determining what programs to compile

6 years agomakefile: use target arch when determining what programs to compile 192/head
Lucas Magasweran [Wed, 7 Aug 2019 12:43:23 +0000 (14:43 +0200)] 
makefile: use target arch when determining what programs to compile

To better support cross-compilation, the Makefile should detect the
compiler's target architecture instead of using `uname -m`, which
returns the host architecture. This approach uses the `gcc`/`clang`
compatible `-dumpmachine` option.

Cross-compilation worked but because of this bug, `isadump` and
`isaset` x86 ISA specific tools were built for PCC and ARM.

This run-time issue became a compile-time issue when `glibc` 2.30
removed the `sys/io.h` I/O port functions on ARM.

Also renamed `MACHINE` to `ARCH` to match cross-compiler conventions
for specifying the target architecture. For example,

`make ARCH=arm CC=arm-linux-gnueabi-gcc AR=arm-linux-gnueabi-ar`

Fixes #190

Signed-off-by: Lucas Magasweran <lucas.magasweran@ieee.org>
Reported-and-tested-by: Millhouse <milhouse@libreelec.tv>
6 years agoChanged "Temp 2" label to "EC_TEMP" 141/head
Karol Grudziński [Tue, 2 Oct 2018 08:25:52 +0000 (10:25 +0200)] 
Changed "Temp 2" label to "EC_TEMP"

This motherboard supports one external temperature sensor. When there isn't
anything connected it shows very low values (e.g. -55C in my case).

Signed-off-by: Karol Grudziński <krlgrudzinski@gmail.com>
6 years agoAdded initial config for Gigabyte X470 AORUS ULTRA GAMING
Karol Grudziński [Sun, 30 Sep 2018 21:04:12 +0000 (23:04 +0200)] 
Added initial config for Gigabyte X470 AORUS ULTRA GAMING

https://www.gigabyte.com/Motherboard/X470-AORUS-ULTRA-GAMING-rev-10

This config is based on:
  - GA-AB350-GAMING3.conf
  - GA-AX370-GAMING5.conf
  - output of HWiNFO64 Sensor Status program on Windows

Signed-off-by: Karol Grudziński <krlgrudzinski@gmail.com>
6 years agoMerge pull request #189 from luca020400/master
Ondřej Lysoněk [Tue, 30 Jul 2019 09:37:54 +0000 (11:37 +0200)] 
Merge pull request #189 from luca020400/master

Add support for Nuvoton NCT6112D/NCT6114D/NCT6116D Super IO Sensors

6 years agoAdd support for Nuvoton NCT6112D/NCT6114D/NCT6116D Super IO Sensors 189/head
Luca Stefani [Mon, 29 Jul 2019 13:00:38 +0000 (15:00 +0200)] 
Add support for Nuvoton NCT6112D/NCT6114D/NCT6116D Super IO Sensors

* See https://patchwork.kernel.org/patch/11044521/#22774197 for reference

6 years agoFix coding style
Ondřej Lysoněk [Mon, 29 Jul 2019 08:38:22 +0000 (10:38 +0200)] 
Fix coding style

Let's use the kernel coding style in lm_sensors.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
6 years agoMerge pull request #180 from michalsimek/master
Ondřej Lysoněk [Mon, 29 Jul 2019 08:32:34 +0000 (10:32 +0200)] 
Merge pull request #180 from michalsimek/master

sensors: Scale voltage and current values

6 years agosensors-detect: Reorder Nuvoton chips to match the kernel ordering
Ondřej Lysoněk [Mon, 29 Jul 2019 07:57:28 +0000 (09:57 +0200)] 
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>
6 years agosensors-detect: Update devid_mask for devices supported by nct6775
Ondřej Lysoněk [Mon, 29 Jul 2019 07:42:40 +0000 (09:42 +0200)] 
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>
6 years agoMerge pull request #188 from luca020400/master
Ondřej Lysoněk [Mon, 29 Jul 2019 07:33:05 +0000 (09:33 +0200)] 
Merge pull request #188 from luca020400/master

Add new Nuvoton Super IO Sensors

6 years agoAdd support for Nuvoton NCT6798D Super IO Sensors 188/head
Luca Stefani [Thu, 25 Jul 2019 21:52:37 +0000 (23:52 +0200)] 
Add support for Nuvoton NCT6798D Super IO Sensors

6 years agoAdd support for Nuvoton NCT6797D Super IO Sensors
Luca Stefani [Thu, 25 Jul 2019 21:49:39 +0000 (23:49 +0200)] 
Add support for Nuvoton NCT6797D Super IO Sensors

6 years agosensors-detect: Add detection of AMD family 17h, model 70h
Ondřej Lysoněk [Tue, 23 Jul 2019 09:51:02 +0000 (11:51 +0200)] 
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>
6 years agoMerge pull request #181 from Leo-PL/X7DCL_fix_VTT
Ondřej Lysoněk [Fri, 5 Jul 2019 10:29:31 +0000 (12:29 +0200)] 
Merge pull request #181 from Leo-PL/X7DCL_fix_VTT

configs: fix Supermicro X7DCL VTT limits

6 years agoMerge pull request #182 from Prism019/patch-1
Ondřej Lysoněk [Fri, 5 Jul 2019 10:15:21 +0000 (12:15 +0200)] 
Merge pull request #182 from Prism019/patch-1

Add driver for Fintek F75387SG/RG to sensors-detect

6 years agoadd ASRock X370 Taichi config 184/head
bowman [Mon, 24 Jun 2019 14:30:52 +0000 (22:30 +0800)] 
add ASRock X370 Taichi config

6 years agoAdd driver for Fintek F75387SG/RG to sensors-detect 182/head
Prism Tutaj [Mon, 24 Jun 2019 06:19:25 +0000 (01:19 -0500)] 
Add driver for Fintek F75387SG/RG to sensors-detect

Support for the Fintek F75387SG/RG was added to driver f75375s back in 2013.

6 years agoconfigs: fix Supermicro X7DCL VTT limits 181/head
Lech Perczak [Sun, 23 Jun 2019 21:53:07 +0000 (23:53 +0200)] 
configs: fix Supermicro X7DCL VTT limits

According to:
"Quad-Core Intel® Xeon(R) Processor 5400 Series Electrical Specifications"
(table 2-12), FSB termination voltage of the CPUs (VTT) is 1.1V +/-5%.
Initial configuration set it to 1.2V - fix that.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
6 years agosensors: Scale voltage and current values 180/head
Michal Simek [Thu, 20 Jun 2019 11:30:35 +0000 (13:30 +0200)] 
sensors: Scale voltage and current values

scale_value is generic function for scaling values. There is a lower
resolution then json format provides for voltage and current.
The patch is calling scale_value() and showing values with higher
resolution.
For example on Xilinx ZynqMP platform:
ina226-i2c-3-41
Adapter: i2c-0-mux (chan_id 0)
in0:           2.00 mV
in1:         848.00 mV
power1:      287.50 mW
curr1:       330.00 mA

Signed-off-by: Michal Simek <monstr@monstr.eu>
6 years agosensors: json: Do not print a stray comma
Ondřej Lysoněk [Sun, 5 May 2019 09:17:45 +0000 (11:17 +0200)] 
sensors: json: Do not print a stray comma

Previously, if an error happened when reading the value of a subfeature,
subCnt would get incremented and a stray comma would get printed in the
following iteration, even though nothing was printed in the previous
iteration. This would produce a syntactically incorrect JSON.

This is based on a patch from the su8 user on GitHub.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
6 years agosensors: json: Skip printing an unnecessary newline
Ondřej Lysoněk [Sun, 5 May 2019 09:05:29 +0000 (11:05 +0200)] 
sensors: json: Skip printing an unnecessary newline

Don't print a newline if no features were printed.

This is based on a patch from the su8 user on GitHub.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
7 years agoMerge pull request #173 from hygonsoc/master
Ondřej Lysoněk [Mon, 8 Apr 2019 08:35:15 +0000 (10:35 +0200)] 
Merge pull request #173 from hygonsoc/master

sensors-detect: Add Hygon SoC driver detect support

7 years agoAdd Hygon SoC driver detect support to use k10temp driver 173/head
hygonsoc [Mon, 8 Apr 2019 03:39:11 +0000 (11:39 +0800)] 
Add Hygon SoC driver detect support to use k10temp driver

Signed-off-by: hygonsoc <hygonsoc@gmail.com>
7 years agoMerge pull request #161 from karolszklarski/master
Ondřej Lysoněk [Mon, 1 Apr 2019 10:55:03 +0000 (12:55 +0200)] 
Merge pull request #161 from karolszklarski/master

Adding AVERAGE option to fancontrol

7 years agoMerge pull request #162 from jonasmalacofilho/conf-asus-prime-z370-a
Ondřej Lysoněk [Sun, 31 Mar 2019 08:43:13 +0000 (10:43 +0200)] 
Merge pull request #162 from jonasmalacofilho/conf-asus-prime-z370-a

configs: Add ASUS PRIME Z370-A motherboard

7 years agoMerge pull request #157 from Leo-PL/X7DCL
Ondřej Lysoněk [Sun, 31 Mar 2019 08:13:02 +0000 (10:13 +0200)] 
Merge pull request #157 from Leo-PL/X7DCL

configs: add Supermicro X7DCL

7 years agoCreate GA-880GA-UD3H.conf
clipo1979 [Thu, 14 Feb 2019 22:00:24 +0000 (22:00 +0000)] 
Create GA-880GA-UD3H.conf

7 years agoconfigs: Add ASUS PRIME Z370-A motherboard 162/head
Jonas Malaco [Wed, 30 Jan 2019 04:07:31 +0000 (02:07 -0200)] 
configs: Add ASUS PRIME Z370-A motherboard

Tested with i7-8700K and two UEFI versions.

7 years agoAdding AVERAGE option to fancontrol 161/head
Karol Szklarski [Sat, 26 Jan 2019 21:12:15 +0000 (22:12 +0100)] 
Adding AVERAGE option to fancontrol

7 years agosensors-detect: Add detection of AMD Family 16h Model 30h power sensors
Ondřej Lysoněk [Wed, 23 Jan 2019 09:13:09 +0000 (10:13 +0100)] 
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>
7 years agosensors-detect: Update AMD Family 15h power sensors detection
Ondřej Lysoněk [Wed, 23 Jan 2019 09:08:41 +0000 (10:08 +0100)] 
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>
7 years agoconfigs: add Supermicro X7DCL 157/head
Lech Perczak [Fri, 11 Jan 2019 21:16:43 +0000 (22:16 +0100)] 
configs: add Supermicro X7DCL

Add configuration for Supermicro X7DCL motherboard.
Based on slightly modified setup of X7DBE from this repo.
Runtime tested on X7DCL-3 rev. 1.1a

So far there is only support for onboard sensors,
no support for PSU failure yet, nor external PMBus sensors.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
7 years agosensors-detect: Add detection of AMD Family 17h model 30h 158/head
Ondřej Lysoněk [Thu, 10 Jan 2019 14:09:24 +0000 (15:09 +0100)] 
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>
7 years agoMerge pull request #124 from lucasrangit/sensord-oneline
Ondřej Lysoněk [Sun, 30 Dec 2018 13:59:29 +0000 (14:59 +0100)] 
Merge pull request #124 from lucasrangit/sensord-oneline

sensord: add oneline sensor log output option

7 years agolm_sensors.lsm: Update the Maintained-by field
Ondřej Lysoněk [Fri, 23 Nov 2018 19:17:56 +0000 (20:17 +0100)] 
lm_sensors.lsm: Update the Maintained-by field

It's time to accept it.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
7 years agoUpdate version.h after the release
Ondřej Lysoněk [Fri, 23 Nov 2018 18:54:45 +0000 (19:54 +0100)] 
Update version.h after the release

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>