Has anyone manged to compile an it87 module which will work with a Z170X (in this case Gigabyte) motherboard using the swarm of methods that seem to be out and about?
sensors-detect:
Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family National Semiconductor/ITE'... No Trying family
SMSC’… No
Trying family VIA/Winbond/Nuvoton/Fintek'... No Trying family
ITE’… Yes
Found unknown chip with ID 0x8628
Probing for Super-I/O at 0x4e/0x4f
Trying family National Semiconductor/ITE'... No Trying family
SMSC’… No
Trying family VIA/Winbond/Nuvoton/Fintek'... No Trying family
ITE’… No
I try to modprobe using various suggestions:
modprobe -v it87
insmod /lib/modules/4.1.21-14-default/kernel/drivers/hwmon/it87.ko
modprobe: ERROR: could not insert ‘it87’: No such device
modprobe -v it87 force_id=0x8620
insmod /lib/modules/4.1.21-14-default/kernel/drivers/hwmon/it87.ko force_id=0x8620
modprobe: ERROR: could not insert ‘it87’: Device or resource busy
modprobe -v it87 force_id=0x8628
insmod /lib/modules/4.1.21-14-default/kernel/drivers/hwmon/it87.ko force_id=0x8628
modprobe: ERROR: could not insert ‘it87’: No such device
I have tried to compile a driver using what I think is soource from here:
https://github.com/groeck/it87/blob/master/it87.c
but I am not much of a programmer as my results:
gcc it87.c
it87.c:52:26: fatal error: linux/bitops.h: No such file or directory
#include <linux/bitops.h>
^
compilation terminated.
I guess I have some kind of environmental settings off.
I also acquire the psensor 1.1.5, as it is supposed to be an alternative:
./configure is OK, but make fails with:
/usr/lib64/libnvidia-glcore.so.367.27: undefined reference to nv_vasprintf_alloc' /usr/lib64/libnvidia-glcore.so.367.27: undefined reference to
nv_vasprintf_vsnprintf’
/usr/lib64/libnvidia-glcore.so.367.27: undefined reference to `nv_vasprintf_free’
collect2: error: ld returned 1 exit status
make[3]: *** [psensor] Error 1
Just updated my NVidia driver as well.
openSUSE LEAP 42.1
uname -a
Linux linux-3wjh.site 4.1.21-14-default #1 SMP PREEMPT Sun Apr 17 07:27:45 UTC 2016 (fc187c1) x86_64 x86_64 x86_64 GNU/Linux
Thanks for any direction…