原文链接:How to fix bugs in Ubuntu 20.04 LTS after installation + all necessary programs! « ITCooky Recipes
Not getting the temperature of each Ryzen core in Ubuntu
I don’t know why I decided that AMD will show the temperature of each CPU core, I’m used to seeing it on INTEL CPUs, but AMD doesn’t know how to do it! In fact, there is none of that in the BIOS, just a CPU temperature. But the problem is also that on GIGABYTE X570 I AORUS PRO WIFI motherboard the parametrs are monitored by the iTE IT8688E chip, it needs the it87 driver, it seems to be there, but it is old, and it was completely abandoned! ! I mean, on Linux, because of this chip, you can’t even get what little information there is!
That’s what we have, we putsudo apt-get install lm-sensors
Detect sensorssudo sensors-detect
and seesudo sensors
we are interested in this
?
|
And that is! k10temp is a sensor that knows the Ubuntu kernel and shows CPU temperature
But there is a way, confusing and dangerous thanks to linustechtips.com/main/topic/1095169-x570-aorus-pro-wifi-with-3900x-and-32gig-of-ram I do according to that topic!
Install what you will need to build the driversudo apt-get install build-essential dkms git
We found that driver on github, this one is not native, the native developer has retired. The git reposity has a backup address: GitHub - harri2012/it87git clone https://github.com/a1wong/it87
cd it87
Change in the file number 8686 to 8688 so that the system does not alert – there is no such devicesudo sed -i 's/8686/8688/g' ./it87.c
dosudo make dkms
If you want to remove the DKMS module and rebuild it,remove it like this
See what’s installeddkms status
?
it87, v1.0-48-g40bec4b, 5.4.0-47-generic, x86_64: installed
here we need a name and a version, we delete it
sudo dkms uninstall it87/v1.0-48-g40bec4b
you also need to delete the folderssudo rm -R /usr/src/it87-v1.0-48-g40bec4b
sudo rm -R /var/lib/dkms/it87
Also, you need to create a file for nice info descriptionsudo vi /etc/sensors.d/GA-AX570-PRO-WiFi.conf
code
?
|
Now turn on the modulesudo modprobe it87
We look at sensor datasensors
and now a new piece of information has appeared
?
|
There are all the temperatures, fan speeds and voltages!
If you has an error
?
modprobe: ERROR: could not insert
'it87'
: Device
or
resource busy
add acpi_enforce_resources=lax to
sudo vi /etc/default/grub
in this line?
GRUB_CMDLINE_LINUX_DEFAULT=
"quiet splash acpi_enforce_resources=lax"
do
sudo update-grub2
and reboot
To start after a reboot, add tosudo vi /etc/modules
line
?
|
To monitor temperatures you must installsudo apt install psensor
And we have a graph, bad but better than nothing