`hw.acpi.thermal.tz0.temperature' disappeared

mdf at FreeBSD.org mdf at FreeBSD.org
Mon Apr 18 15:43:58 UTC 2011


On Mon, Apr 18, 2011 at 5:05 AM, John Baldwin <jhb at freebsd.org> wrote:
> On Saturday, April 16, 2011 11:51:22 am Nick Ulen wrote:
>> FreeBSD was successfully upgraded.
>>
>> uname -v
>> FreeBSD 9.0-CURRENT #0: Mon Apr 11 18:14:36 MSD 2011
>> root at test:/usr/obj/usr/src/sys/GENERIC
>>
>> Everything seems to be working well except
>> `hw.acpi.thermal.tz0.temperature' disappeared from the list of available
>> sysctl variables.
>>
>> sysctl hw.acpi.thermal.
>>
>> hw.acpi.thermal.min_runtime: 0
>> hw.acpi.thermal.polling_rate: 10
>> hw.acpi.thermal.user_override: 0
>> hw.acpi.thermal.tz0.active: -1
>> hw.acpi.thermal.tz0.passive_cooling: 0
>> hw.acpi.thermal.tz0.thermal_flags: 0
>> hw.acpi.thermal.tz0._PSV: -1
>> hw.acpi.thermal.tz0._HOT: -1
>> hw.acpi.thermal.tz0._CRT: 90.0C
>> hw.acpi.thermal.tz0._TC1: -1
>> hw.acpi.thermal.tz0._TC2: -1
>> hw.acpi.thermal.tz0._TSP: -1
>>
>> output from:
>>  sysctl -a |grep acpi
>> is here: https://privatepaste.com/ca08d4658b
>
> I suspect it is still there, but sysctl doesn't know how to display it
> anymore.  This is probably due to the changes with formatting of sysctl
> information.  mdf@ is probably responsible in that case.
>
>    SYSCTL_ADD_OPAQUE(&sc->tz_sysctl_ctx, SYSCTL_CHILDREN(sc->tz_sysctl_tree),
>                      OID_AUTO, "temperature", CTLFLAG_RD, &sc->tz_temperature,
>                      sizeof(sc->tz_temperature), "IK",
>                      "current thermal zone temperature");


I don't seem to have a hw.acpi.thermal sysctl node on my box.  Can
someone please try this patch?

Thanks,
matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bsd-temperature.diff
Type: text/x-patch
Size: 1786 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110418/059d01aa/bsd-temperature.bin


More information about the freebsd-current mailing list