Problem reading vitals from Gigabyte H77-DH3H
Andriy Gapon
avg at FreeBSD.org
Sat Oct 20 20:09:18 UTC 2012
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
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?
--
Andriy Gapon
More information about the freebsd-stable
mailing list