Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .