Thermal state switching

Alexandre "Sunny" Kovalenko Alex.Kovalenko at verizon.net
Tue Feb 8 18:01:30 PST 2005


Good people,

I was looking at thermal states switching by acpi_thermal.c and it looks
like follows (provided that temperature raises and falls slowly and
gradually):

NONE =up> AC2 =up> AC1 =up> AC0 =down> NONE                       (1)

I do not know whether this was intentional or not and, for me, something
along the lines of

NONE =up> AC2 =up> AC1 =up> AC0 =down> AC1 =down> AC2 =down> NONE (2)

seemed more natural.

If (2) and not (1) was indeed the desired behavior attached patch seems
to do the job. If (1) is what was intended, I do apologize for the
noise.

I am running -CURRENT from February 3.
-- 
Alexandre "Sunny" Kovalenko (Олександр Коваленко)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: acpi_thermal.c.patch
Type: text/x-patch
Size: 622 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20050208/b26c9cb2/acpi_thermal.c.bin


More information about the freebsd-acpi mailing list