Dell XPS 15 9570 - How to control the fans?











up vote
1
down vote

favorite












I'm running dualboot Windows 10 and Ubuntu 18.04 (using the respin from this link). Everything works properly, however the fans are continuously going on and off. The CPU temp is between 39 - 42 degrees celsius. I think the fans are activated somewhere within this range, then cool the CPU and thus get the signal again to stop the fans, etc. On Windows, the fans are completely off at idle or light work.



What I already did




  • lm_sensors: cannot find the fans even after "sudo sensors-detect"


  • i8kutils: Cannot find /prod/i8k


  • BIOS updated to version 1.5.0


  • Kernel is version 4.19.2-041902-generic


  • Installed and activated thermald, tlp, powertop and intel-microcode.



  • Set the graphics card to Intel for power-saving




    • "sudo prime-select intel"



  • Undervolt by -140 mV on core and CPU, and -40 mV on iGPU (using this link)


  • Installed smbios-utils and set it to different modes (balanced, cool-bottom, quiet, performance)


  • Disable fan BIOS control (see link)



All without any luck.



What I still want to do




  • Repasting


Stats



sudo tlp stat

+++ System Info

System = Dell Inc. XPS 15 9570
BIOS = 1.5.0
Release = Ubuntu 18.04.1 LTS
Kernel = 4.19.2-041902-generic #201811132032 SMP Tue Nov 13 20:34:19 UTC 2018 x86_64
/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-4.19.2-041902-generic root=UUID=5394fef0-92d3-4753-a6a1-fd7b5c4f9cea ro quiet splash quiet acpi_rev_override=1 acpi_osi=Linux scsi_mod.use_blk_mq=1 nouveau.modeset=0 nouveau.runpm=0 mem_sleep_default=deep vt.handoff=1
Init system = systemd v237
Boot mode = UEFI

+++ Temperatures
CPU temp = 43 [°C]
Fan speed = (not available)


I guess that Ubuntu is unable to see the fans and is thus unable to take control over them. Any suggestions to gain control over them?










