Zenpower is Linux kernel driver for reading temperature, voltage(SVI2), current(SVI2) and power(SVI2) for AMD Zen family CPUs.
You can install this module via dkms.
sudo apt install dkms git build-essential linux-headers-$(uname -r)
cd ~
git clone https://github.com/ocerman/zenpower.git
cd zenpower
sudo make dkms-install
Because zenpower is using same PCI device as k10temp, you have to disable k10temp first.
- Check if k10temp is active.
lsmod | grep k10temp
- Unload k10temp
sudo modprobe -r k10temp
- (optional) blacklist k10temp:
sudo bash -c 'sudo echo -e "\n# replaced with zenpower\nblacklist k10temp" >> /etc/modprobe.d/blacklist.conf'
- Activate zenpower
sudo modprobe zenpower
You can use this script: zenmonitor, or your favourie sensors monitoring software