Changeset 5338

Show
Ignore:
Timestamp:
09/21/08 17:25:39 (6 years ago)
Author:
khali
Message:

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.

Location:
lm-sensors/branches/lm-sensors-3.0.0/prog/pwm
Files:
2 added
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/prog/pwm/Module.mk

    r5163 r5338  
    2626                  $(MODULE_DIR)/pwmconfig 
    2727 
     28# The vt1211_pwm script is not installed by default, pass VT1211_PWM=1 
     29# to get it  
     30ifeq ($(VT1211_PWM),1) 
     31PROGPWMMAN8FILES += $(MODULE_DIR)/vt1211_pwm.8 
     32PROGPWMTARGETS += $(MODULE_DIR)/vt1211_pwm 
     33endif 
     34 
    2835REMOVEPWMBIN := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(SBINDIR)/%,$(PROGPWMTARGETS)) 
    2936REMOVEPWMMAN := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(PROGPWMMAN8DIR)/%,$(PROGPWMMAN8FILES))