Error Modifying Intel Powerclamp Ratio?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












Following the Intel Powerclamp instructions (https://www.kernel.org/doc/Documentation/thermal/intel_powerclamp.txt), I tried setting the ratio using their recommended Konsole entry: sudo sh -c "echo 15 > /sys/class/thermal/cooling_device80/cur_state
"
This gave an error : sh: 1: cannot create /sys/class/thermal/cooling_device80/cur_state: Directory nonexistent



EDIT 0:
I ran the commands and got:




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/




But when I ran sudo sh -c "echo 15 > /sys/class/thermal/cooling_device0/cur_state"
I got an I/O Error.










share|improve this question



























    up vote
    1
    down vote

    favorite












    Following the Intel Powerclamp instructions (https://www.kernel.org/doc/Documentation/thermal/intel_powerclamp.txt), I tried setting the ratio using their recommended Konsole entry: sudo sh -c "echo 15 > /sys/class/thermal/cooling_device80/cur_state
    "
    This gave an error : sh: 1: cannot create /sys/class/thermal/cooling_device80/cur_state: Directory nonexistent



    EDIT 0:
    I ran the commands and got:




    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/




    But when I ran sudo sh -c "echo 15 > /sys/class/thermal/cooling_device0/cur_state"
    I got an I/O Error.










    share|improve this question

























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      Following the Intel Powerclamp instructions (https://www.kernel.org/doc/Documentation/thermal/intel_powerclamp.txt), I tried setting the ratio using their recommended Konsole entry: sudo sh -c "echo 15 > /sys/class/thermal/cooling_device80/cur_state
      "
      This gave an error : sh: 1: cannot create /sys/class/thermal/cooling_device80/cur_state: Directory nonexistent



      EDIT 0:
      I ran the commands and got:




      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/




      But when I ran sudo sh -c "echo 15 > /sys/class/thermal/cooling_device0/cur_state"
      I got an I/O Error.










      share|improve this question















      Following the Intel Powerclamp instructions (https://www.kernel.org/doc/Documentation/thermal/intel_powerclamp.txt), I tried setting the ratio using their recommended Konsole entry: sudo sh -c "echo 15 > /sys/class/thermal/cooling_device80/cur_state
      "
      This gave an error : sh: 1: cannot create /sys/class/thermal/cooling_device80/cur_state: Directory nonexistent



      EDIT 0:
      I ran the commands and got:




      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/




      But when I ran sudo sh -c "echo 15 > /sys/class/thermal/cooling_device0/cur_state"
      I got an I/O Error.







      kubuntu 17.10 konsole






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 9 at 18:50

























      asked Feb 6 at 19:09









      Sarah Szabo

      347418




      347418




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote













          The other answer is on the right track but leads to the wrong solution in my case. To track down missing files or directories use this technique:



          $ 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/


          On my system cooling devices are numbered 0 to 9. There is no number 80 which you are trying to access.



          Then to see the value of all 9 cur_state files use:



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


          Interesting to note that cooling_device8 is set to -1. I'm not sure why.






          share|improve this answer



























            up vote
            0
            down vote













            One of the directories in your path to cur_state either does not exist or has a broken symbolic link. It is most likely cooling_device80






            share|improve this answer






















              Your Answer







              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "89"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              convertImagesToLinks: true,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













               

              draft saved


              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1003653%2ferror-modifying-intel-powerclamp-ratio%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              1
              down vote













              The other answer is on the right track but leads to the wrong solution in my case. To track down missing files or directories use this technique:



              $ 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/


              On my system cooling devices are numbered 0 to 9. There is no number 80 which you are trying to access.



              Then to see the value of all 9 cur_state files use:



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


              Interesting to note that cooling_device8 is set to -1. I'm not sure why.






              share|improve this answer
























                up vote
                1
                down vote













                The other answer is on the right track but leads to the wrong solution in my case. To track down missing files or directories use this technique:



                $ 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/


                On my system cooling devices are numbered 0 to 9. There is no number 80 which you are trying to access.



                Then to see the value of all 9 cur_state files use:



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


                Interesting to note that cooling_device8 is set to -1. I'm not sure why.






                share|improve this answer






















                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  The other answer is on the right track but leads to the wrong solution in my case. To track down missing files or directories use this technique:



                  $ 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/


                  On my system cooling devices are numbered 0 to 9. There is no number 80 which you are trying to access.



                  Then to see the value of all 9 cur_state files use:



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


                  Interesting to note that cooling_device8 is set to -1. I'm not sure why.






                  share|improve this answer












                  The other answer is on the right track but leads to the wrong solution in my case. To track down missing files or directories use this technique:



                  $ 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/


                  On my system cooling devices are numbered 0 to 9. There is no number 80 which you are trying to access.



                  Then to see the value of all 9 cur_state files use:



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


                  Interesting to note that cooling_device8 is set to -1. I'm not sure why.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 7 at 11:39









                  WinEunuuchs2Unix

                  36.6k760138




                  36.6k760138






















                      up vote
                      0
                      down vote













                      One of the directories in your path to cur_state either does not exist or has a broken symbolic link. It is most likely cooling_device80






                      share|improve this answer


























                        up vote
                        0
                        down vote













                        One of the directories in your path to cur_state either does not exist or has a broken symbolic link. It is most likely cooling_device80






                        share|improve this answer
























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          One of the directories in your path to cur_state either does not exist or has a broken symbolic link. It is most likely cooling_device80






                          share|improve this answer














                          One of the directories in your path to cur_state either does not exist or has a broken symbolic link. It is most likely cooling_device80







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Feb 7 at 9:57

























                          answered Feb 7 at 5:34









                          stumblebee

                          2,3063922




                          2,3063922



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1003653%2ferror-modifying-intel-powerclamp-ratio%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Popular posts from this blog

                              How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                              Unable to upgrade pip

                              Cutting all the characters after the last /