share|improve this question




























    up vote
    1
    down vote

    favorite












    I'm running dualboot Windows 10 and Ubuntu 18.04 (using the respin from this link). Everything works properly, however the fans are continuously going on and off. The CPU temp is between 39 - 42 degrees celsius. I think the fans are activated somewhere within this range, then cool the CPU and thus get the signal again to stop the fans, etc. On Windows, the fans are completely off at idle or light work.



    What I already did




    • lm_sensors: cannot find the fans even after "sudo sensors-detect"


    • i8kutils: Cannot find /prod/i8k


    • BIOS updated to version 1.5.0


    • Kernel is version 4.19.2-041902-generic


    • Installed and activated thermald, tlp, powertop and intel-microcode.



    • Set the graphics card to Intel for power-saving




      • "sudo prime-select intel"



    • Undervolt by -140 mV on core and CPU, and -40 mV on iGPU (using this link)


    • Installed smbios-utils and set it to different modes (balanced, cool-bottom, quiet, performance)


    • Disable fan BIOS control (see link)



    All without any luck.



    What I still want to do




    • Repasting


    Stats



    sudo tlp stat

    +++ System Info

    System = Dell Inc. XPS 15 9570
    BIOS = 1.5.0
    Release = Ubuntu 18.04.1 LTS
    Kernel = 4.19.2-041902-generic #201811132032 SMP Tue Nov 13 20:34:19 UTC 2018 x86_64
    /proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-4.19.2-041902-generic root=UUID=5394fef0-92d3-4753-a6a1-fd7b5c4f9cea ro quiet splash quiet acpi_rev_override=1 acpi_osi=Linux scsi_mod.use_blk_mq=1 nouveau.modeset=0 nouveau.runpm=0 mem_sleep_default=deep vt.handoff=1
    Init system = systemd v237
    Boot mode = UEFI

    +++ Temperatures
    CPU temp = 43 [°C]
    Fan speed = (not available)


    I guess that Ubuntu is unable to see the fans and is thus unable to take control over them. Any suggestions to gain control over them?










    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I'm running dualboot Windows 10 and Ubuntu 18.04 (using the respin from this link). Everything works properly, however the fans are continuously going on and off. The CPU temp is between 39 - 42 degrees celsius. I think the fans are activated somewhere within this range, then cool the CPU and thus get the signal again to stop the fans, etc. On Windows, the fans are completely off at idle or light work.



      What I already did




      • lm_sensors: cannot find the fans even after "sudo sensors-detect"


      • i8kutils: Cannot find /prod/i8k


      • BIOS updated to version 1.5.0


      • Kernel is version 4.19.2-041902-generic


      • Installed and activated thermald, tlp, powertop and intel-microcode.



      • Set the graphics card to Intel for power-saving




        • "sudo prime-select intel"



      • Undervolt by -140 mV on core and CPU, and -40 mV on iGPU (using this link)


      • Installed smbios-utils and set it to different modes (balanced, cool-bottom, quiet, performance)


      • Disable fan BIOS control (see link)



      All without any luck.



      What I still want to do




      • Repasting


      Stats



      sudo tlp stat

      +++ System Info

      System = Dell Inc. XPS 15 9570
      BIOS = 1.5.0
      Release = Ubuntu 18.04.1 LTS
      Kernel = 4.19.2-041902-generic #201811132032 SMP Tue Nov 13 20:34:19 UTC 2018 x86_64
      /proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-4.19.2-041902-generic root=UUID=5394fef0-92d3-4753-a6a1-fd7b5c4f9cea ro quiet splash quiet acpi_rev_override=1 acpi_osi=Linux scsi_mod.use_blk_mq=1 nouveau.modeset=0 nouveau.runpm=0 mem_sleep_default=deep vt.handoff=1
      Init system = systemd v237
      Boot mode = UEFI

      +++ Temperatures
      CPU temp = 43 [°C]
      Fan speed = (not available)


      I guess that Ubuntu is unable to see the fans and is thus unable to take control over them. Any suggestions to gain control over them?










      share|improve this question















      I'm running dualboot Windows 10 and Ubuntu 18.04 (using the respin from this link). Everything works properly, however the fans are continuously going on and off. The CPU temp is between 39 - 42 degrees celsius. I think the fans are activated somewhere within this range, then cool the CPU and thus get the signal again to stop the fans, etc. On Windows, the fans are completely off at idle or light work.



      What I already did




      • lm_sensors: cannot find the fans even after "sudo sensors-detect"


      • i8kutils: Cannot find /prod/i8k


      • BIOS updated to version 1.5.0


      • Kernel is version 4.19.2-041902-generic


      • Installed and activated thermald, tlp, powertop and intel-microcode.



      • Set the graphics card to Intel for power-saving




        • "sudo prime-select intel"



      • Undervolt by -140 mV on core and CPU, and -40 mV on iGPU (using this link)


      • Installed smbios-utils and set it to different modes (balanced, cool-bottom, quiet, performance)


      • Disable fan BIOS control (see link)



      All without any luck.



      What I still want to do




      • Repasting


      Stats



      sudo tlp stat

      +++ System Info

      System = Dell Inc. XPS 15 9570
      BIOS = 1.5.0
      Release = Ubuntu 18.04.1 LTS
      Kernel = 4.19.2-041902-generic #201811132032 SMP Tue Nov 13 20:34:19 UTC 2018 x86_64
      /proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-4.19.2-041902-generic root=UUID=5394fef0-92d3-4753-a6a1-fd7b5c4f9cea ro quiet splash quiet acpi_rev_override=1 acpi_osi=Linux scsi_mod.use_blk_mq=1 nouveau.modeset=0 nouveau.runpm=0 mem_sleep_default=deep vt.handoff=1
      Init system = systemd v237
      Boot mode = UEFI

      +++ Temperatures
      CPU temp = 43 [°C]
      Fan speed = (not available)


      I guess that Ubuntu is unable to see the fans and is thus unable to take control over them. Any suggestions to gain control over them?







      dell fan xps fancontrol






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 20 at 19:14

























      asked Nov 20 at 11:05









      J. Ehrling

      163




      163






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote













          I found a solution to my own problem.



          To see the fans with "lm_sensors"



          Add dell-smm-hwmon to modules



          sudo echo "options dell-smm-hwmon restricted=0 force=1" > /etc/modprobe.d/dell-smm-hwmon.conf
          sudo echo "dell-smm-hwmon" > /etc/modules
          sudo update-initramfs -u


          Reboot and the fans should be visible with



          sensors
          dell_smm-virtual-0
          Adapter: Virtual device
          fan1: 0 RPM
          fan2: 0 RPM


          To take over control of your fans



          Then follow this guide to install i8kutils



          sudo apt install i8kutils
          sudo echo "i8k" > /etc/modules
          sudo echo "options i8k force=1" > /etc/modprobe.d/i8k.conf


          Reboot



          sudo modprobe i8k force=1


          Configure i8kutils



          sudo gedit /etc/i8kmon.conf


          Finally, disable Dell BIOS Fan Control with this program by TomFreudenberg to let i8kutils take over.



          git clone https://github.com/TomFreudenberg/dell-bios-fan-control.git
          cd dell-bios-fan-control
          make
          sudo dell-bios-fan-control 0


          Simply run i8kmon to control your fans or try ik8fan to manually control your fans.



          i8kfan 2 2





          share|improve this answer




























            up vote
            0
            down vote













            A less intrusive method to get less temperature (and therefore no fans are required) is using powertop.



             cat /sys/bus/pci/devices/0000:01:00.0/power/control # (on?. That is bad)
            sudo powertop --auto-tune
            cat /sys/bus/pci/devices/0000:01:00.0/power/control # (auto?. That is good)


            In order to get the changes permanently, see How do I make Powertop changes permanent? . However, in the help of TLP it is said that 'attempting to apply powertop's --auto-tune settings on each boot will conflict with TLP'. By now, it is working fine for me (XPS 15 9570, bios 1.5).






            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: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              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%2faskubuntu.com%2fquestions%2f1094485%2fdell-xps-15-9570-how-to-control-the-fans%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              1
              down vote













              I found a solution to my own problem.



              To see the fans with "lm_sensors"



              Add dell-smm-hwmon to modules



              sudo echo "options dell-smm-hwmon restricted=0 force=1" > /etc/modprobe.d/dell-smm-hwmon.conf
              sudo echo "dell-smm-hwmon" > /etc/modules
              sudo update-initramfs -u


              Reboot and the fans should be visible with



              sensors
              dell_smm-virtual-0
              Adapter: Virtual device
              fan1: 0 RPM
              fan2: 0 RPM


              To take over control of your fans



              Then follow this guide to install i8kutils



              sudo apt install i8kutils
              sudo echo "i8k" > /etc/modules
              sudo echo "options i8k force=1" > /etc/modprobe.d/i8k.conf


              Reboot



              sudo modprobe i8k force=1


              Configure i8kutils



              sudo gedit /etc/i8kmon.conf


              Finally, disable Dell BIOS Fan Control with this program by TomFreudenberg to let i8kutils take over.



              git clone https://github.com/TomFreudenberg/dell-bios-fan-control.git
              cd dell-bios-fan-control
              make
              sudo dell-bios-fan-control 0


              Simply run i8kmon to control your fans or try ik8fan to manually control your fans.



              i8kfan 2 2





              share|improve this answer

























                up vote
                1
                down vote













                I found a solution to my own problem.



                To see the fans with "lm_sensors"



                Add dell-smm-hwmon to modules



                sudo echo "options dell-smm-hwmon restricted=0 force=1" > /etc/modprobe.d/dell-smm-hwmon.conf
                sudo echo "dell-smm-hwmon" > /etc/modules
                sudo update-initramfs -u


                Reboot and the fans should be visible with



                sensors
                dell_smm-virtual-0
                Adapter: Virtual device
                fan1: 0 RPM
                fan2: 0 RPM


                To take over control of your fans



                Then follow this guide to install i8kutils



                sudo apt install i8kutils
                sudo echo "i8k" > /etc/modules
                sudo echo "options i8k force=1" > /etc/modprobe.d/i8k.conf


                Reboot



                sudo modprobe i8k force=1


                Configure i8kutils



                sudo gedit /etc/i8kmon.conf


                Finally, disable Dell BIOS Fan Control with this program by TomFreudenberg to let i8kutils take over.



                git clone https://github.com/TomFreudenberg/dell-bios-fan-control.git
                cd dell-bios-fan-control
                make
                sudo dell-bios-fan-control 0


                Simply run i8kmon to control your fans or try ik8fan to manually control your fans.



                i8kfan 2 2





                share|improve this answer























                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  I found a solution to my own problem.



                  To see the fans with "lm_sensors"



                  Add dell-smm-hwmon to modules



                  sudo echo "options dell-smm-hwmon restricted=0 force=1" > /etc/modprobe.d/dell-smm-hwmon.conf
                  sudo echo "dell-smm-hwmon" > /etc/modules
                  sudo update-initramfs -u


                  Reboot and the fans should be visible with



                  sensors
                  dell_smm-virtual-0
                  Adapter: Virtual device
                  fan1: 0 RPM
                  fan2: 0 RPM


                  To take over control of your fans



                  Then follow this guide to install i8kutils



                  sudo apt install i8kutils
                  sudo echo "i8k" > /etc/modules
                  sudo echo "options i8k force=1" > /etc/modprobe.d/i8k.conf


                  Reboot



                  sudo modprobe i8k force=1


                  Configure i8kutils



                  sudo gedit /etc/i8kmon.conf


                  Finally, disable Dell BIOS Fan Control with this program by TomFreudenberg to let i8kutils take over.



                  git clone https://github.com/TomFreudenberg/dell-bios-fan-control.git
                  cd dell-bios-fan-control
                  make
                  sudo dell-bios-fan-control 0


                  Simply run i8kmon to control your fans or try ik8fan to manually control your fans.



                  i8kfan 2 2





                  share|improve this answer












                  I found a solution to my own problem.



                  To see the fans with "lm_sensors"



                  Add dell-smm-hwmon to modules



                  sudo echo "options dell-smm-hwmon restricted=0 force=1" > /etc/modprobe.d/dell-smm-hwmon.conf
                  sudo echo "dell-smm-hwmon" > /etc/modules
                  sudo update-initramfs -u


                  Reboot and the fans should be visible with



                  sensors
                  dell_smm-virtual-0
                  Adapter: Virtual device
                  fan1: 0 RPM
                  fan2: 0 RPM


                  To take over control of your fans



                  Then follow this guide to install i8kutils



                  sudo apt install i8kutils
                  sudo echo "i8k" > /etc/modules
                  sudo echo "options i8k force=1" > /etc/modprobe.d/i8k.conf


                  Reboot



                  sudo modprobe i8k force=1


                  Configure i8kutils



                  sudo gedit /etc/i8kmon.conf


                  Finally, disable Dell BIOS Fan Control with this program by TomFreudenberg to let i8kutils take over.



                  git clone https://github.com/TomFreudenberg/dell-bios-fan-control.git
                  cd dell-bios-fan-control
                  make
                  sudo dell-bios-fan-control 0


                  Simply run i8kmon to control your fans or try ik8fan to manually control your fans.



                  i8kfan 2 2






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 20 at 19:43









                  J. Ehrling

                  163




                  163
























                      up vote
                      0
                      down vote













                      A less intrusive method to get less temperature (and therefore no fans are required) is using powertop.



                       cat /sys/bus/pci/devices/0000:01:00.0/power/control # (on?. That is bad)
                      sudo powertop --auto-tune
                      cat /sys/bus/pci/devices/0000:01:00.0/power/control # (auto?. That is good)


                      In order to get the changes permanently, see How do I make Powertop changes permanent? . However, in the help of TLP it is said that 'attempting to apply powertop's --auto-tune settings on each boot will conflict with TLP'. By now, it is working fine for me (XPS 15 9570, bios 1.5).






                      share|improve this answer

























                        up vote
                        0
                        down vote













                        A less intrusive method to get less temperature (and therefore no fans are required) is using powertop.



                         cat /sys/bus/pci/devices/0000:01:00.0/power/control # (on?. That is bad)
                        sudo powertop --auto-tune
                        cat /sys/bus/pci/devices/0000:01:00.0/power/control # (auto?. That is good)


                        In order to get the changes permanently, see How do I make Powertop changes permanent? . However, in the help of TLP it is said that 'attempting to apply powertop's --auto-tune settings on each boot will conflict with TLP'. By now, it is working fine for me (XPS 15 9570, bios 1.5).






                        share|improve this answer























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          A less intrusive method to get less temperature (and therefore no fans are required) is using powertop.



                           cat /sys/bus/pci/devices/0000:01:00.0/power/control # (on?. That is bad)
                          sudo powertop --auto-tune
                          cat /sys/bus/pci/devices/0000:01:00.0/power/control # (auto?. That is good)


                          In order to get the changes permanently, see How do I make Powertop changes permanent? . However, in the help of TLP it is said that 'attempting to apply powertop's --auto-tune settings on each boot will conflict with TLP'. By now, it is working fine for me (XPS 15 9570, bios 1.5).






                          share|improve this answer












                          A less intrusive method to get less temperature (and therefore no fans are required) is using powertop.



                           cat /sys/bus/pci/devices/0000:01:00.0/power/control # (on?. That is bad)
                          sudo powertop --auto-tune
                          cat /sys/bus/pci/devices/0000:01:00.0/power/control # (auto?. That is good)


                          In order to get the changes permanently, see How do I make Powertop changes permanent? . However, in the help of TLP it is said that 'attempting to apply powertop's --auto-tune settings on each boot will conflict with TLP'. By now, it is working fine for me (XPS 15 9570, bios 1.5).







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 20 at 22:45









                          emilio

                          1




                          1






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • 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%2faskubuntu.com%2fquestions%2f1094485%2fdell-xps-15-9570-how-to-control-the-fans%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

                              Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                              ComboBox Display Member on multiple fields

                              Is it possible to collect Nectar points via Trainline?