[lm-sensors] it87.c fan_div patch

anton socialhacker at socialhacker.com
Mon Nov 21 10:36:18 CET 2005


	Oops, that should have read "This was causing the if to never
fail..."  :)

	-Anton

On Mon, 21 Nov 2005, anton wrote:

> 
> 	Hi, I just got lm_sensors (v2.9.2) up and running on my Shuttle
> (SN41G) and am loving it.  In setting things up I found what I think is a
> bug in the it87_fan_div setting code.  I've included a patch vs. TOT
> CVS.  What was happening was that the check to make sure the third fan's
> divisor was either 2 or 8 was using the wrong member of the it87 data
> structure.  This was causing the if to always fail and thus always force
> the divisor to 2.
> 
> 	Let me know what you think.
> 
> 	Thanks again,
> 		Anton V. Staaf (http://www.socialhacker.com/)
> 





More information about the lm-sensors mailing list