Index: /lm-sensors/branches/lm-sensors-3.0.0/prog/pwm/pwmconfig
===================================================================
--- /lm-sensors/branches/lm-sensors-3.0.0/prog/pwm/pwmconfig	(revision 5061)
+++ /lm-sensors/branches/lm-sensors-3.0.0/prog/pwm/pwmconfig	(revision 5063)
@@ -111,4 +111,19 @@
 
 # $1 = pwm file name
+function is_pwm_auto()
+{
+	if [ -n "$SYSFS" ]
+	then
+		ENABLE=${1}_enable
+		if [ -f $ENABLE -a "`cat $ENABLE`" -gt 1 ]
+		then
+			return 0
+		fi
+	fi
+
+	return 1
+}
+
+# $1 = pwm file name
 function pwmdisable()
 {
@@ -193,4 +208,18 @@
 	if [ -w $i ]
 	then
+		# First check if PWM output is in automatic mode
+		if is_pwm_auto $i
+		then
+			echo "$i is currently setup for automatic speed control."
+			echo 'In general, automatic mode is preferred over manual mode, as'
+			echo 'it is more efficient and it reacts faster. Are you sure that'
+			echo -n 'you want to setup this output for manual control? (n) '
+			read X
+			if [ "$X" = "" -o "$X" != "y" -a "$X" != "Y" ]
+			then
+				continue
+			fi
+		fi
+
 		pwmdisable $i
 		if [ $? -ne 0 ]
Index: /lm-sensors/branches/lm-sensors-3.0.0/CHANGES
===================================================================
--- /lm-sensors/branches/lm-sensors-3.0.0/CHANGES	(revision 5061)
+++ /lm-sensors/branches/lm-sensors-3.0.0/CHANGES	(revision 5063)
@@ -7,4 +7,5 @@
   pwmconfig: Really hide errors on sysfs writes
              Deal gracefully with read-only pwm_enable files
+             Warn about outputs found in automatic mode
   sensors-detect: Drop PCA9540 detection
 
