Thermal Zones
Richard Hughes
hughsient at gmail.com
Sun Nov 26 08:49:56 PST 2006
On Sun, 2006-11-05 at 21:11 -0500, Stu Hood wrote:
> You're right, this needs to be partitioned more. I still think the
> thermal_zone capability is a good idea, but the temperature data could
> be made more useful if it was placed into the 'sensor' namespace. That
> way, systems with ACPI could have an abstract thermal_zone device in
> HAL with the capabilities 'thermal_zone' and 'sensor', and systems
> without ACPI could still expose temperature data for physical devices
> with the 'sensor' namespace.
>
> I've posted v2 of the spec... which moves the temperature data into
> the 'sensor' namespace so that it can be more generally useful.
>
> http://www.hoodidge.net/development/thermal_zone_v2.html
The sensor stuff looks great and ready to commit IMO. The thermal zone
stuff still isn't right - you're assuming the structure of acpi, when
really I think we need to abstract this out some more. Do you think
exposing the keys thermal_zone.temperature.trip_points.* is useful?
Richard,
More information about the hal
mailing list