mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-01 05:52:41 +07:00
pwmconfig: Print the initial PWM values
Print the initial PWM values before letting the user change them. This should be useful to better understand what happens next, and for user support in general.
This commit is contained in:
@@ -4,6 +4,7 @@ lm-sensors CHANGES file
|
||||
SVN HEAD
|
||||
sensors.conf.5: Mention "sensors -u" to get the raw feature names
|
||||
sensors: Clarify what option -u is good for
|
||||
pwmconfig: Print the initial PWM values
|
||||
sensors-detect: Add detection of AMD family 16h power sensors
|
||||
Map IT8771E, IT8772E, IT8782F and IT8783F to it87
|
||||
Use /sys/module instead of /proc/modules where available
|
||||
|
||||
+2
-1
@@ -236,7 +236,8 @@ echo
|
||||
echo 'Found the following PWM controls:'
|
||||
for i in $PWM
|
||||
do
|
||||
echo " $i"
|
||||
P=`cat $i`
|
||||
echo " $i current value: $P"
|
||||
if [ -w $i ]
|
||||
then
|
||||
# First check if PWM output is in automatic mode
|
||||
|
||||
Reference in New Issue
Block a user