lm sensors sysfs file structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux