Laptop goes to sleep when DMPS goes to “off”

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








up vote
0
down vote

favorite












Context



For eons, I have used this command on many machines, to switch display off while letting the machine do some work:



xset dpms force off


On a laptop running Xubuntu 16.04, this has been working for years, shutting display off (including backlight). Pressing any key (I use Ctrl or Shift) switched display on again.



Problem



It seems that for the last few months, running that command still works, but after about 20-30 seconds, the whole machine goes to suspend. This is not intended: the machine is working on something.



Investigation



  • Of course, power parameters are set to never go to sleep on inactivity.

  • I can't pinpoint when the transition happened.

  • User-level parameter change is unlikely but not impossible.

  • System-level change might be the source. Recently updated intel-microcode and this seemed to correlate with another problem (details : sometimes after session lock, screen stays black, text consoles no longer work, machine looks powered on but hung, SysRq+S doesn't cause storage led blink, yet pressing power button finally seems to get the machine back to usable state). Not sure if any correlation, though.

Question



xset dpms force off only affects the display, should not cause any machine-level sleep (suspend-to-ram). Anyone has experienced similar situation?







share|improve this question
























    up vote
    0
    down vote

    favorite












    Context



    For eons, I have used this command on many machines, to switch display off while letting the machine do some work:



    xset dpms force off


    On a laptop running Xubuntu 16.04, this has been working for years, shutting display off (including backlight). Pressing any key (I use Ctrl or Shift) switched display on again.



    Problem



    It seems that for the last few months, running that command still works, but after about 20-30 seconds, the whole machine goes to suspend. This is not intended: the machine is working on something.



    Investigation



    • Of course, power parameters are set to never go to sleep on inactivity.

    • I can't pinpoint when the transition happened.

    • User-level parameter change is unlikely but not impossible.

    • System-level change might be the source. Recently updated intel-microcode and this seemed to correlate with another problem (details : sometimes after session lock, screen stays black, text consoles no longer work, machine looks powered on but hung, SysRq+S doesn't cause storage led blink, yet pressing power button finally seems to get the machine back to usable state). Not sure if any correlation, though.

    Question



    xset dpms force off only affects the display, should not cause any machine-level sleep (suspend-to-ram). Anyone has experienced similar situation?







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Context



      For eons, I have used this command on many machines, to switch display off while letting the machine do some work:



      xset dpms force off


      On a laptop running Xubuntu 16.04, this has been working for years, shutting display off (including backlight). Pressing any key (I use Ctrl or Shift) switched display on again.



      Problem



      It seems that for the last few months, running that command still works, but after about 20-30 seconds, the whole machine goes to suspend. This is not intended: the machine is working on something.



      Investigation



      • Of course, power parameters are set to never go to sleep on inactivity.

      • I can't pinpoint when the transition happened.

      • User-level parameter change is unlikely but not impossible.

      • System-level change might be the source. Recently updated intel-microcode and this seemed to correlate with another problem (details : sometimes after session lock, screen stays black, text consoles no longer work, machine looks powered on but hung, SysRq+S doesn't cause storage led blink, yet pressing power button finally seems to get the machine back to usable state). Not sure if any correlation, though.

      Question



      xset dpms force off only affects the display, should not cause any machine-level sleep (suspend-to-ram). Anyone has experienced similar situation?







      share|improve this question












      Context



      For eons, I have used this command on many machines, to switch display off while letting the machine do some work:



      xset dpms force off


      On a laptop running Xubuntu 16.04, this has been working for years, shutting display off (including backlight). Pressing any key (I use Ctrl or Shift) switched display on again.



      Problem



      It seems that for the last few months, running that command still works, but after about 20-30 seconds, the whole machine goes to suspend. This is not intended: the machine is working on something.



      Investigation



      • Of course, power parameters are set to never go to sleep on inactivity.

      • I can't pinpoint when the transition happened.

      • User-level parameter change is unlikely but not impossible.

      • System-level change might be the source. Recently updated intel-microcode and this seemed to correlate with another problem (details : sometimes after session lock, screen stays black, text consoles no longer work, machine looks powered on but hung, SysRq+S doesn't cause storage led blink, yet pressing power button finally seems to get the machine back to usable state). Not sure if any correlation, though.

      Question



      xset dpms force off only affects the display, should not cause any machine-level sleep (suspend-to-ram). Anyone has experienced similar situation?









      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 23 at 20:55









      Stéphane Gourichon

      1,3101427




      1,3101427

























          active

          oldest

          votes











          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%2f1027594%2flaptop-goes-to-sleep-when-dmps-goes-to-off%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027594%2flaptop-goes-to-sleep-when-dmps-goes-to-off%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491