Erro Modificando o Intel Powerclamp Ratio?

1

Seguindo as instruções da Intel Powerclamp ( link ), tentei definir a proporção usando as recomendações recomendadas Entrada do Konsole: sudo sh -c "echo 15 > /sys/class/thermal/cooling_device80/cur_state " Isso deu um erro: sh: 1: cannot create /sys/class/thermal/cooling_device80/cur_state: Directory nonexistent

EDIT 0: Eu corri os comandos e peguei:

sarah@ConvergentRefuge:~$ ll /sys/class/thermal/cooling_device* lrwxrwxrwx 1 root root 0 Feb 9 09:01 /sys/class/thermal/cooling_device0 -> ../../devices/virtual/thermal/cooling_device0/ lrwxrwxrwx 1 root root 0 Feb 9 09:01 /sys/class/thermal/cooling_device1 -> ../../devices/virtual/thermal/cooling_device1/ lrwxrwxrwx 1 root root 0 Feb 9 09:01 /sys/class/thermal/cooling_device2 -> ../../devices/virtual/thermal/cooling_device2/ lrwxrwxrwx 1 root root 0 Feb 9 09:01 /sys/class/thermal/cooling_device3 -> ../../devices/virtual/thermal/cooling_device3/ lrwxrwxrwx 1 root root 0 Feb 9 09:01 /sys/class/thermal/cooling_device4 -> ../../devices/virtual/thermal/cooling_device4/ lrwxrwxrwx 1 root root 0 Feb 9 09:01 /sys/class/thermal/cooling_device5 -> ../../devices/virtual/thermal/cooling_device5/ lrwxrwxrwx 1 root root 0 Feb 9 09:01 /sys/class/thermal/cooling_device6 -> ../../devices/virtual/thermal/cooling_device6/ lrwxrwxrwx 1 root root 0 Feb 9 09:01 /sys/class/thermal/cooling_device7 -> ../../devices/virtual/thermal/cooling_device7/ lrwxrwxrwx 1 root root 0 Feb 9 09:01 /sys/class/thermal/cooling_device8 -> ../../devices/virtual/thermal/cooling_device8/ lrwxrwxrwx 1 root root 0 Feb 9 09:01 /sys/class/thermal/cooling_device9 -> ../../devices/virtual/thermal/cooling_device9/

Mas quando eu executei sudo sh -c "echo 15 > /sys/class/thermal/cooling_device0/cur_state" , recebi um erro de E / S.

    
por Sarah Szabo 06.02.2018 / 20:09

2 respostas

1

A outra resposta está no caminho certo, mas leva à solução errada no meu caso. Para rastrear arquivos ou diretórios ausentes, use esta técnica:

$ ll /sys/class/thermal/cooling_device*
lrwxrwxrwx 1 root root 0 Feb  7 04:33 /sys/class/thermal/cooling_device0 -> ../../devices/virtual/thermal/cooling_device0/
lrwxrwxrwx 1 root root 0 Feb  7 04:33 /sys/class/thermal/cooling_device1 -> ../../devices/virtual/thermal/cooling_device1/
lrwxrwxrwx 1 root root 0 Feb  7 04:33 /sys/class/thermal/cooling_device2 -> ../../devices/virtual/thermal/cooling_device2/
lrwxrwxrwx 1 root root 0 Feb  7 04:33 /sys/class/thermal/cooling_device3 -> ../../devices/virtual/thermal/cooling_device3/
lrwxrwxrwx 1 root root 0 Feb  7 04:33 /sys/class/thermal/cooling_device4 -> ../../devices/virtual/thermal/cooling_device4/
lrwxrwxrwx 1 root root 0 Feb  7 04:33 /sys/class/thermal/cooling_device5 -> ../../devices/virtual/thermal/cooling_device5/
lrwxrwxrwx 1 root root 0 Feb  7 04:33 /sys/class/thermal/cooling_device6 -> ../../devices/virtual/thermal/cooling_device6/
lrwxrwxrwx 1 root root 0 Feb  7 04:33 /sys/class/thermal/cooling_device7 -> ../../devices/virtual/thermal/cooling_device7/
lrwxrwxrwx 1 root root 0 Feb  7 04:33 /sys/class/thermal/cooling_device8 -> ../../devices/virtual/thermal/cooling_device8/
lrwxrwxrwx 1 root root 0 Feb  7 04:33 /sys/class/thermal/cooling_device9 -> ../../devices/virtual/thermal/cooling_device9/

No meu sistema, os dispositivos de resfriamento são numerados de 0 a 9 . Não há nenhum número 80 que você está tentando acessar.

Em seguida, para ver o valor de todos os 9% dos arquivoscur_state, use:

$ cat /sys/class/thermal/cooling_device*/cur_state
0
0
0
0
0
0
0
0
-1
0

Interessante notar que cooling_device8 está definido como -1 . Não sei porquê.

    
por WinEunuuchs2Unix 07.02.2018 / 12:39
0

Um dos diretórios em seu caminho para cur_state não existe ou possui um link simbólico quebrado. É mais provável que cooling_device80

    
por stumblebee 07.02.2018 / 06:34