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.
<br><br>I've posted v2 of the spec... which moves the temperature data into the 'sensor' namespace so that it can be more generally useful.<br><br><a href="http://www.hoodidge.net/development/thermal_zone_v2.html">http://www.hoodidge.net/development/thermal_zone_v2.html
</a><br><br>Stu Hood<br><br><br><div><span class="gmail_quote">On 11/5/06, <b class="gmail_sendername">Richard Hughes</b> <<a href="mailto:hughsient@gmail.com">hughsient@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, 2006-11-03 at 15:17 -0500, Stu Hood wrote:<br>> (from Gnome Bugzilla #347406)<br>><br>> Although data for acpi thermal zones is exposed through /proc/acpi,<br>> and potentially sysfs in the near future, it is not currently being
<br>> exposed in HAL. We'd like to rectify that...<br>> Looking through the issue some more, it became clear that the first step would<br>><br>> be to get a spec drawn up for how these new keys would be added to HAL. Here is
<br>> a first draft:<br>><br>> <a href="http://www.hoodidge.net/development/thermal_zone_v1.html">http://www.hoodidge.net/development/thermal_zone_v1.html</a><br>><br>><br>> Its seperate from the sensors namespace that you created Richard, because in
<br>> the context of ACPI, a thermal zone is an abstract device, possibly made up of<br>> many sensors on many physical devices.<br><br>Maybe we need to abstract these zones/sensors rather than having a acpi
<br>thermal zone type object which I'm guessing isn't very useful in the<br>world of solaris and freebsd.<br><br>Guys, what do you think?<br><br>Richard.<br><br><br></blockquote></div><br>