Re: lm sensors sysfs file structure

From: Martin Schlemmer (azarah@gentoo.org)
Date: Fri Mar 28 2003 - 01:05:30 EST


On Thu, 2003-03-27 at 23:53, Greg KH wrote:
> On Thu, Mar 27, 2003 at 09:32:46PM +0100, Jan Dittmer wrote:
> > Greg KH wrote:
> >
> > >fan_min[1-3] Fan minimum value
> > >in_min[0-8] Voltage min value.
> > >pwn[1-3] Pulse width modulation fan control.
> > >temp_input[1-3] Temperature input value.
> > Why not start all these counts from 0? Is there any reason to start from
> > 1? Historical reasons or does the datasheet start the counting from 1?
>
> Hm, good point. It looks like most of the values started at 1, with the
> one exception being the voltage files "in".
>
> I don't know why it's this way, history? Perhaps someone from the
> sensors project can tell us.
>

Might be because you usually have marked on the boards fan1, fan2, etc.
Thus it should be less confusing for the user, as it is a more 1-1
mapping to the real locations. As the voltage inputs just have to be
mapped correctly, it should not bother him ?

Regards,

-- 
Martin Schlemmer

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:31 EST