Commit Graph
5336 Commits
Author SHA1 Message Date
hramrach 9b1a3974bb Merge pull request 'Add support for dev_name formatted like "a000000.wifi"' (#410) from 7217043955/master into master
Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/410
2023-12-24 11:59:38 +01:00
hramrach 67898d9d9b Merge pull request 'ZSH completion for sensors and sensors-detect' (#404) from VorpalBlade/feature/zsh-completion into master
Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/404
2023-12-24 11:58:03 +01:00
hramrach 9bd98a6a5d Merge pull request 'Makefile: drop usage of 'which'' (#402) from thesamesam/which-hunt into master
Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/402
2023-12-24 11:56:57 +01:00
hramrach f6a3acb18a Merge pull request 'Add support for "inverted mode" PWM to fancontrol' (#435) from enkiusz/inverted-pwm-drive into master
Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/435
2023-12-24 11:55:45 +01:00
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
Maciej Grela 2568fc1073 Allow configurations with MINPWM > MAXPWM
These configurations would drive the PWM outputs in an "inverted mode"
where the 0 value is full fan speed and 255 stops the fan. The PWM
output adjustment algorithm works correctly in this situation.
2023-03-26 17:02:22 +02:00
lilinjie f24ed9de23 fix spelling error
Signed-off-by: lilinjie <lilinjie@uniontech.com>
2022-12-12 11:01:54 +08:00
7217043955 6da486d741 Add support for dev_name formatted like "a000000.wifi" 2022-09-06 15:48:11 +08:00
Arvid Norlander 3e82636733 ZSH completion for sensors and sensors-detect 2022-07-18 18:00:45 +02:00
Sam James ad8490240e Makefile: drop usage of 'which'
`which` is an external command which isn't required by POSIX.

Debian and other distributions (like Gentoo!) are looking
to drop it from their base set of packages.

Switch to `command -v` which should always work instead.

Signed-off-by: Sam James <sam@gentoo.org>
2022-06-27 10:22:54 +01: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