From owner-freebsd-stable Sun Jul 28 14:44:16 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C6F937B400 for ; Sun, 28 Jul 2002 14:44:12 -0700 (PDT) Received: from chi.chiquadrat.org (st7hobel.phl.univie.ac.at [131.130.49.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF7E043E3B for ; Sun, 28 Jul 2002 14:44:05 -0700 (PDT) (envelope-from randy@gnu.metameta.org) Received: from randy by chi.chiquadrat.org with local (Exim 3.35 #1 (Debian)) id 17Ywkf-0007aF-00; Mon, 29 Jul 2002 00:43:01 +0200 Date: Mon, 29 Jul 2002 00:43:01 +0200 From: randy To: =?iso-8859-1?Q?Aur=E9lien?= Nephtali Cc: stable@freebsd.org Subject: Re: Does FreeBSD like VIA chipsets ? Message-ID: <20020728224300.GB19039@gnu.metameta.org> References: <20020728154726.GA3872@nebula> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020728154726.GA3872@nebula> User-Agent: Mutt/1.3.28i X-Mailer: Mutt http://www.mutt.org/ X-Uptime: 38 days X-URL: http://www.adamstudios.com/ X-Accept-Language: en de X-Editor: Vim 6.1.018-1 http://www.vim.org/ X-Location: Europe, Austria, Vienna X-IRC: tirc 1.2-6 linz.irc.at #bsdaustria randsome Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, * Aur?lien Nephtali [2002-07-28 18:50]: > I'm trying to get temperature, fans speeds etc.. from my > motherboard, so i tryed playing with 'device' in the kernel config. > As i have a motherboard with VIA chipsets so i put the following in > the config file: > > device iicbb > device iicbus > device iicsmb > device smbus > device smb > device viapm this is exactly what i have in my kernel config aswell, should work ok! > Next boot 'viapropm' is detected. I tried playing with many utils > (xmbmon, lmmon, healthd, even tried to use cpqhealth but it's only > for linux) xmbmon (and mbmon) should work - i didn't get healthd to display correct data, but i think it only works for other chipsets or motherboards. > What is more strange is that when i touch some stuff in my kernel > config (i add 'device snp' 'pseudo-device gzip' 'pseudo-device vn' > and remove 'device usb') the 'viapropm' detection at boot disapears! > and instead there's > > isab1: at device 7.4 > on pci0 > > 0x30571106 is the chipID of VIA 82C686 power management chipsets but > it's detected as a bridge (i don't have a lot of knowledge in > hardware so i don't know if this good), here is a pciconf -lv line > about this chipset: > > isab1@pci0:7:4: class=0x060100 card=0x00000000 chip=0x30571106 > rev=0x30 hdr=0x00 > > vendor = 'VIA Technologies, Inc' > device = VT82C686A/B ACPI Power Management Controller' > class = bridge > subclass = PCI-ISA > > i don't know if this detected correctly, it's why I ask you, but if > this the case it could be the reason why every utils i tried fail. this is what dmesg says on my machine: viapropm0: SMBus I/O base at 0x400 viapropm0: port 0x400-0x40f at device 7.4 on pci0 viapropm0: SMBus revision code 0x40 smb0: on smbus0 what does your mbmon output look like? (mbmon is like xmbmon but for the command line). > In my oppinion, i think there is a way to obtain the MB (or CPU) > temprature as on a laptop when the computer is too hot, the fan goes > up; but maybe it's not directly retrievable. you're right, and it definately works - i use mbmon to get the temperature and fan speed and display it with mrtg. have you checked the advanced power management settings in your bios? so long, randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message