All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] RFC: nct6776f support in the w83627ehf and fan RPM
@ 2011-03-06 12:38 Ian Dobson
  2011-03-06 17:07 ` Guenter Roeck
                   ` (31 more replies)
  0 siblings, 32 replies; 33+ messages in thread
From: Ian Dobson @ 2011-03-06 12:38 UTC (permalink / raw)
  To: lm-sensors

Hello All,

Firstly I'd like to thank Guenter for all his work adding support for the 
nct6776f superIO chip.

During my testing of the driver on a Asus p8p67 pro motherboard and a Arctic 
cooling fan I've come across a small problem that the RPM reading is 
sometimes incorrect, usually the incorrect reading is almost double the 
expected value and is only incorrect for 2 seconds (Next actual read from 
the chip). Looking at the tacho signal from the fan with an oscilloscope  I 
can see short pulses/dropouts which cause the incorrect reading. Looking 
through the data sheet I see that the nct6776f and nct6775f both support 
de-bouncing the fan rpm signal (logical device b address 0xf0 bit 1-5 for 
nct6776f or 1-4 for nct6775f). After enabling the rpm de-bounce for the CPU 
fan I've not seen any more miss readings. I tested for 24hours and usually I 
see a incorrect reading within 10-30 minutes.

The first question is, should we offer the possibility to enable rpm 
de-bounce for chips that support it? If yes then what interface should we 
use? I can see 3 possibilities:-
1) Through sysfs fanX_debounce (0/1). I already have a patch for this and 
the diff is about 60 lines of code
2) Through a module parameter (fan_debounce=X) where X could be 0/1 for 
disable/enable for all fans or a decimal value which is the bit pattern for 
the de-bounce to enable.
3) Always enable the fan de-bounce if the chip supports it.

Note enabling de-bounce does not appear to have any negative effects.

Regards
Ian Dobson

 


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2011-03-11 17:47 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-06 12:38 [lm-sensors] RFC: nct6776f support in the w83627ehf and fan RPM Ian Dobson
2011-03-06 17:07 ` Guenter Roeck
2011-03-06 17:21 ` Ian Dobson
2011-03-06 18:47 ` Guenter Roeck
2011-03-06 19:40 ` Ian Dobson
2011-03-06 20:05 ` Guenter Roeck
2011-03-07  2:50 ` Robert Kaiser
2011-03-07  5:21 ` Guenter Roeck
2011-03-07 14:59 ` Robert Kaiser
2011-03-07 16:03 ` Guenter Roeck
2011-03-10  0:25 ` Robert Kaiser
2011-03-10  3:45 ` Guenter Roeck
2011-03-10  5:06 ` Guenter Roeck
2011-03-10  5:20 ` [lm-sensors] RFC: nct6776f support in the w83627ehf and fan Ian Dobson
2011-03-10 11:35 ` Guenter Roeck
2011-03-10 11:53 ` Guenter Roeck
2011-03-10 11:57 ` I.dobson
2011-03-10 13:10 ` I.dobson
2011-03-10 17:32 ` Guenter Roeck
2011-03-10 20:05 ` Robert Kaiser
2011-03-10 20:08 ` [lm-sensors] RFC: nct6776f support in the w83627ehf and fan RPM Robert Kaiser
2011-03-10 20:27 ` [lm-sensors] RFC: nct6776f support in the w83627ehf and fan Ian Dobson
2011-03-10 21:03 ` Robert Kaiser
2011-03-10 22:11 ` Guenter Roeck
2011-03-10 22:15 ` Guenter Roeck
2011-03-10 23:17 ` Robert Kaiser
2011-03-10 23:38 ` Guenter Roeck
2011-03-11  0:04 ` Robert Kaiser
2011-03-11  0:29 ` Guenter Roeck
2011-03-11  0:58 ` Robert Kaiser
2011-03-11  1:07 ` Guenter Roeck
2011-03-11 17:09 ` Robert Kaiser
2011-03-11 17:47 ` Guenter Roeck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.