[lm-sensors] [PATCH 2.6.25.4] f71882.c driver, Added PWM/FAN control.

Hans de Goede j.w.r.degoede at hhs.nl
Thu Jun 12 10:05:54 CEST 2008


Mark van Doesburg wrote:
> Hello Hans,
> 
> Your proposal sounds fine to me. I wasn't too happy with the fan?_target
> pwm? conflict either.  So I will implement the following:
> 
> 	1. Remove fan?_target.
> 	2. Add fan?_full_speed.
> 	3. Interpret pwm? as the duty cycle when in duty cycle mode.
> 	4. Scale pwm? from 0..255 to 0..fan?_full_speed when in rpm mode.
> 	5. Change the behavior of pwm?_enable not to change pwm vs. duty
> 	   cycle mode.
> 	5. Add module option to select rpm/duty cycle mode.  
> 	6. Add pwm?_auto*

Excellent! (and thanks!)

> My BIOS doesn't put a usefull value in the full speed register. There is
> also no way to set the case fan to anything but a fixed PWM value.

To bad, I guess that it doesn't use rpm mode then, if the chip doesn't put 
anything usefull in the fullspeed reg itself either I guess most BIOS'es will 
not use rpm mode, but will stick with pwm mode.

Regards,

hans




More information about the lm-sensors mailing list