[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Issues with power management



On Friday, 10 February 2017 12:31:39 CET solitone wrote:
> After a fresh boot, suspend does work. However, after resume, a second
> suspend attempt doesn't work--the system automatically resumes after a
> couple of seconds.

Now it always resumes immediately after suspend. I have no idea why initially 
suspend worked ok, then it started to work only intermittently, and now it 
never works.

Anyhow, it depends on the the wakeup capable devices. Here's is the default 
configuration:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
solitone@alan:~$ acpitool -w         
[sudo] password for solitone: 
   Device       S-state   Status   Sysfs node
  ---------------------------------------
  1. PEG0         S3    *disabled
  2. EC   S4    *disabled  platform:PNP0C09:00
  3. HDEF         S3    *disabled  pci:0000:00:1b.0
  4. RP01         S3    *disabled  pci:0000:00:1c.0
  5. RP02         S3    *disabled  pci:0000:00:1c.1
  6. RP03         S3    *disabled  pci:0000:00:1c.2
  7. ARPT         S4    *enabled   pci:0000:03:00.0
  8. RP05         S3    *disabled  pci:0000:00:1c.4
  9. RP06         S3    *disabled  pci:0000:00:1c.5
  10. SPIT        S3    *disabled
  11. XHC1        S3    *enabled   pci:0000:00:14.0
  12. ADP1        S4    *disabled  platform:ACPI0003:00
  13. LID0        S4    *enabled   platform:PNP0C0D:00
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Device #13 (LID0) is the lid, and #11 (XCHI) is the USB xHCI controller. If I 
disable both, suspend works well again:
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
solitone@alan:~$ sudo acpitool -W 13; sudo acpitool -W 11
[...]
  Changed status for wakeup device #11 (XHC1)

   Device       S-state   Status   Sysfs node
  ---------------------------------------
  1. PEG0         S3    *disabled
  2. EC   S4    *disabled  platform:PNP0C09:00
  3. HDEF         S3    *disabled  pci:0000:00:1b.0
  4. RP01         S3    *disabled  pci:0000:00:1c.0
  5. RP02         S3    *disabled  pci:0000:00:1c.1
  6. RP03         S3    *disabled  pci:0000:00:1c.2
  7. ARPT         S4    *enabled   pci:0000:03:00.0
  8. RP05         S3    *disabled  pci:0000:00:1c.4
  9. RP06         S3    *disabled  pci:0000:00:1c.5
  10. SPIT        S3    *disabled
  11. XHC1        S3    *disabled  pci:0000:00:14.0
  12. ADP1        S4    *disabled  platform:ACPI0003:00
  13. LID0        S4    *disabled  platform:PNP0C0D:00
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The thing is that now I can wake the system up only pressing the power 
button--neither the keybord nor the trackpad does.


Reply to: