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

From: David Wolfskill <david_at_catwhisker.org>
Date: Mon, 18 Apr 2011 06:24:55 -0700
On Mon, Apr 18, 2011 at 08:05:40AM -0400, John Baldwin wrote:
> ...
> > 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_at_ 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");

That appears to agree with what I see here:

g1-222(9.0-C)[1] uname -a
FreeBSD g1-222.catwhisker.org. 9.0-CURRENT FreeBSD 9.0-CURRENT #202 r220770: Mon Apr 18 05:59:09 PDT 2011     root_at_g1-222.catwhisker.org.:/usr/obj/usr/src/sys/CANARY  i386
g1-222(9.0-C)[2] sysctl -o dev.coretemp
dev.coretemp.0.%desc: CPU On-Die Thermal Sensors
dev.coretemp.0.%driver: coretemp
dev.coretemp.0.%parent: cpu0
dev.coretemp.1.%desc: CPU On-Die Thermal Sensors
dev.coretemp.1.%driver: coretemp
dev.coretemp.1.%parent: cpu1
g1-222(9.0-C)[3] sysctl -o 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.temperature: Format:IK Length:4 Dump:0xd70c0000...
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: 107.0C
hw.acpi.thermal.tz0._ACx: Format:IK Length:40 Dump:0xffffffffffffffffffffffffffffffff...                          
hw.acpi.thermal.tz0._TC1: -1
hw.acpi.thermal.tz0._TC2: -1
hw.acpi.thermal.tz0._TSP: -1
g1-222(9.0-C)[4] 

[From dmesg...]
...
CPU: Intel(R) Core(TM)2 Duo CPU     T9600  _at_ 2.80GHz (2793.06-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x10676  Family = 6  Model = 17  Stepping = 6
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x8e3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<LAHF>
  TSC: P-state invariant, performance statistics
....

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Mon Apr 18 2011 - 11:24:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:13 UTC