cancel
Showing results for 
Search instead for 
Did you mean: 

linux lm_sensors it87 driver

Darth_Ender
Level 9
Looks like support is on it's way. You can clone the git repository https://github.com/groeck/it87 and build your own it87 module. Temps and rpms seem accurate on my 1800x, voltages need some calibrating.

amdgpu-pci-2900
Adapter: PCI adapter
fan1: 931 RPM
temp1: +34.0°C (crit = +0.0°C, hyst = +0.0°C)

it8665-isa-0290
Adapter: ISA adapter
in0: +0.68 V (min = +1.30 V, max = +2.41 V)
in1: +0.68 V (min = +2.55 V, max = +2.56 V)
in2: +2.03 V (min = +2.39 V, max = +1.30 V)
in3: +2.01 V (min = +2.39 V, max = +0.97 V)
in4: +0.53 V (min = +1.29 V, max = +1.71 V)
in5: +0.46 V (min = +1.30 V, max = +1.98 V)
in6: +0.91 V (min = +1.21 V, max = +1.17 V)
3VSB: +1.67 V (min = +0.60 V, max = +2.04 V)
Vbat: +1.58 V
+3.3V: +1.67 V
fan1: 978 RPM (min = 10 RPM)
fan4: 0 RPM (min = -1 RPM)
fan5: 0 RPM (min = -1 RPM)
fan6: 5487 RPM (min = -1 RPM)
temp1: +36.0°C (low = -42.0°C, high = -9.0°C) sensor = thermistor
temp2: +30.0°C (low = -1.0°C, high = -3.0°C) sensor = thermistor
temp3: +29.0°C (low = +35.0°C, high = -19.0°C) sensor = thermistor
intrusion0: ALARM
16,252 Views
5 REPLIES 5

Benoit74
Level 7
Hi Darth Ender,

I've got 1700 on a C6H and I wanted to install the new sensors on my fresh ubuntu 17.04.

I've cloned the git repo, built the module using make, and copied it in /lib/modules/4.10.0-19-generic/kernel/drivers/hwmon/it87.ko.
Ran the modprobe it87 and sensors-detect, but it still reports no sensors found 😞

Could you please let me know what you did to get the sensors to report in linux?

Thanks 🙂

Couple things. First, everything i'm mentioning below except running "sensors" should be done as root.

Did modprobe report any error ? if you run lsmod | grep it87 , does it show that the module is loaded?

If the module is loaded and running "sensors" isn't showing you output similar to what i posted, then try sensors-detect again and make sure you are scanning every option that it prompts for.

If the module is not loaded, then maybe you didn't run depmod -a before modprobe.

If you did run depmod and modprobe doesn't error out and the module is loaded and sensers doesn't show the stuff i posted after running sensors-detect (regardless of what it says) then we can look into hunting down potential errors in dmesg or finding the sysfs files the module should be creating and see if they're there.

Hi Darth Ender,

Thanks a lot for your help... you know what? I thought that I've had to had an output from sensors-detect which tells me: Yay, we've found lot of sensors for you 😉

But instead it says:
Sorry, no sensors were detected.
Either your system has no sensors, or they are not supported, or
they are connected to an I2C or SMBus adapter that is not
supported. If you find out what chips are on your board, check
http://www.lm-sensors.org/wiki/Devices for driver status.


But... I didn't run the sensors command itself :rolleyes:

Now I'm running the sensors and it gives me some output.
I don't know if that's accurate, specially cpu_fan at 0 RPM, but maybe this is the MSI GTX 1060 Gaming X, in this case the fan are actually off, so could be right.

$ sensors
asus-isa-0000
Adapter: ISA adapter
cpu_fan: 0 RPM

it8622-isa-0290
Adapter: ISA adapter
in0: +0.49 V (min = +1.57 V, max = +2.99 V)
in1: +0.74 V (min = +1.14 V, max = +2.94 V)
in2: +2.22 V (min = +3.01 V, max = +2.87 V)
in3: +2.20 V (min = +2.86 V, max = +1.52 V)
in4: +0.54 V (min = +2.87 V, max = +2.96 V)
in5: +0.50 V (min = +2.77 V, max = +2.24 V)
in6: +1.01 V (min = +2.29 V, max = +3.05 V)
3VSB: +3.65 V (min = +0.00 V, max = +1.32 V)
Vbat: +3.41 V
+3.3V: +3.65 V
fan1: 257 RPM (min = 11 RPM)
fan5: 0 RPM (min = -1 RPM) ALARM
temp1: +30.0°C (low = -49.0°C, high = -65.0°C) sensor = thermistor
temp2: +28.0°C (low = -11.0°C, high = +127.0°C) sensor = thermistor
temp3: +33.0°C (low = -17.0°C, high = -4.0°C) sensor = thermistor
intrusion0: ALARM


In the end I think it just works, thanks a lot for your help 😉

btw - do you know a nice GUI to show the sensors in ubuntu?

I've installed psensor and so far it looks good 😉
It's not like hwinfo64 on windows but that's probably good enough for now 🙂

If you know a better alternative then just let me know.
Thanks again for your help.

I use gkrellm for my sensor monitoring.

Sensors in linux (that are especially new and/or not popular) do not have auto-configured offsets and limits. You'll have to edit the lm_sensors config file manually until a time that someone updates the program. But, i wouldn't hold your breath on that as the project is in a state of near-abandonment at the moment.

Fortunately, the kernel hwmon drivers that lm_sensors uses, are still actively developed.