Commit Graph
5328 Commits
Author SHA1 Message Date
hramrach f9be5331c8 Merge pull request 'fix spelling error' (#420) from uniontech-lilinjie/master into master
Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/420
2023-12-24 11:54:24 +01:00
hramrach 6386d4632e Merge pull request 'Fix sensors.conf syntax documentation' (#437) from Camille019/master into master
Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/437
2023-12-24 11:54:00 +01:00
hramrach c5ae3fec1e Merge pull request 'fancontrol: Executable commands as temp sensors.' (#443) from xloem/tempexec into master
Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/443
2023-12-24 11:53:24 +01:00
hramrach 5ef5910943 Merge pull request 'libsensors: support SDIO devices' (#444) from wens/libsensors-sdio into master 2023-12-24 11:51:36 +01:00
hramrach 700cc0d974 Merge pull request 'pwmconfig: change usage of 'egrep' to 'grep -E'' (#449) from Miigon/master into master 2023-12-24 11:51:04 +01:00
hramrach 65ffd97ccb Merge pull request 'Allow subfeatures to be ignored just like features' (#467) from Freddit/ignore_subfeature into master 2023-12-24 11:50:36 +01:00
Fred aa2dbf2501 Allow subfeatures to be ignored too 2023-11-06 12:29:33 -05:00
Miigon 88eeffcb50 pwmconfig: change usage of 'egrep' to 'grep -E'
GNU grep warns 'egrep' as obsolescent since grep-3.8
2023-06-14 08:36:21 +08:00
Chen-Yu Tsai c3ce1320aa libsensors: Add support for SENSORS_BUS_TYPE_SDIO
Some SDIO drivers, namely WiFi adapter drivers, include hwmon support.

Add support for parsing the device name, so they don't get treated as
platform / virtual devices.

Signed-off-by: Chen-Yu Tsai <wenst@google.com>
2023-05-08 15:03:26 +08:00
Chen-Yu Tsai e5e053bbb7 libsensors: Avoid non-symlink sysfs device entries
Devices under the MMC / SDIO bus have a "device" entry that is not a
symbolic link; instead it contains the device ID of the SDIO device.
This causes the sysfs parsing code in libsensors to error out, as it
expects all "device" entries be symbolic links to the underlying device.

Check for non-symlink entries before calling realpath() to avoid using
it as a valid device link.

Signed-off-by: Chen-Yu Tsai <wenst@google.com>
2023-05-08 14:38:41 +08:00
xloem d6dced0503 fancontrol: Executable commands as temp sensors. 2023-04-29 17:25:21 -04:00
Camille019 ecb9779243 Fix sensors.conf syntax documentation
Removes an extra third NAME in the bus syntax description to match the Bus statement documentation and implementation.
2023-04-01 17:01:14 +02:00
lilinjie f24ed9de23 fix spelling error
Signed-off-by: lilinjie <lilinjie@uniontech.com>
2022-12-12 11:01:54 +08: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
Artem Egorenkov 31d1f125d8 ThinkPad-T490s-i7.conf created 2021-01-05 19:21:16 +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
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
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