Re: lm sensors sysfs file structure

From: Mark M. Hoffman (mhoffman@lightlink.com)
Date: Thu Mar 27 2003 - 17:23:39 EST


* Greg KH <greg@kroah.com> [2003-03-27 13:53:44 -0800]:
> 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.

Hardware designers tend to count devices starting with "1". Silly them. :)

Regards,

-- 
Mark M. Hoffman
mhoffman@lightlink.com

- 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:29 EST