Re: lm sensors sysfs file structure

Dominik Brodowski (linux@brodo.de)
Thu, 3 Apr 2003 20:43:42 +0200


On Thu, Apr 03, 2003 at 11:49:44AM +0100, Dave Jones wrote:
> 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.

Actually, the "ospmd" tool (available at http://acpi.sourceforge.net )
already seems to manage APM and ACPI input. Well, and speaking of ACPI and
sysfs in the same message: IMHO the /proc/acpi/ interface should be replaced
by something in /sysfs/ as well....

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