grüß euch,
die regel schaut so aus:
ACTION=="add|change", KERNEL=="cpu0", SUBSYSTEM=="cpu" , RUN+="/bin/sh -c 'echo balance_power > /sys/devices/system/cpu/cpufreq/policy0/energy_performance_preference'"
ACTION=="add|change", KERNEL=="cpu1", SUBSYSTEM=="cpu" , RUN+="/bin/sh -c 'echo balance_power > /sys/devices/system/cpu/cpufreq/policy1/energy_performance_preference'"
ACTION=="add|change", KERNEL=="cpu2", SUBSYSTEM=="cpu" , RUN+="/bin/sh -c 'echo balance_power > /sys/devices/system/cpu/cpufreq/policy2/energy_performance_preference'"
ACTION=="add|change", KERNEL=="cpu3", SUBSYSTEM=="cpu" , RUN+="/bin/sh -c 'echo balance_power > /sys/devices/system/cpu/cpufreq/policy3/energy_performance_preference'"
ACTION=="add|change", KERNEL=="cpu4", SUBSYSTEM=="cpu" , RUN+="/bin/sh -c 'echo balance_power > /sys/devices/system/cpu/cpufreq/policy4/energy_performance_preference'"
ACTION=="add|change", KERNEL=="cpu5", SUBSYSTEM=="cpu" , RUN+="/bin/sh -c 'echo balance_power > /sys/devices/system/cpu/cpufreq/policy5/energy_performance_preference'"
ACTION=="add|change", KERNEL=="cpu6", SUBSYSTEM=="cpu" , RUN+="/bin/sh -c 'echo balance_power > /sys/devices/system/cpu/cpufreq/policy6/energy_performance_preference'"
ACTION=="add|change", KERNEL=="cpu7", SUBSYSTEM=="cpu" , RUN+="/bin/sh -c 'echo balance_power > /sys/devices/system/cpu/cpufreq/policy7/energy_performance_preference'"
aber sie ändert mir nicht das profil 🙁
╰─>$ cat /sys/devices/system/cpu/cpufreq/policy0/energy_performance_preference
performance
╰─>$ sudo echo balance_power | sudo tee /sys/devices/system/cpu/cpufreq/policy0/energy_performance_preference
balance_power
tee: /sys/devices/system/cpu/cpufreq/policy0/energy_performance_preference: Device or resource busy
hat jemand eine idee, warum Device or resource busy
? hängt das mit dem kernel zusammen?