From owner-freebsd-stable@FreeBSD.ORG Sat Oct 20 21:17:03 2012 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A812B12F; Sat, 20 Oct 2012 21:17:03 +0000 (UTC) (envelope-from takeda@takeda.tk) Received: from chinatsu.takeda.tk (mail.takeda.tk [74.0.89.210]) by mx1.freebsd.org (Postfix) with ESMTP id 553578FC0A; Sat, 20 Oct 2012 21:17:03 +0000 (UTC) Received: from takeda-ws.lan (takeda-ws.lan [10.0.0.3]) (authenticated bits=0) by chinatsu.takeda.tk (8.14.5/8.14.5) with ESMTP id q9KLH2eU065911 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Sat, 20 Oct 2012 14:17:02 -0700 (PDT) (envelope-from takeda@takeda.tk) Date: Sat, 20 Oct 2012 14:17:00 -0700 From: Derek Kulinski X-Priority: 3 (Normal) Message-ID: <1183222788.20121020141700@takeda.tk> To: Andriy Gapon Subject: Re: Problem reading vitals from Gigabyte H77-DH3H In-Reply-To: <508304E6.6020202@FreeBSD.org> References: <1286515493.20121017131543@takeda.tk> <507F1761.1010202@FreeBSD.org> <20121017205147.GB36106@chinatsu.takeda.tk> <5081552F.2050303@FreeBSD.org> <771658188.20121019205010@takeda.tk> <508254AF.7040709@FreeBSD.org> <994545137.20121020010809@takeda.tk> <50826040.6010106@FreeBSD.org> <55342693.20121020103732@takeda.tk> <5082EEC8.2080307@FreeBSD.org> <198684285.20121020122034@takeda.tk> <5082FEA8.3050600@FreeBSD.org> <508304E6.6020202@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: freebsd-stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2012 21:17:03 -0000 Hello Andriy, Saturday, October 20, 2012, 1:09:10 PM, you wrote: > on 20/10/2012 22:42 Andriy Gapon said the following: >> on 20/10/2012 22:20 Derek Kulinski said the following: >>> I have three questions though: >>> 1. The motherboard has 4 fan sockets (as far as I can tell), CPU_FAN, >>> and SYS_FAN[1-3]. SYS_FAN1 currently is not connected. >>> Seems like: >>> fan0 -> CPU_FAN (did not try to disconnect it to check :) >>> fan1 -> SYS_FAN1 >>> fan2 -> SYS_FAN2 >>> There is no entry for SYS_FAN3. I disconnected it temporarily but >>> it did not seem to affect the output. Is it possible to get that >>> information from the motherboard? >> >> The driver would have to be updated for that. >> Unfortunately ITE does not provide public datasheets. >> We could pick up some new bits from the Linux driver though. >> http://lxr.linux.no/#linux+v3.6.2/drivers/hwmon/it87.c > In fact, here is a completely untested patch: > http://people.freebsd.org/~avg/it-fans-0x80.diff hw.sensors.it0.fan0: 997 RPM hw.sensors.it0.fan1: invalid hw.sensors.it0.fan2: 1352 RPM hw.sensors.it0.fan3: 1222 RPM hw.sensors.it0.fan4: invalid hw.sensors.it0.volt0: 2,70 VDC (VCORE_A) hw.sensors.it0.volt1: 4,60 VDC (VCORE_B) hw.sensors.it0.volt2: 0,06 VDC (+3.3V) hw.sensors.it0.volt3: -5,08 VDC (+5V) hw.sensors.it0.volt4: -6,53 VDC (+12V) hw.sensors.it0.volt5: 3,74 VDC (Unused) hw.sensors.it0.volt6: 2,14 VDC (-12V) hw.sensors.it0.volt7: 301,15 VDC (+5VSB) hw.sensors.it0.volt8: 298,15 VDC (VBAT) hw.sensors.it0.temp0: 22,00 degC hw.sensors.it0.temp1: -273,15 degC hw.sensors.it0.temp2: -273,15 degC Looks like the 3rd fan is visible. BTW: The value invalid shows when it is unplugged, wouldn't value "0 RPM" make more sense in that case? At least that's what BIOS reports for unplugged fans. Looks like the the temperatures are messed up. Looks like 2 last voltage values is the temperature. > P.S. Just to satisfy my curiosity - could you please add a printf in it_attach > that would print the value read from ITD_COREID? Here it is the output (as decimal): Oct 20 14:08:04 chinatsu kernel: it0 at port 0xa30-0xa37 on isa0 Oct 20 14:08:04 chinatsu kernel: it0: ITD_COREID = 18 As for using Linux CD I can't do it immediatelly, the box does not have cdrom, besides I don't have any image lying around. Any recommendation for something that I could boot from USB and would be able to provide everything you need? -- Best regards, Derek mailto:takeda@takeda.tk The meta-Turing test counts a thing as intelligent if it seeks to apply Turing tests to objects of its own creation.