Date: Mon, 18 Apr 2011 06:24:55 -0700 From: David Wolfskill <david@catwhisker.org> To: current@freebsd.org Subject: Re: `hw.acpi.thermal.tz0.temperature' disappeared Message-ID: <20110418132455.GE1554@albert.catwhisker.org> In-Reply-To: <201104180805.40743.jhb@freebsd.org> References: <20110416155122.GA29309@wolfman.devio.us> <201104180805.40743.jhb@freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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@ 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@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 @ 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@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. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk2sO6YACgkQmprOCmdXAD3N1wCeLiHE9i1BCLrifaUB7IPHzAsR wJ8AnRQDxOwfazusDUplLz/OTrTVXY1m =K49E -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110418132455.GE1554>
