From owner-freebsd-current@FreeBSD.ORG Sat Apr 26 18:10:15 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1963037B401; Sat, 26 Apr 2003 18:10:15 -0700 (PDT) Received: from bsdone.bsdwins.com (www.bsdwins.com [192.58.184.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FFB743F93; Sat, 26 Apr 2003 18:10:14 -0700 (PDT) (envelope-from jwd@bsdwins.com) Received: from bsdone.bsdwins.com (localhost [127.0.0.1]) by bsdone.bsdwins.com (8.12.9/8.12.9) with ESMTP id h3R15PC1097035; Sat, 26 Apr 2003 21:05:25 -0400 (EDT) (envelope-from jwd@www.bsdwins.com) Received: (from jwd@localhost) by bsdone.bsdwins.com (8.12.9/8.12.9/Submit) id h3R15PRN097034; Sat, 26 Apr 2003 21:05:25 -0400 (EDT) Date: Sat, 26 Apr 2003 21:05:25 -0400 From: John To: John Wilson Message-ID: <20030427010525.GB96834@BSDWins.Com> References: <20030427004942.70787.qmail@web41802.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030427004942.70787.qmail@web41802.mail.yahoo.com> User-Agent: Mutt/1.4.1i cc: freebsd-current@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: Intel D845PEBT2 and temperature monitoring... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2003 01:10:15 -0000 Hi John, Just on an off chance.. have you tried: sysctl -a hw.acpi.thermal and checked for any output? The following little snippit taken from the -hackers mailing list awhile back may also prove informative... It's for a notebook, but you get the idea. -John #define KELVIN_TO_CELSIUS(t) ((t-2732+5)/10) #include int main() { int ret; int intbuf; size_t len; ret=sysctlbyname("hw.acpi.thermal.tz0.temperature",&intbuf,&len,NULL,0); if(ret==0) printf("tz0 temperarture: %d C\n",KELVIN_TO_CELSIUS(intbuf)); ret=sysctlbyname("hw.acpi.thermal.tz0._CRT",&intbuf,&len,NULL,0); if(ret==0) printf("tz0 crit temperarture: %d C\n",KELVIN_TO_CELSIUS(intbuf)); ret=sysctlbyname("hw.acpi.acline",&intbuf,&len,NULL,0); if(ret==0) printf("AC Line status: %s\n",intbuf?"online":"offline"); ret=sysctlbyname("hw.acpi.battery.units",&intbuf,&len,NULL,0); if(ret==0) printf("Number of battery units: %d\n",intbuf); ret=sysctlbyname("hw.acpi.battery.state",&intbuf,&len,NULL,0); if(ret==0) printf("Battery state: %d\n",intbuf); ret=sysctlbyname("hw.acpi.battery.life",&intbuf,&len,NULL,0); if(ret==0) printf("Remaining battery life: %d%%\n",intbuf); ret=sysctlbyname("hw.acpi.battery.time",&intbuf,&len,NULL,0); if(ret==0) printf("Remaining battery time: %d:%d\n",intbuf/60,intbuf%60); printf("crit: %d\n",KELVIN_TO_CELSIUS(3732)); return(0); } ----- John Wilson's Original Message ----- > Good Day, > > I've recently built a new machine utilizing > the Intel D845PEBT2 mainboard and an Intel > 2.4B Ghz P4 CPU. Everything works just great, > but I can't seem to be able to figure out how > to obtain temperature information that is > available from the temp. sensors that are > built into this mainboard. > > I am running: > > FreeBSD 5.0-CURRENT #6: Fri Apr 25 18:26:39 EST 2003 > > My understanding is that I would need > 'System Management Bus' support, but can't > seem to figure out how I would go about > obtaining this support. > > The 'dmesg' appears to find mainboard support > for this option based on the following output: > > pci0: at device 31.3 (no driver > attached) > > However, at this point, I'm sort of at a loss > of what to do. > > My understanding was that the ACPI code would > be able to obtain the temperature information, > but this would require working SMBus support, > which I'm at a loss as to how I would go > about enabling this feature. > > Any help or pointers would be greatly appreciated. > > Thank you, > John Wilson > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- -- As said by Napolean Bonaparte: "Never ascribe to malice, that which is adequately explained by incompetence" After being embraced by MS: "When accused of malice, always hide behind incompetence".