Re: lm sensors sysfs file structure

Martin Schlemmer
2003-03-27T12:25:51Z

On Thu, 2003-03-27 at 14:27, Jan Dittmer wrote:

> Btw., why is temperature conversion done twice? First time in kernel
> space and then with the help of sensors.conf again in user space?
> Wouldn't it be much nicer to move this to the drivers? So there would be
> no need anymore to do this in userspace and one could rely on the values
> found in sysfs?!
>

I guess for stuff like fan_div, etc at least, is that not all the
chips are on spec, the sensors are located on different places,
and the why the manufacturer of the board did things could all
influence things. Thus you need to be able to tweak fan_dev,
etc for each board individually to get the most precise reading.

For instance, what my bios say, and what the raw reading from
/proc is, is two different things. I also had to slightly adjust
things between some models of Asus boards I had.

Regards,

--
Martin Schlemmer