Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 28 Mar 2003 00:57:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 28 Mar 2003 00:57:32 -0500 Received: from [196.41.29.142] ([196.41.29.142]:43249 "EHLO workshop.saharact.lan") by vger.kernel.org with ESMTP id ; Fri, 28 Mar 2003 00:57:28 -0500 Subject: Re: lm sensors sysfs file structure From: Martin Schlemmer To: Greg KH Cc: Jan Dittmer , KML , sensors@Stimpy.netroedge.com In-Reply-To: <20030327215344.GB1687@kroah.com> References: <1048582394.4774.7.camel@workshop.saharact.lan> <20030325175603.GG15823@kroah.com> <1048705473.7569.10.camel@nosferatu.lan> <3E82024A.4000809@portrix.net> <20030326202622.GJ24689@kroah.com> <3E82292E.536D9196@paradyne.com> <20030326225234.GA27436@kroah.com> <20030327194248.GK32667@kroah.com> <3E835FEE.3050809@portrix.net> <20030327215344.GB1687@kroah.com> Content-Type: text/plain Organization: Message-Id: <1048831530.4773.2209.camel@workshop.saharact.lan> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2- Date: 28 Mar 2003 08:05:30 +0200 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1216 Lines: 35 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/