Re: Conversion of ACPI fan+thermal to hwmon sysfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2007-02-28 at 11:34 -0300, Henrique de Moraes Holschuh wrote:
> (ibm-acpi-devel removed from cc, subject changed)
> 
> On Wed, 28 Feb 2007, Zhang Rui wrote:
> > I'm converting these two modules to sysfs. I think "thermal" has too
> > much ACPI specific information and is not that easy to have a generic
> > interface.
> 
> It is not easy.  In fact, it could be quite complicated.  But when combined
> with the fan objects, it should be possible.
> 
> hwmon's idea of thermal zones are chip-specific, so the way to get ACPI to
> work with that without much changes is to think of the entire ACPI model as
> a "single chip".  This probably means ACPI fan and thermal zones need to
> cooperate to be ported to the hwmon model.
> 

On Thu, 2007-03-01 at 08:06 +0100, Jean Delvare wrote: 
> Indeed, ACPI thermal zone may have more thermal trip points than the
> hwmon interface specifies. Two of the trip points can be mapped to
> temp1_max and temp1_crit, respectively. If we want to handle them all,
> then probably we have to implement Henrique's suggestion and really
> think in terms of thermal zones, i.e. the trip points would be mapped
> to temp1_auto_point[1-*]_temp and possibly associated with a fan speed
> output.
> 

Well, ACPI thermal zones are not only a logical collection of interfaces
to temperature sensors, trip points and thermal property information,
but also take charge of thermal controls, i.e. setting platform's
cooling mode policies.
I don't know if I missed something, but from Documentation/hwmon/sysfs-
interface, I can't find any interface that make it possible.
And, porting ACPI fan and thermal zones to the hwmon model? That is
really complicated.
Add Len and Konstantin to cc list and see if they have any ideas. :)
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux