hramrach
7602fa5ff7
Merge pull request 'Add support for static only build' ( #254 ) from ffontaine/master into master
...
Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/254
2023-12-24 12:43:47 +01:00
hramrach
b5f7b4c7c1
Merge pull request 'Tiny cleanup' ( #361 ) from a1346054/fixes into master
...
Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/361
2023-12-24 12:41:54 +01:00
hramrach
380b953638
Merge pull request 'sensord: Add support of emergency alarm' ( #280 ) from amitcohen1/master into master
...
Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/280
2023-12-24 12:40:49 +01:00
hramrach
3ca5feb1fa
Merge pull request 'Update pwmconfig' ( #304 ) from SirYaro/patch-1 into master
...
Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/304
2023-12-24 12:38:28 +01:00
hramrach
da5ff639fb
Merge pull request 'sensors: Handle json trailing ',' when no features are listed' ( #305 ) from nathanrossi/master into master
...
Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/305
2023-12-24 12:37:30 +01:00
Michal Suchanek
c91425c121
Merge branch 'thomab/freq' of ~/gitea/data/gitea-repositories/hramrach/lm-sensors
2023-12-24 12:28:52 +01:00
hramrach
fbdf135806
Merge pull request 'sensors: Add support for rated values' ( #358 ) from cpackham-atlnz/rated-values into master
...
Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/358
2023-12-24 12:24:56 +01:00
hramrach
fb35c5b4fa
Merge pull request 'fancontrol, pwmconfig: Allow read-only pwm*_enable' ( #344 ) from amezin/master into master
...
Note: strip superfluous parentheses
2023-12-24 12:20:04 +01:00
hramrach
d13de9c532
Merge pull request 'prog/sensors: Only do conversion to Fahrenheit on temperatures' ( #359 ) from cpackham-atlnz/fahrenheit into master
...
Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/359
2023-12-24 12:07:22 +01:00
hramrach
e7ecb0b92f
Merge pull request 'Pwm' ( #363 ) from Wer-Wolf/pwm into master
...
Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/363
2023-12-24 12:06:18 +01:00
hramrach
d2c15ac572
Merge pull request 'pwmconfig: Deal with relative paths for the config file.' ( #386 ) from misieck/RelPath into master
...
Reviewed-on: http://localhost:8888/hramrach/lm-sensors/pulls/386
2023-12-24 12:00:46 +01:00
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
Michal Pomorski
9943682a80
Add quotes over path variables.
2022-02-10 02:39:26 +01:00
Michal Pomorski
5e2e1fff53
Deal with relative paths for the config file.
2022-02-10 02:20:03 +01:00
Armin Wolf
a6ec549ed6
sensors: Add support for pwm sensors
...
Add print_chip_pwm for displaying SENSORS_FEATURE_PWM.
2021-08-28 08:02:01 +02:00
Armin Wolf
109b988f1a
libsensors: Add support for pwm
...
Add support for the pwm sensor interface.
This includes support for pwm[1-*], pwm[1-*]_enable,
pwm[1-*]_mode and pwm[1-*]_freq.
2021-08-28 07:58:54 +02:00
a1346054
92e1538a19
Trim trailing whitespace
...
Making sure that none of the actual test files were touched.
2021-08-24 22:19:37 +00:00
a1346054
fe0a24357d
README: fix spelling
2021-08-24 22:17:50 +00:00
a1346054
6128b9e8eb
COPYING: use identical license file as distributed by GNU
...
License file obtained from:
https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
2021-08-24 22:09:11 +00:00
Chris Packham
488d20b783
prog/sensors: Only do conversion to Fahrenheit on temperatures
...
Only apply conversion from Celsius to Fahrenheit on temperature values.
Leave other sensor readings as they were returned.
Fixes #357
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz >
2021-08-13 17:05:28 +12:00
Chris Packham
88f6c5ec9b
sensors: Add support for rated values
...
Sysfs attributes for rated values were recently added to the kernel[1].
This adds support for displaying them in lm-sensors.
[1] - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e8e61235
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz >
2021-08-12 15:07:38 +12:00
thomb
543632712e
libsensors + sensors: Add freq_input support
2021-06-21 20:54:18 +02:00
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
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
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