Re: Core temperature

看板FB_hackers作者時間18年前 (2007/08/13 14:38), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/6 (看更多)
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1543664049-1186731489=:910 Content-Type: TEXT/PLAIN; format=flowed; charset=iso-8859-15 Content-Transfer-Encoding: 8BIT On Fri, 10 Aug 2007, Dag-Erling Sm鷨grav wrote: > I've written a quick-and-dirty driver for the built-in digital > temperature sensor in Intel's Core and Core 2 CPUs (and Xeons built on > the Core architecture). The driver exports four sysctl nodes under > hw.coretemp: > > hw.coretemp.tjmax Maximum core temperature (currently hardcoded > To 100蚓, may actually be 85蚓 on some systems) > > hw.coretemp.delta current temperature in 蚓 below Tj(max) > > hw.coretemp.interrupt Lower 32 bits of the IA32_THERMAL_INTERRUPT MSR > > hw.coretemp.status Lower 32 bits of the IA32_THERMAL_STATUS MSR > > I intend to move these into dev.cpu.N in a later version. This is working for me on my C2D: sysctl hw.coretemp hw.coretemp.tjmax: 100 hw.coretemp.delta: -42 hw.coretemp.interrupt: 9954320 hw.coretemp.status: 2284454592 That temp agrees with the one reported by wmbsdbatt, for what that's worth. hth, Doug -- This .signature sanitized for your protection --0-1543664049-1186731489=:910 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" --0-1543664049-1186731489=:910--
文章代碼(AID): #16l_nz00 (FB_hackers)
文章代碼(AID): #16l_nz00 (FB_hackers)