[lkml]   [2003]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: lm sensors sysfs file structure
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 ?

Martin Schlemmer

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:34    [W:0.124 / U:1.568 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site