Add a script that provides manual control of the vt1211 PWM outputs.

This script puts the vt1211 in automatic PWM mode and fools the chip
into believing that there is a temp change to force the PWM outputs to
specified values. This is necessary since the standard manual mode of
the vt1211 doesn't seem to work.
Patch from Juerg Haeflinger.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5338 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2008-09-21 15:25:39 +00:00
1 parent f1c80ef5aa
commit 118a102198
3 files changed
+238

No files matched your search

+7
View File
@@ -25,6 +25,13 @@ PROGPWMMAN8FILES := $(MODULE_DIR)/fancontrol.8 $(MODULE_DIR)/pwmconfig.8
PROGPWMTARGETS := $(MODULE_DIR)/fancontrol \
$(MODULE_DIR)/pwmconfig
# The vt1211_pwm script is not installed by default, pass VT1211_PWM=1
# to get it
ifeq ($(VT1211_PWM),1)
PROGPWMMAN8FILES += $(MODULE_DIR)/vt1211_pwm.8
PROGPWMTARGETS += $(MODULE_DIR)/vt1211_pwm
endif
REMOVEPWMBIN := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(SBINDIR)/%,$(PROGPWMTARGETS))
REMOVEPWMMAN := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(PROGPWMMAN8DIR)/%,$(PROGPWMMAN8FILES))