Re: lm sensors sysfs file structure

From: Dave Jones (davej@codemonkey.org.uk)
Date: Thu Apr 03 2003 - 05:49:44 EST


On Wed, Apr 02, 2003 at 04:28:22PM -0800, Greg KH wrote:

> > FWIW, I'm taking the same fixed-point millivolt approach with the
> > sysfs overrides for cpufreq. Having similar things in sysfs
> > exporting the same units seems to be a good idea.
>
> Hm, in looking around the kernel some more, it seems that there are a
> number of other places that export voltage and temperature values (ACPI
> being one of the most obvious.) It might be time to start thinking of a
> single userspace library to access all of these kinds of values in a
> system, instead of having to probe around different parts of the sysfs
> tree by hand...

Had occured to me too. There was talk of a libpower or the likes
mentioned on acpi-devel a year or so back, but afaik nothing really
came of it.

                Dave

-
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/



This archive was generated by hypermail 2b29 : Mon Apr 07 2003 - 22:00:19 EST