How to add sensors and cooling devices to thermal-conf.xml











up vote
3
down vote

favorite












I have a Toshiba NB510-108 netbook with Xubuntu 14.10 installed. Under Windows 7 Starter, temperature sensors show values up to 45 degrees Celsius. Under Xubuntu, they show values up to 55 degrees.
I would like to use thermald to keep the temperature at 38 degrees.



My thermal-conf.xml file only contains one sensor of type TSKN and two cooling devices of types rapl_controller and intel_powerclamp.



sensors -u shows this



    user@user-TOSHIBA-NB510:~$ sensors -u
acpitz-virtual-0
Adapter: Virtual device
temp1:
temp1_input: 42.000
temp1_crit: 110.000

coretemp-isa-0000
Adapter: ISA adapter
Core 0:
temp2_input: 43.000
temp2_crit: 100.000
temp2_crit_alarm: 0.000
Core 1:
temp3_input: 43.000
temp3_crit: 100.000
temp3_crit_alarm: 0.000


Can anybody please tell me how to add the above sensors to thermal-conf.xml, and maybe also how to locate and add other cooling devices?










share|improve this question


























    up vote
    3
    down vote

    favorite












    I have a Toshiba NB510-108 netbook with Xubuntu 14.10 installed. Under Windows 7 Starter, temperature sensors show values up to 45 degrees Celsius. Under Xubuntu, they show values up to 55 degrees.
    I would like to use thermald to keep the temperature at 38 degrees.



    My thermal-conf.xml file only contains one sensor of type TSKN and two cooling devices of types rapl_controller and intel_powerclamp.



    sensors -u shows this



        user@user-TOSHIBA-NB510:~$ sensors -u
    acpitz-virtual-0
    Adapter: Virtual device
    temp1:
    temp1_input: 42.000
    temp1_crit: 110.000

    coretemp-isa-0000
    Adapter: ISA adapter
    Core 0:
    temp2_input: 43.000
    temp2_crit: 100.000
    temp2_crit_alarm: 0.000
    Core 1:
    temp3_input: 43.000
    temp3_crit: 100.000
    temp3_crit_alarm: 0.000


    Can anybody please tell me how to add the above sensors to thermal-conf.xml, and maybe also how to locate and add other cooling devices?










    share|improve this question
























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      I have a Toshiba NB510-108 netbook with Xubuntu 14.10 installed. Under Windows 7 Starter, temperature sensors show values up to 45 degrees Celsius. Under Xubuntu, they show values up to 55 degrees.
      I would like to use thermald to keep the temperature at 38 degrees.



      My thermal-conf.xml file only contains one sensor of type TSKN and two cooling devices of types rapl_controller and intel_powerclamp.



      sensors -u shows this



          user@user-TOSHIBA-NB510:~$ sensors -u
      acpitz-virtual-0
      Adapter: Virtual device
      temp1:
      temp1_input: 42.000
      temp1_crit: 110.000

      coretemp-isa-0000
      Adapter: ISA adapter
      Core 0:
      temp2_input: 43.000
      temp2_crit: 100.000
      temp2_crit_alarm: 0.000
      Core 1:
      temp3_input: 43.000
      temp3_crit: 100.000
      temp3_crit_alarm: 0.000


      Can anybody please tell me how to add the above sensors to thermal-conf.xml, and maybe also how to locate and add other cooling devices?










      share|improve this question













      I have a Toshiba NB510-108 netbook with Xubuntu 14.10 installed. Under Windows 7 Starter, temperature sensors show values up to 45 degrees Celsius. Under Xubuntu, they show values up to 55 degrees.
      I would like to use thermald to keep the temperature at 38 degrees.



      My thermal-conf.xml file only contains one sensor of type TSKN and two cooling devices of types rapl_controller and intel_powerclamp.



      sensors -u shows this



          user@user-TOSHIBA-NB510:~$ sensors -u
      acpitz-virtual-0
      Adapter: Virtual device
      temp1:
      temp1_input: 42.000
      temp1_crit: 110.000

      coretemp-isa-0000
      Adapter: ISA adapter
      Core 0:
      temp2_input: 43.000
      temp2_crit: 100.000
      temp2_crit_alarm: 0.000
      Core 1:
      temp3_input: 43.000
      temp3_crit: 100.000
      temp3_crit_alarm: 0.000


      Can anybody please tell me how to add the above sensors to thermal-conf.xml, and maybe also how to locate and add other cooling devices?







      sensors






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 19 '14 at 11:30









      dfs

      1612




      1612






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I'm new on this stuff as well ( just installed ) anyway I'll try to share what I have understood.



          In short



          Thermald can control cooling via active or passive cooling devices as presented in sysfs (path /sys/class/thermal/).

          If you know you have any other devices that the ones listed in /sys/class/thermal/, you can add manually:



          The best cooling method may not be in the thermal sysfs. In this case
          thermal-conf.xml can be used to bind a zone to an external cooling
          device.


          -> in the config you can specify a path to a device: <Path></Path>



          Debug and other info



          At the moment the best resources looks to be:



          1 man thermald

          2.man thermal-conf.xml link

          3. Ubuntu Wiki: Thermald



          Ubuntu documentation provides and example /etc/thermald/thermal-conf.xml that you may want use instead of the default config.



          To understand what is going on the first step is to launch the daemon in debug mode:



          sudo service thermald stop
          sudo thermald --no-daemon --loglevel=debug


          On my Ubuntu (using the wiki config file) I can see the daemon automatically adds the sensors from sysfs.

          Try to check the first lines of the debug log, you should see something like this:



          thd_read_default_thermal_sensors 
          sensor_update: type acpitz
          sensor_update: type acpitz
          sensor_update: type pkg-temp-0
          thd_read_default_thermal_sensors loaded 3 sensors


          In accord with your sensor -u print I cannot see any active cooling device ( fan ):




          • It looks that sensor was not able to find any software controllable fan, so I'm not sure what other methods you can add ...






          share|improve this answer





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f175004%2fhow-to-add-sensors-and-cooling-devices-to-thermal-conf-xml%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            I'm new on this stuff as well ( just installed ) anyway I'll try to share what I have understood.



            In short



            Thermald can control cooling via active or passive cooling devices as presented in sysfs (path /sys/class/thermal/).

            If you know you have any other devices that the ones listed in /sys/class/thermal/, you can add manually:



            The best cooling method may not be in the thermal sysfs. In this case
            thermal-conf.xml can be used to bind a zone to an external cooling
            device.


            -> in the config you can specify a path to a device: <Path></Path>



            Debug and other info



            At the moment the best resources looks to be:



            1 man thermald

            2.man thermal-conf.xml link

            3. Ubuntu Wiki: Thermald



            Ubuntu documentation provides and example /etc/thermald/thermal-conf.xml that you may want use instead of the default config.



            To understand what is going on the first step is to launch the daemon in debug mode:



            sudo service thermald stop
            sudo thermald --no-daemon --loglevel=debug


            On my Ubuntu (using the wiki config file) I can see the daemon automatically adds the sensors from sysfs.

            Try to check the first lines of the debug log, you should see something like this:



            thd_read_default_thermal_sensors 
            sensor_update: type acpitz
            sensor_update: type acpitz
            sensor_update: type pkg-temp-0
            thd_read_default_thermal_sensors loaded 3 sensors


            In accord with your sensor -u print I cannot see any active cooling device ( fan ):




            • It looks that sensor was not able to find any software controllable fan, so I'm not sure what other methods you can add ...






            share|improve this answer

























              up vote
              0
              down vote













              I'm new on this stuff as well ( just installed ) anyway I'll try to share what I have understood.



              In short



              Thermald can control cooling via active or passive cooling devices as presented in sysfs (path /sys/class/thermal/).

              If you know you have any other devices that the ones listed in /sys/class/thermal/, you can add manually:



              The best cooling method may not be in the thermal sysfs. In this case
              thermal-conf.xml can be used to bind a zone to an external cooling
              device.


              -> in the config you can specify a path to a device: <Path></Path>



              Debug and other info



              At the moment the best resources looks to be:



              1 man thermald

              2.man thermal-conf.xml link

              3. Ubuntu Wiki: Thermald



              Ubuntu documentation provides and example /etc/thermald/thermal-conf.xml that you may want use instead of the default config.



              To understand what is going on the first step is to launch the daemon in debug mode:



              sudo service thermald stop
              sudo thermald --no-daemon --loglevel=debug


              On my Ubuntu (using the wiki config file) I can see the daemon automatically adds the sensors from sysfs.

              Try to check the first lines of the debug log, you should see something like this:



              thd_read_default_thermal_sensors 
              sensor_update: type acpitz
              sensor_update: type acpitz
              sensor_update: type pkg-temp-0
              thd_read_default_thermal_sensors loaded 3 sensors


              In accord with your sensor -u print I cannot see any active cooling device ( fan ):




              • It looks that sensor was not able to find any software controllable fan, so I'm not sure what other methods you can add ...






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                I'm new on this stuff as well ( just installed ) anyway I'll try to share what I have understood.



                In short



                Thermald can control cooling via active or passive cooling devices as presented in sysfs (path /sys/class/thermal/).

                If you know you have any other devices that the ones listed in /sys/class/thermal/, you can add manually:



                The best cooling method may not be in the thermal sysfs. In this case
                thermal-conf.xml can be used to bind a zone to an external cooling
                device.


                -> in the config you can specify a path to a device: <Path></Path>



                Debug and other info



                At the moment the best resources looks to be:



                1 man thermald

                2.man thermal-conf.xml link

                3. Ubuntu Wiki: Thermald



                Ubuntu documentation provides and example /etc/thermald/thermal-conf.xml that you may want use instead of the default config.



                To understand what is going on the first step is to launch the daemon in debug mode:



                sudo service thermald stop
                sudo thermald --no-daemon --loglevel=debug


                On my Ubuntu (using the wiki config file) I can see the daemon automatically adds the sensors from sysfs.

                Try to check the first lines of the debug log, you should see something like this:



                thd_read_default_thermal_sensors 
                sensor_update: type acpitz
                sensor_update: type acpitz
                sensor_update: type pkg-temp-0
                thd_read_default_thermal_sensors loaded 3 sensors


                In accord with your sensor -u print I cannot see any active cooling device ( fan ):




                • It looks that sensor was not able to find any software controllable fan, so I'm not sure what other methods you can add ...






                share|improve this answer












                I'm new on this stuff as well ( just installed ) anyway I'll try to share what I have understood.



                In short



                Thermald can control cooling via active or passive cooling devices as presented in sysfs (path /sys/class/thermal/).

                If you know you have any other devices that the ones listed in /sys/class/thermal/, you can add manually:



                The best cooling method may not be in the thermal sysfs. In this case
                thermal-conf.xml can be used to bind a zone to an external cooling
                device.


                -> in the config you can specify a path to a device: <Path></Path>



                Debug and other info



                At the moment the best resources looks to be:



                1 man thermald

                2.man thermal-conf.xml link

                3. Ubuntu Wiki: Thermald



                Ubuntu documentation provides and example /etc/thermald/thermal-conf.xml that you may want use instead of the default config.



                To understand what is going on the first step is to launch the daemon in debug mode:



                sudo service thermald stop
                sudo thermald --no-daemon --loglevel=debug


                On my Ubuntu (using the wiki config file) I can see the daemon automatically adds the sensors from sysfs.

                Try to check the first lines of the debug log, you should see something like this:



                thd_read_default_thermal_sensors 
                sensor_update: type acpitz
                sensor_update: type acpitz
                sensor_update: type pkg-temp-0
                thd_read_default_thermal_sensors loaded 3 sensors


                In accord with your sensor -u print I cannot see any active cooling device ( fan ):




                • It looks that sensor was not able to find any software controllable fan, so I'm not sure what other methods you can add ...







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 22 '15 at 13:31









                Francesco

                2941513




                2941513






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f175004%2fhow-to-add-sensors-and-cooling-devices-to-thermal-conf-xml%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Accessing regular linux commands in Huawei's Dopra Linux

                    Can't connect RFCOMM socket: Host is down

                    Kernel panic - not syncing: Fatal Exception in Interrupt