georgewhewell / undervolt

Undervolt Intel CPUs under Linux
Other
1.55k stars 107 forks source link

PermissionError: [Errno 1] Operation not permitted when sudo undervolt --read #191

Open danielelongo14 opened 3 months ago

danielelongo14 commented 3 months ago

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 sys.exit(main()) File "/usr/local/lib/python3.10/dist-packages/undervolt.py", line 457, in main voltage = read_offset(plane, msr) File "/usr/local/lib/python3.10/dist-packages/undervolt.py", line 209, in read_offset write_msr(value_to_write, msr.addr_voltage_offsets) File "/usr/local/lib/python3.10/dist-packages/undervolt.py", line 82, in write_msr os.write(f, pack('Q', val)) PermissionError: [Errno 1] Operation not permitted

p0ll3 commented 2 months ago

did you find a fix for this issue?

danielelongo14 commented 2 months ago

No I'm not using Ubuntu anymore at the moment