it87 icon indicating copy to clipboard operation
it87 copied to clipboard

Something is wrong with th it8625e support.

Open shamefulCake1 opened this issue 10 months ago • 15 comments

The $SUBJ chip seems to be supported, and there are a lot of mentions of it in the two patches-differences between this fork and the mainline.

However, even though the module loads successfully and find the chip:

[Mar30 22:34] it87: it87 driver version v1.0-154-gf40148e.20240306
[  +0.000316] it87: Found IT8625E chip at 0xa20, revision 12
[  +0.000056] it87: Beeping is supported

the sensors command does not query it:

>sensors
sensors
acpitz-acpi-0
Adapter: ACPI interface
temp1:        +27.8°C  
temp2:        +29.8°C  

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +38.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +37.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:        +39.0°C  (high = +100.0°C, crit = +100.0°C)

no mention of the it-8625-* anything chip.

Is there some kind of a trivial switch which should be turned on?

And I seem to be not the only one:

https://forum.manjaro.org/t/modprobe-refuses-to-load-driver/39066

shamefulCake1 avatar Mar 30 '24 15:03 shamefulCake1

@shamefulCake1 sorry, I've been busy for the last month or two and haven't been checking issues.

Anyway, I think your issue is that you has is a fairly simple issue, you are probably running into ACPI blocking loading, and you can see this in the kernel messages just following the ones above.

A quick test is to try modprobe it87 ignore_resource_conflict=1

If that works, see my comments I've just added to issue #21 for a fix on boot.

A couple of other items from the link you listed, it looks like manjaro has two separate it87 packages, and most modern chips are probably only in the package based on my repo (it87-frankcrawford-dkms-git ?). However, you do seem to have loaded, so that isn't an issue.

Secondly, unfortunately sensor-detect only detects chips that are in the official kernel, not in my repo, and that is not something I am currently chasing, as I'm trying to get the official module updated first (which is a not a simple process).

frankcrawford avatar Apr 27 '24 09:04 frankcrawford

A quick test is to try modprobe it87 ignore_resource_conflict=1

No, this does not help. Of course I tried it before. Same effect: the module loads correctly, but sensors produces no additional output (even with bogus numbers).

shamefulCake1 avatar Apr 27 '24 10:04 shamefulCake1

@shamefulCake1 can you run lsmod | grep it87 and make sure that the it87 module is loaded.

frankcrawford avatar Apr 27 '24 10:04 frankcrawford

Yes, it is loaded, and dmesg still says:

[763650.554094] it87: it87 driver version v1.0-156-gdcc0c5f.20240427
[763650.554197] it87: Found IT8625E chip at 0xa20, revision 12
[763650.554228] it87: Beeping is supported

shamefulCake1 avatar Apr 27 '24 10:04 shamefulCake1

But the check is that the module is still loaded, hence testing with lsmod.

Secondly, can you try cat /sys/class/hwmon/hwmon*/name and see what sensors the kernel thinks exist.

frankcrawford avatar Apr 27 '24 10:04 frankcrawford

BTW, what are the lines just after it87 in dmesg?

frankcrawford avatar Apr 27 '24 10:04 frankcrawford

root@pi:/etc/modprobe.d# lsmod | grep it87
it87                   73728  0
hwmon_vid              16384  1 it87
2024-04-27T18:35:27+08:00|0|.024201|
root@pi:/etc/modprobe.d# cat /sys/class/hwmon/hwmon*/name
acpitz
coretemp

shamefulCake1 avatar Apr 27 '24 10:04 shamefulCake1

What motherboard do you have, what distribution are you running?

frankcrawford avatar Apr 27 '24 10:04 frankcrawford

Intel NUC J3455, cpu Intel(R) Core(TM) i3-4012Y CPU @ 1.50GHz

Slackware 15.0

it87 from dkms, from this repo

shamefulCake1 avatar Apr 27 '24 10:04 shamefulCake1

Hmm, unusual combination. How much do you know about the hardware itself? Do you know if Intel have actually implemented the hwmon functions of the IT8625E?

SuperIO chips (of which is one) implement many hardware low-level functions in the one chip, but nothing says that they all have to be used on every board.

Does the board have an onboard fan?

frankcrawford avatar Apr 27 '24 10:04 frankcrawford

Do you know if Intel have actually implemented the hwmon functions of the IT8625E?

No, I don't.

Does the board have an onboard fan?

Well, not in stock. This was actually a problem, since this machine used to overheat to the point of hanging the it87 watchdog function. (I.e., it hang, and even the it87 watchdog, which I am sure is present, couldn't reboot it.)

This is actually why I wanted to investigate this driver, because I thought that this would let me monitor the watchdog chip's temperature instead of the cpu temperature.

The BIOS utility has the interface for the fan control, so the motherboard might actually support a fan, it's just that the device didn't have one in stock.

shamefulCake1 avatar Apr 27 '24 10:04 shamefulCake1

Can you also run sudo isadump -k 0x87,0x01,0x55,0x55 0x2e 0x2f 7 and let me see what comes up.

frankcrawford avatar Apr 27 '24 10:04 frankcrawford

isadump -k 0x87,0x01,0x55,0x55 0x2e 0x2f 7
WARNING! Running this program can cause system crashes, data loss and worse!
I will probe address register 0x2e and data register 0x2f.
Probing bank 7 using bank register 0x07.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00 00 
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
20: 86 25 0c 49 00 00 00 00 00 01 01 48 41 06 00 00 
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
60: 00 00 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 
70: 00 00 80 78 00 04 00 00 00 00 00 00 00 00 00 00 
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
90: ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
b0: 00 00 00 00 00 00 00 00 00 00 00 00 c0 03 00 00 
c0: 01 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00 
d0: 00 00 00 00 00 00 00 00 00 00 b0 44 00 00 00 00 
e0: 00 00 00 00 00 00 00 10 00 1d d1 dc 00 00 40 04 
f0: 00 00 00 00 00 00 0e 00 00 00 00 00 7c 00 00 00 

shamefulCake1 avatar Apr 27 '24 10:04 shamefulCake1

Give me some time to analyse that to see what it is reporting.

frankcrawford avatar Apr 27 '24 10:04 frankcrawford

Absolutely. If can somehow help, just tell me.

shamefulCake1 avatar Apr 27 '24 11:04 shamefulCake1