pwmconfig: Print the initial PWM values
PATCH 1/5 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.
--- prog/pwm/pwmconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
prog/pwm/pwmconfig +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
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors