Re: lm sensors sysfs file structure

Dave Jones
2003-04-03T10:38:44Z

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