Zenpower3 is a Linux kernel driver for reading temperature, voltage(SVI2), current(SVI2) and power(SVI2) for AMD Zen family CPUs, now with Zen 3 support! Email me to send patches. Looking for a new maintainer.
.gitignore | ||
dkms.conf | ||
Makefile | ||
README.md | ||
zenpower.c |
Zenpower
Zenpower is Linux kernel driver for reading temperature, voltage(SVI2), current(SVI2) and power(SVI2) for AMD Zen family CPUs.
Make sure that your Linux kernel have support for your CPUs as Zenpower is using kernel calls to read values from SMN. For AMD family 17h Model 70h (Ryzen 3000) CPUs you need kernel with this patch: https://patchwork.kernel.org/patch/11043277/
Installation
You can install this module via dkms.
Installation commands for Ubuntu
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
Module activation
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
Sensors monitoring
You can use this app: zenmonitor, or your favourie sensors monitoring software
Update instructions
- Unload zenpower
sudo modprobe -r zenpower
- Goto zenpower directory
cd ~/zenpower
- Uninstall old version
sudo make dkms-uninstall
- Update code from git
git pull
- Install new version
sudo make dkms-install
- Activate zenpower
sudo modprobe zenpower