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
> Ah, and I don't want to do small corrections like 1 or 2 percent up or
> or down, but things like this for lm80:
> compute in0 (24/14.7 + 1) * @ , @ / (24/14.7 + 1)
> compute in2 (22.1/30 + 1) * @ , @ / (22.1/30 + 1)
> compute in3 (2.8/1.9) * @, @ * 1.9/2.8
> compute in4 (160/30.1 + 1) * @, @ / (160/30.1 + 1)
>
> These differ a lot. And as stated in the sensors.conf seem to be from
> the datasheet of the lm80 and not mainboard specific.

They may be mainboard specific. The formulae rely on *suggested*
resistor values, which the integrators may or may not follow. There
definitely is a need for userspace conversion. Libsensors needs to be
tunable by the user.

I don't know about the kernel conversion Jan is talking about (never
coded a sensor driver myself), so I can't talk about this half, but I'm
pretty sure you shouldn't even think of moving all conversions into
kernel space.

Mark, Phil, maybe you could explain the reasons better than I would?

--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
-
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.121 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site