Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2015 19:10:20 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>
To:        freebsd-stable@freebsd.org
Subject:   How to verify that aibs(4) presents correct fan values?
Message-ID:  <20150223191020.c4b02d0405eaa36c4cb08b6f@getmail.no>

next in thread | raw e-mail | index | archive | help
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 <torfinn.ingolfsen@getmail.no>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150223191020.c4b02d0405eaa36c4cb08b6f>