Commit Graph
5301 Commits
Author SHA1 Message Date
Hoan Tran 00a5fadd2e 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>
2020-08-20 18:28:17 +02:00
Ondřej Lysoněk 347bdf9491 Merge pull request #262 from jranke/GA-AB350-GAMING
Suppress signals from unknown sources for GA-AB350-GAMING
2020-08-03 15:20:41 +02:00
Johannes Ranke b723d268b4 Suppress signals from unknown sources 2020-08-03 14:48:54 +02:00
Daniel B 39e1bf7249 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.
2020-08-03 10:18:43 +02:00
Ondřej Lysoněk fe00873377 Merge pull request #251 from aaronsb/patch-1
Config for ASRock Z390M ITX
2020-08-03 09:20:32 +02:00
Aaron Bockelie f9fc7d0d83 Config for ASRock Z390M ITX
This is a configuration for an ASRock Z390M ITX/ac motherboard.
2020-07-31 08:16:40 -07:00
Ondřej Lysoněk 1621145d02 Merge pull request #223 from hannesha/master
configs: Add MSI B450M Mortar board
2020-07-20 10:33:41 +02:00
Hannes Haberl 2ffb7ffebc configs: Add MSI B450M Mortar board 2020-07-17 19:29:09 +02:00
Alex Cherkayev 66fd2eefbc 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
2020-07-10 11:29:17 +02:00
Ondřej Lysoněk 77e7a63086 Merge pull request #248 from konomikitten/master
configs: Add DMI information for GA-AB350N-Gaming WIFI (rev. 1.0)
2020-06-29 13:34:42 +02:00
Konomi 4e89c0e330 configs: Add DMI information for GA-AB350N-Gaming WIFI (rev. 1.0) 2020-06-26 20:17:10 +10:00
Ondřej Lysoněk 33e666167c Merge pull request #245 from gaul/thinkpad-x1-carbon
Add config for Lenovo ThinkPad X1 Carbon
2020-06-25 15:49:13 +02:00
Andrew Gaul 080b07d4e7 Add config for Lenovo ThinkPad X1 Carbon 2020-06-25 22:37:01 +09:00
Ondřej Lysoněk 3b1cd0c7f8 Merge pull request #237 from konomikitten/master
configs: Add entry for GA-AB350N-Gaming WIFI (rev. 1.0)
2020-06-25 15:00:18 +02:00
Ondřej Lysoněk af8f4a3850 Merge pull request #235 from dokutan/master
configs: Add Gigabyte GA-H170M-D3H
2020-06-25 13:56:59 +02:00
Ondřej Lysoněk 60d3c6be94 Merge pull request #226 from puneetse/fix-systemd-pidfile-warning
Change PIDFile path from /var/run to /run in systemd service units
2020-06-25 12:49:49 +02:00
Daniel B 637fcf9db6 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.
2020-06-19 11:58:22 +02:00
Jean Delvare 97b07b2d86 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>
2020-05-13 11:02:42 +02:00
Jean Delvare 23c53b4574 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>
2020-05-12 17:19:01 +02:00
KonomiKitten a1d2a35c1a configs: Add entry for GA-AB350N-Gaming WIFI (rev. 1.0) 2020-04-30 03:35:08 +10:00
dokutan e5c49b39f3 configs: Add Gigabyte GA-H170M-D3H 2020-04-23 16:25:01 +02:00
puneetse 25f4f87937 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.
2020-03-11 09:36:51 -07:00
Artem S. Tashkinov 248d4a17a5 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]
2020-02-21 11:42:17 +01:00
Ondřej Lysoněk 5066426c33 Merge pull request #205 from chris-est/master
sensors-detect: add support for FSC Teutates Chip
2019-10-30 09:24:18 +01:00
chris-est d5365edf20 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
2019-10-29 19:32:04 +01:00
Ondřej Lysoněk 6ac7554d69 sensors-detect: Document the --stat option in the man page 2019-10-25 12:16:05 +02:00
Ondřej Lysoněk 207e426d01 Merge pull request #177 from bacher09/p10s
Add configs for ASUS MB P10S-M WS
2019-10-22 09:54:01 +02:00
Slava Bacherikov 3b4e53f177 Add configs for ASUS MB P10S-M WS 2019-10-19 16:27:45 +03:00
Ondřej Lysoněk c31efbbbab Append the "+git" post-release marker to LM_VERSION 2019-10-18 10:14:11 +02:00
Ondřej Lysoněk 1667b850a1 Update LM_VERSION for the 3.6.0 release V3-6-0 2019-10-17 17:43:18 +02:00
Ondřej Lysoněk a96549f03d Update lm_sensors.lsm for the 3.6.0 release 2019-10-17 17:39:46 +02:00
Ondřej Lysoněk 1362af398e Update CHANGES for the 3.6.0 release 2019-10-17 17:08:48 +02:00
Ondřej Lysoněk f1e1a7607c 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.
2019-10-17 16:18:23 +02:00
Ondřej Lysoněk 5c900c7e85 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).
2019-10-17 15:29:58 +02:00
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
Ondřej Lysoněk 2b5e364e0a 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
2019-10-15 12:56:16 +02:00
Federico Magnani 1178783409 Add MSI X470 GAMING PRO config
[olysonek: squashed commits]
2019-10-15 12:54:47 +02:00
Ondřej Lysoněk 94a04b8829 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
2019-10-15 11:59:54 +02:00
clipo1979 24cfa4d3e2 Create GA-M56S-S3.conf
[olysonek: squashed commits]
2019-10-15 11:56:32 +02:00
Ondřej Lysoněk e78cc7e9c7 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
2019-10-15 09:59:28 +02:00
Merlin Schumacher 4d226d76cf 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]
2019-10-15 09:55:59 +02:00
Ondřej Lysoněk 735f8f9216 Merge pull request #141 from karolgrudzinski/X470-ULTRA-GAMING
configs: add support for X470 ultra gaming (WIP)
2019-10-15 09:32:48 +02:00
Ondřej Lysoněk e4083ae3a5 Merge pull request #184 from bugparty/master
add ASRock X370 Taichi config
2019-10-15 09:07:28 +02:00
Ondřej Lysoněk e9a86d67de Merge branch 'patch-1'
Github PR: https://github.com/lm-sensors/lm-sensors/pull/203
2019-10-11 10:14:25 +02:00
pablow1422 af13af759b 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]
2019-10-11 10:09:57 +02:00
Ondřej Lysoněk ec0e30ccc8 Merge pull request #196 from HorlogeSkynet/master
Fixes Fahrenheit missing conversion for JSON and RAW output modes
2019-10-08 09:13:25 +02:00
Samuel FORESTIER ab69812631 Fixes missing Fahrenheit conversion with raw output enabled 2019-10-07 19:30:11 +02:00
Jean Delvare 4ab7331755 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>
2019-09-02 13:42:00 +02:00
Samuel FORESTIER 10c4f2afdf Fixes Fahrenheit missing conversion when data are JSON-formatted 2019-08-21 19:20:46 +02:00
Ondřej Lysoněk 7478a7da14 Merge pull request #192 from lucasrangit/use-toolchain-target-arch
makefile: use compiler target arch when determining what programs to compile
2019-08-08 16:25:16 +02:00