Closed MajorGonzo closed 3 years ago
@MajorGonzo
Can you also show your dmesg logs?
And did you use force_load=1
?
I did not use the force_load=1. So I removed it87 module, and reloaded this one using force_load=1. This time, it did detect the temp sensors, so you're definitely on the right track. However, it did not detect the voltages or fans (compare to above):
amdgpu-pci-0800
Adapter: PCI adapter
vddgfx: 950.00 mV
fan1: 1350 RPM (min = 1000 RPM, max = 3800 RPM)
edge: +38.0°C (crit = +94.0°C, hyst = -273.1°C)
power1: 33.18 W (cap = 145.00 W)
gigabyte_wmi-virtual-0
Adapter: Virtual device
temp1: +30.0°C
temp2: +32.0°C
temp3: +36.0°C
temp4: +32.0°C
temp5: +35.0°C
temp6: +46.0°C
acpitz-acpi-0
Adapter: ACPI interface
temp1: +16.8°C (crit = +20.8°C)
temp2: +16.8°C (crit = +20.8°C)
k10temp-pci-00c3
Adapter: PCI adapter
Vcore: 925.00 mV
Vsoc: 1.09 V
Tctl: +36.8°C
Tdie: +36.8°C
Tccd1: +36.8°C
Icore: 3.00 A
Isoc: 8.25 A
nvme-pci-0100
Adapter: PCI adapter
Composite: +37.9°C (low = -0.1°C, high = +117.8°C)
(crit = +149.8°C)
This is expected, this sensor only handles temperature sensors at the moment. I'll put your board on the list of known boards.
at the moment.
Hi @t-8ch - I found your driver from your comment on https://github.com/lm-sensors/lm-sensors/issues/154#issuecomment-813655609
This works fine for temps in in 5.13, but looking to get voltages too, so I searched 'voltage' in your issues, and found your comment.
I'm just wondering what's involved in getting that into your driver/mainline, given it works after a fashion from the old it87 out-of-tree builds?
@marcosscriven This would depend on a WMI wrapper method for this sensor.
First you would need to find a WMI method by doing:
sudo cat /sys/bus/wmi/drivers/wmi-bmof/05901221-D566-11D1-B2F0-00A0C9062910/bmof| bmf2mof
where bmf2mof
comes from here: https://github.com/pali/bmfdec/
Then you would need to look at the WMI dispatcher function in the ACPI tables and figure out which parameters it takes and what values it returns.
It helps if you compare the memory locations accessed by the ACPI tables with the ones from the it87.c driver.
@t-8ch I installed and loaded the driver, but it doesn't detect the it8688 chip. Running sensors shows:
using the it87 driver (with config files) sensors show:
And here's the output you requested:
Thanks for working on this.