PermissionError: [Errno 1] Operation not permitted when sudo undervolt --read
Hello, i got this error with Ubuntu 22.03 when executing the command:
temperature target: -5 (95C)
Traceback (most recent call last):
File "/usr/local/bin/undervolt", line 8, in
did you find a fix for this issue?
No I'm not using Ubuntu anymore at the moment
This most likely comes from the Lockdown LSM, which prevents direct access on MSRs from userspace. Lockdown is automatically enabled with secure boot, which in turn is enabled by default on Ubuntu.
I managed to do that using this
sudo pipx run undervolt --read