On Fri, 2008-01-04 at 11:07 +0100, Aurelien Jarno wrote: > Svante Signell a écrit : > > OK, I give up. In my opinion, then there are logic errors in some of the > > the kernel modules :-( I assume that they are creating the /sys entries. > > They should be changed, as well as the sensors.conf file, but who cares! > > They are correct. The modules in the kernel obey to the logic on the raw > value: min < input < max. min corresponds to the min register in the > chip. max corresponds to the max register in the chip.
Then there are logic errors in the mainboard register values then! As a matter of fact -12.05 is smaller than -11.95, whereas +11.95 is smaller than +12.05!! > Then you can apply a formula to match the gain and the offset of the > amplifiers/resistors on the motherboard. This formula can revert the > order, and varies from motherboard to motherboard. If you change the > order in the kernel, you will fix the order for your favorite > motherboard, but break the order for the others. That's why it has been > chosen to keep the order used by the chip. > I have been playing a little with the settings for sensors.conf for some of the boards, and there seems to be some default settings (in mainboard registers?) that can be overridden by sensors.conf, via sensors -s. If I understand you correctly, all main boards have registers for report nominal, min and max values for voltages, temperatures and fan speeds. If this is true, there is no need for a sensors.conf at all? I'm puzzled, please explain, or maybe forward this question to upstream. Thanks (I'm sending this to bug 457545 too, for completeness)

