I m looking to make a udev rule that will basically do:

echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo

In order to disable the turbo, how can I do it ? I've never made udev rule and I am a bit scared to start with the CPU but I need to disable it.

  • I would like to know this as well... I can investigate.. – Pwnna Nov 22 '13 at 21:04

The following rule worked on my machine, placed in /etc/udev/rules.d/50-cpu-custom.rules:

KERNEL=="cpu",RUN+="/bin/sh -c 'echo -n 1 > /sys/devices/system/cpu/intel_pstate/no_turbo'"

It was the only form that appeared to work. ATTR assignments had no effect or caused errors in /var/log/messages, and could not match anything more specific.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.