lkml.org 
[lkml]   [2003]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: lm sensors sysfs file structure
On Thu, Mar 27, 2003 at 07:06:08PM +0100, Jan Dittmer wrote:
> Greg KH wrote:
> >>If we're restructuring it, I think we should also agree on _one_ common
> >>denominator for all values ie. mVolt and milli-Degree Celsius, so that
> >>no userspace program ever again has know how to convert them to
> >>user-readable values and every user can just cat the values and doesn't
> >>have to wonder if it's centi-Volt, milli-Volt, centi-Degree, dezi-Degree
> >>or whatever.
> >
> >Um, that's what my proposal stated. Do you not agree with it? (You're
> >quoting the existing document above, not my proposed changes.)
>
> I just wanted to emphasis that _all_ units should be milli oder centi.
> Not mixing centiDegrees and milliVolts or one driver using milliVolt and
> another centiVolt.

I agree.

> From your description it could well be, that one driver uses centi's
> and another milli's, both for voltage or one driver uses milliVolt but
> centi-degree.

Huh? I said:

temp_max[1-3] Temperature max value.
Fixed point value in form XXXXX and should be divided by
100 to get degrees Celsius.
Read/Write value.

Where is the ability to use a different scale from different drivers in
that?

Anyway, it sounds like we are agreeing here, so I guess I'll go and
write up the whole document in the new style and post it for comments.

thanks,

greg k-h
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.107 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site