Date: Sat, 20 Jul 2013 22:32:37 -0700 From: John-Mark Gurney <jmg@funkthat.com> To: Jan Bramkamp <crest@rlwinm.de> Cc: freebsd-amd64@freebsd.org Subject: Re: amd64/180562: amdtemp and ACPI not working with motherboard ASUS M5A97 PRO Message-ID: <20130721053237.GN26412@funkthat.com> In-Reply-To: <51E41C93.7010603@rlwinm.de> References: <201307151553.r6FFr21s051018@freefall.freebsd.org> <51E41C93.7010603@rlwinm.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Jan Bramkamp wrote this message on Mon, Jul 15, 2013 at 18:00 +0200: > On 15.07.2013 17:53, linimon@FreeBSD.org wrote: > > Synopsis: amdtemp and ACPI not working with motherboard ASUS M5A97 PRO > > > > Responsible-Changed-From-To: freebsd-bugs->freebsd-amd64 > > Responsible-Changed-By: linimon > > Responsible-Changed-When: Mon Jul 15 15:52:40 UTC 2013 > > Responsible-Changed-Why: > > reclassify. > > The amdtemp driver in FreeBSD 9.1 doesn't support Bulldozer and > Piledriver temperature sensors. Support is available 10-CURRENT. > Copy sys/dev/amdtemp/amdtemp.c from 10-CURRENT and rebuild your kernel > if you want support for the CPU internal temperature sensor. This worked > for me with a FX-8350 CPU. Hmm... Doesn't work for me on my AMD A10-5700 processor which, according to wikipedia, is a piledriver... I did add my chip to the driver: Index: amdtemp.c =================================================================== --- amdtemp.c (revision 252129) +++ amdtemp.c (working copy) @@ -76,6 +76,7 @@ #define DEVICEID_AMD_MISC0F 0x1103 #define DEVICEID_AMD_MISC10 0x1203 #define DEVICEID_AMD_MISC11 0x1303 +#define DEVICEID_AMD_MISC12 0x1403 #define DEVICEID_AMD_MISC14 0x1703 #define DEVICEID_AMD_MISC15 0x1603 @@ -86,6 +87,7 @@ { VENDORID_AMD, DEVICEID_AMD_MISC0F }, { VENDORID_AMD, DEVICEID_AMD_MISC10 }, { VENDORID_AMD, DEVICEID_AMD_MISC11 }, + { VENDORID_AMD, DEVICEID_AMD_MISC12 }, { VENDORID_AMD, DEVICEID_AMD_MISC14 }, { VENDORID_AMD, DEVICEID_AMD_MISC15 }, { 0, 0 } But the results don't look correct: # sysctl -a | grep amdtemp amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb4 dev.amdtemp.0.%desc: AMD CPU On-Die Thermal Sensors dev.amdtemp.0.%driver: amdtemp dev.amdtemp.0.%parent: hostb4 dev.amdtemp.0.sensor_offset: 0 dev.amdtemp.0.core0.sensor0: 8.5C Probably that weird quirk, though the docs don't describe the issue in enough detail: Instead, it specifies the processor temperature relative to the point at which the system must supply the maximum cooling for the processor's specified maximum case temperature and maximum thermal power dissipation'' according to BIOS and Kernel Developer's Guide (BKDG) for AMD Processors, Which is what temp? The url provided is just a list of docs.. Is it at 50C that the max cooling needs to be supplied? 100C? 1000C? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130721053237.GN26412>