Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--wchHw8dVAp53YPj8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> I suspect it is still there, but sysctl doesn't know how to display it=20
> anymore.  This is probably due to the changes with formatting of sysctl=
=20
> information.  mdf@ is probably responsible in that case.
>=20
>     SYSCTL_ADD_OPAQUE(&sc->tz_sysctl_ctx, SYSCTL_CHILDREN(sc->tz_sysctl_t=
ree),
> 		      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:0xffffffffffffffffffffff=
ffffffffff...                         =20
hw.acpi.thermal.tz0._TC1: -1
hw.acpi.thermal.tz0._TC2: -1
hw.acpi.thermal.tz0._TSP: -1
g1-222(9.0-C)[4]=20

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

Peace,
david
--=20
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.

--wchHw8dVAp53YPj8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iEYEARECAAYFAk2sO6YACgkQmprOCmdXAD3N1wCeLiHE9i1BCLrifaUB7IPHzAsR
wJ8AnRQDxOwfazusDUplLz/OTrTVXY1m
=K49E
-----END PGP SIGNATURE-----

--wchHw8dVAp53YPj8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110418132455.GE1554>