home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.slackware      I think its the one without Selinux crap      87,272 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 85,765 of 87,272   
   Jim Diamond to Jim Diamond   
   Re: resume from S2R changes from 5.15.19   
   09 Apr 22 17:56:08   
   
   From: JimDiamond@ns.sympatico.ca   
      
   On 2022-04-04 at 21:17 ADT, Jim Diamond  wrote:   
   > I have a laptop running Slackware64 15.0, which, previous to upgrading   
   > to 5.15.27, required me to press a keyboard key after opening the lid   
   > to awaken it (after it was suspended to RAM).   
   >   
   > After upgrading to 5.15.27 (the dirty pipe saga of 2022), the laptop   
   > now awakens just by opening the lid.  (I consider this to be A Good   
   > Thing.)   
   >   
   > However, it also awakens (with the lid still closed) if I unplug the   
   > AC power.  (I consider this to be A Bad Thing.)   
      
      
   Just in case anyone cares, here is the "answer" (with thanks to Henrik   
   and Giovanni):   
      
   In 5.15.24 drivers/acpi/x86/s2idle.c has this code:   
      
      /*   
       * Some Intel based LPS0 systems, like ASUS Zenbook UX430UNR/i7-8550U don't   
       * use intel-hid or intel-vbtn but require the EC GPE to be enabled while   
       * suspended for certain wakeup devices to work, so mark it as   
   wakeup-capable.   
       *   
       * Only enable on !AMD as enabling this universally causes problems for a   
   number   
       * of AMD based systems.   
       */   
      if (!acpi_s2idle_vendor_amd())   
              acpi_ec_mark_gpe_for_wake();   
      
   and in 5.15.25, notwithstanding the warning in the comment, it has   
   been changed to   
      
       /*   
        * Some LPS0 systems, like ASUS Zenbook UX430UNR/i7-8550U, require the   
        * EC GPE to be enabled while suspended for certain wakeup devices to   
        * work, so mark it as wakeup-capable.   
        */   
       acpi_ec_mark_gpe_for_wake();   
      
   This causes the system to wake up on a variety of EC (embedded   
   controller) events, including opening the lid and unplugging or   
   plugging in the AC power.  (Tested by re-compiling 5.15.25 with the   
   s2idle.c code from 5.15.24 and testing with that modified kernel.)   
      
                                   Jim   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca