From owner-freebsd-stable@FreeBSD.ORG Mon Feb 23 18:17:51 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 43DDA405 for ; Mon, 23 Feb 2015 18:17:51 +0000 (UTC) Received: from galore.getmail.no (galore.getmail.no [84.210.184.6]) by mx1.freebsd.org (Postfix) with ESMTP id C2209965 for ; Mon, 23 Feb 2015 18:17:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id 9AB565E20D for ; Mon, 23 Feb 2015 19:10:23 +0100 (CET) Received: from galore.getmail.no ([127.0.0.1]) by localhost (galore.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 33lSnrs_yB9g for ; Mon, 23 Feb 2015 19:10:23 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id 25D735E675 for ; Mon, 23 Feb 2015 19:10:23 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.8.4 galore.getmail.no 25D735E675 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=getmail.no; s=8A9C8B4C-D727-11E2-8095-B6466E6B3FA2; t=1424715023; bh=QE7SdL070BtdKPObwhL3vsTgENKMJIjT6L3VPbxnsHg=; h=Date:From:To:Subject:Message-Id:Mime-Version:Content-Type: Content-Transfer-Encoding; b=eXHxwy5K/HYUr0dxZrlZZdh1cJ0FmEWaLgf5G4T+45pn5IoVlwdBdQkaldB59SODm SlnoZuRA2tJp4NWiabQmrpBQiGfLLsKnXO9+AWQufFzw/uG8fmYk14cI2JPHvCSgZJ drv4xpk9wMGULdUAE3LiqKBBeZjHxuLubSjA55pc= X-Virus-Scanned: amavisd-new at galore.get.c.bitbit.net Received: from galore.getmail.no ([127.0.0.1]) by localhost (galore.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pfX_gfRgdH0r for ; Mon, 23 Feb 2015 19:10:23 +0100 (CET) Received: from kg-core1.kg4.no (cm-84.215.180.206.getinternet.no [84.215.180.206]) by galore.getmail.no (Postfix) with ESMTPSA id EE83E5E20D for ; Mon, 23 Feb 2015 19:10:22 +0100 (CET) Date: Mon, 23 Feb 2015 19:10:20 +0100 From: Torfinn Ingolfsen To: freebsd-stable@freebsd.org Subject: How to verify that aibs(4) presents correct fan values? Message-Id: <20150223191020.c4b02d0405eaa36c4cb08b6f@getmail.no> X-Mailer: Sylpheed 3.4.2 (GTK+ 2.24.25; amd64-portbld-freebsd9.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 18:17:51 -0000 Hi, How can I verify that aibs(4) is presenting the correct fan values? Background: I have several Asus motherboards that supports aibs(4). Temperature reporting works great, and corresponds with values in hardware monitor in BIOS / UEFI. Example from Asus M5A78L / USB3, bios version 1701: tingo@kg-core1$ uname -a FreeBSD kg-core1.kg4.no 9.3-STABLE FreeBSD 9.3-STABLE #0 r273918: Fri Oct 31 22:52:44 CET 2014 root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 tingo@kg-core1$ sysctl -d dev.aibs.0.temp dev.aibs.0.temp: dev.aibs.0.temp.0: CPU Temperature dev.aibs.0.temp.1: MB Temperature tingo@kg-core1$ sysctl dev.aibs.0.temp dev.aibs.0.temp.0: 52.0C 60.0C 95.0C dev.aibs.0.temp.1: 37.0C 45.0C 75.0C However, fan values seem to be just the same value report for both fans. Example from Asus M5A78L / USB3, bios version 1701 again: tingo@kg-core1$ sysctl -d dev.aibs.0.fan dev.aibs.0.fan: dev.aibs.0.fan.0: CPU FAN Speed dev.aibs.0.fan.1: CHASSIS FAN Speed tingo@kg-core1$ sysctl dev.aibs.0.fan dev.aibs.0.fan.0: 4115 600 7200 dev.aibs.0.fan.1: 4115 600 7200 this looks like aibs (wrongly) reports parameters for just one fan for both fan.0 and fan.1 If I check HW monitor in BIOS / UEFI, fan values are different from each other. Example from Asus M5A78L-M / USB3, bios version 2001: tingo@kg-core1$ uname -a FreeBSD kg-core1.kg4.no 9.3-STABLE FreeBSD 9.3-STABLE #0 r273918: Fri Oct 31 22:52:44 CET 2014 root@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 root@kg-vm# sysctl -d dev.aibs.0.fan dev.aibs.0.fan: dev.aibs.0.fan.0: CPU FAN Speed dev.aibs.0.fan.1: CHASSIS FAN Speed root@kg-vm# sysctl dev.aibs.0.fan dev.aibs.0.fan.0: 4411 600 7200 dev.aibs.0.fan.1: 4411 600 7200 The only board that appears to do the right thing is Asus V7-P7H55E, bios version 0504: root@kg-v7# uname -a FreeBSD kg-v7.kg4.no 10.1-STABLE FreeBSD 10.1-STABLE #0 r278322: Fri Feb 6 21:36:01 CET 2015 root@kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 root@kg-v7# sysctl -d dev.aibs.0.fan dev.aibs.0.fan: dev.aibs.0.fan.0: CPU FAN Speed dev.aibs.0.fan.1: CHASSIS FAN Speed dev.aibs.0.fan.2: POWER FAN Speed root@kg-v7# sysctl dev.aibs.0.fan dev.aibs.0.fan.0: 2327 600 7200 dev.aibs.0.fan.1: 0 600 7200 dev.aibs.0.fan.2: 0 600 7200 but the two last fans looks suspicious... Are there any other tools that can get this information from the motherboards? (Preferably under FreeBSD) Any hints? -- Torfinn Ingolfsen