Commit Graph
5478 Commits
Author SHA1 Message Date
Aleksandr Mezin 49b6ae283d pwmconfig, fancontrol: Allow read-only pwm*_enable
Don't fail if pwm*_enable is read-only, but already set to 1.
2021-06-18 12:12:12 +06:00
clipo1979 fbdb3ad663 Create GA-Z68AP-D3.conf 2021-05-16 20:41:58 +01:00
Soeren Grunewald d93606df94 Add config for MSI B550-A Pro
This is basically a copy of the settings from MS-7C91 aka
MSI-MAG B550 TOMAHAWK.
2021-04-14 17:57:00 +02:00
Alexander Kapshuna 81604984d0 Add config for Gigabyte B550M AORUS PRO 2021-04-08 18:34:00 +03:00
SakiiCode 404ec83966 Add Gigabyte GA-990FXA-UD7 config 2021-04-02 14:54:43 +02:00
Matt Turner a18a70e449 Add config for Gigabyte B550 Vision D 2021-02-27 05:18:48 +00:00
Artem Egorenkov 42f240d2a4 Merge pull request #313 from lm-sensors/no_sensors_flag
Flag allow-no-sensors added.
2021-02-24 16:12:40 +01:00
sibeream a0ef84f658 Flag allow-no-sensors added. 2021-02-24 15:50:14 +01:00
Benoit Istin 7b6f926503 Add MS-7C91 confiruation 2021-01-12 22:06:31 +01:00
Nathan Rossi c567724339 sensors: Handle json trailing ',' when no features are listed
The json format requires that the last entry of a dictionary does not
have a trailing ','. To avoid generating invalid json output, check that
there are features to list before emitting the trailing ','.

This issue is present when a chip exists but all its sensors are
ignored:
{
    "example-device" : {
      "Adapter": "example adapter",
    }
}

The corrected output is:
{
    "example-device" : {
      "Adapter": "example adapter"
    }
}

Signed-off-by: Nathan Rossi <nathan.rossi@digi.com>
2021-01-12 01:56:25 +00:00
Artem Egorenkov 31d1f125d8 ThinkPad-T490s-i7.conf created 2021-01-05 19:21:16 +01:00
Sir_Yaro a8d4d1eaef Update pwmconfig
If sensor doesn't return any value (in my case it happen when fan got broken - look below) whole script gets messed up. "cut" latter in the script assume there are more values in $GOODFAN then there are really and "cut -d' ' -f$count" doesn't return proper value.

root@yaro-desktop2:/sys/class/hwmon# cat hwmon0/fan1_input 
cat: hwmon0/fan1_input: Bad argument
root@yaro-desktop2:/sys/class/hwmon#
2020-12-30 20:33:26 +01:00
Artem Egorenkov 4ea3cfe698 Merge pull request #278 from fin-ger/master
Add sensors config file for Lenovo ThinkPad X260
2020-12-02 16:42:51 +01:00
Artem Egorenkov 58da103714 Merge pull request #290 from pzahemszky/2020-11-14-fancontrol
Improve some error messages of fancontrol
2020-12-02 15:50:49 +01:00
Artem Egorenkov c0a40c79d9 Merge pull request #295 from drfiemost/biostar_a960d_v2
Add Biostar A960D+V2 config
2020-12-02 14:42:07 +01:00
Artem Egorenkov 2deb087582 Merge pull request #297 from dtbartle/bartle-nct6687d
sensors-detect: Add support for NCT6687D.
2020-12-02 14:41:12 +01:00
David Bartley ac03cccaf9 sensors-detect: Add support for NCT6687D.
Signed-off-by: David Bartley <andareed@gmail.com>
2020-12-01 02:44:32 -08:00
drfiemost 1346f11638 Add Biostar A960D+V2 config 2020-11-28 21:09:41 +01:00
Peter Zahemszky af6bb037ef Improve some more error messages 2020-11-14 13:16:08 +00:00
Peter Zahemszky 1d8f9f18f9 Fix an error message 2020-11-14 13:12:35 +00:00
root 7a55c269e6 sensord: Add support of emergency alarm
Currently sensord supports temp alarm and temp max alarm.
Add support of emergency alarm to allow alerting when an
emergency alarm is signalled.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
2020-09-29 17:41:06 +03:00
Fin Christensen 483d585c9c Add sensors config file for Lenovo ThinkPad X260 2020-09-20 20:52:57 +02:00
Ondřej Lysoněk 3106d71baf Merge pull request #273 from huangwei/wei/sensors-support-amd-family19h-v2
sensors-detect: Add support for AMD CPU Family 19h
2020-09-17 10:19:50 +02:00
Wei Huang 5deee7d0c3 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>
2020-08-27 01:11:43 -05:00
Davide Depau 8663290d28 Add config for MSI X570-A Pro 2020-08-23 02:33:31 +02:00
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
Fabrice Fontaine e31cb3b2f8 Add support for static only build
This patch adds support for a BUILD_SHARED_LIB variable that allows to
enable/disable the build of the shared library, in order to support
static-only builds.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Retrieved from:
https://git.buildroot.net/buildroot/tree/package/lm-sensors/0001-static-build.patch]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2020-07-13 11:30:36 +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
clipo1979 468220837b Create GA-MA770-UD3.conf
New file for GA-MA770-UD3
2019-11-02 15:00:08 +00:00