- My laptop does not have Turbo Boost enabled by default. I need to change the value of the no_turbo file to 0 in order to enable Turbo Boost.
- So, i created a systemd service to modify this value.
- Now I am encountering a problem; set “systemctl enable my_service” and reboot. service cannot edit “no_turbo” file.
- Manually “systemctl start my_service” or directly writing to the file, all is normal.
‘’’
at enable my_service, This is the error message.
Nov 22 15:45:52 zedeun-hins sudo[593]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=0)
Nov 22 15:45:52 zedeun-hins sudo[595]: 0
Nov 22 15:45:52 zedeun-hins sudo[595]: tee: /sys/devices/system/cpu/intel_pstate/no_turbo: Operation not permitted
‘’’
my config