You are not logged in.

#1 2017-01-24 13:27:43

pdiz
New Member
Registered: 2017-01-14
Posts: 2

Unpluging laptop; will not wake up from suspension.

I have a bit of a quirk in regards to the suspend mode on my laptop.

Suspension and wake up works only if the power is in the same state as it was before suspension. So if my laptop was unplugged from the power, it will only wake up if it's still unplugged. The same goes for when it is charging.

For the times I plug/unplug before waking up the computer, it will appear to be on, but unresponsive. Neither the screen, nor the backlight will work. Only the keyboard and power button will light up. The keyboard also seems unresponsive.

I have tried a couple of simple tests over here such as;

update the kernal
switch to tty console then systemctl suspend
on both kernal versions with no success.

I also have tried logging back in blindly, and using keyboardshort cuts to try and power it down correctly. Still unsuccessful, so that may suggest it's not just the screen staying dark.

Here are some computer deets;

Hardware:

inxi -Fx
System:    Host: Immy Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4) 
           Desktop: Openbox 3.5.2 Distro: BunsenLabs 8.7 bunsen-hydrogen 
Machine:   System: TOSHIBA product: KIRA v: PSU8SA-00T00U
           Mobo: TOSHIBA model: KIRA v: Version A0
           Bios: TOSHIBA v: Version 1.30 date: 04/17/2014
CPU:       Dual core Intel Core i5-4210U (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9577 
           Clock Speeds: 1: 838 MHz 2: 850 MHz 3: 818 MHz 4: 966 MHz
Graphics:  Card: Intel Haswell-ULT Integrated Graphics Controller bus-ID: 00:02.0
           Display Server: X.Org 1.16.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.01hz
           GLX Renderer: Mesa DRI Intel Haswell Mobile
           GLX Version: 3.0 Mesa 10.3.2 Direct Rendering: Yes
Audio:     Card-1 Intel 8 Series HD Audio Controller 
           driver: snd_hda_intel bus-ID: 00:1b.0 
           Card-2 Intel Haswell-ULT HD Audio Controller 
           driver: snd_hda_intel bus-ID: 00:03.0 
           Sound: Advanced Linux Sound Architecture v: k3.16.0-4-amd64
Network:   Card: Intel Wireless 7260 driver: iwlwifi v: in-tree: bus-ID: 01:00.0
           IF: wlan0 state: up mac: e8:2a:ea:93:30:23
Drives:    HDD Total Size: 256.1GB (39.2% used)
           ID-1: /dev/sda model: TOSHIBA_THNSNJ25 size: 256.1GB
Partition: ID-1: / size: 225G used: 85G (40%) fs: ext4 dev: /dev/dm-1 
           ID-2: /boot size: 236M used: 69M (31%) fs: ext2 dev: /dev/sda1 
           ID-3: swap-1 size: 10.39GB used: 0.00GB (0%) fs: swap dev: /dev/dm-2 
Sensors:   System Temperatures: cpu: 49.0C mobo: N/A 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 163 Uptime: 13 min Memory: 627.1/7928.9MB 
           Init: systemd runlevel: 5 Gcc sys: 4.9.2 
           Client: Shell (bash 4.3.301) inxi: 2.1.28 

Logs:

dmesg | tail -n 200
[    6.236142] PM: Looking for hibernation image.
[    6.236291] PM: Image not found (code -22)
[    6.236293] PM: Hibernation image not present or could not be loaded.
[    6.274370] random: nonblocking pool is initialized
[    6.471509] EXT4-fs (dm-1): mounted filesystem with ordered data mode. Opts: (null)
[    6.543247] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    6.543556] systemd[1]: Detected architecture 'x86-64'.
[    6.555801] systemd[1]: Inserted module 'autofs4'
[    6.556348] systemd[1]: Set hostname to <Immy>.
[    6.556409] systemd[1]: Initializing machine ID from random generator.
[    6.556476] systemd[1]: Installed transient /etc/machine-id file.
[    6.641053] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    6.641186] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    6.641193] systemd[1]: Starting Remote File Systems (Pre).
[    6.641209] systemd[1]: Reached target Remote File Systems (Pre).
[    6.641218] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[    6.641233] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    6.641237] systemd[1]: Starting Paths.
[    6.641242] systemd[1]: Reached target Paths.
[    6.641248] systemd[1]: Expecting device dev-disk-by\x2duuid-33b56a31\x2d013a\x2d49b2\x2d8e74\x2d484d41a1868f.device...
[    6.641252] systemd[1]: Expecting device dev-mapper-sda5_crypt.device...
[    6.641265] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[    6.641315] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    6.641322] systemd[1]: Expecting device dev-mapper-Immy\x2d\x2dvg\x2dswap_1.device...
[    6.641328] systemd[1]: Expecting device dev-disk-by\x2duuid-83d5a525\x2d7276\x2d466f\x2d9f97\x2dbb057a214665.device...
[    6.641333] systemd[1]: Starting Root Slice.
[    6.641346] systemd[1]: Created slice Root Slice.
[    6.641351] systemd[1]: Starting User and Session Slice.
[    6.641373] systemd[1]: Created slice User and Session Slice.
[    6.641378] systemd[1]: Starting Delayed Shutdown Socket.
[    6.641398] systemd[1]: Listening on Delayed Shutdown Socket.
[    6.641403] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[    6.641422] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    6.641427] systemd[1]: Starting Journal Socket (/dev/log).
[    6.641441] systemd[1]: Listening on Journal Socket (/dev/log).
[    6.641446] systemd[1]: Starting LVM2 metadata daemon socket.
[    6.641461] systemd[1]: Listening on LVM2 metadata daemon socket.
[    6.641466] systemd[1]: Starting Device-mapper event daemon FIFOs.
[    6.641479] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[    6.641485] systemd[1]: Starting udev Control Socket.
[    6.641495] systemd[1]: Listening on udev Control Socket.
[    6.641500] systemd[1]: Starting udev Kernel Socket.
[    6.641513] systemd[1]: Listening on udev Kernel Socket.
[    6.641519] systemd[1]: Starting Journal Socket.
[    6.641534] systemd[1]: Listening on Journal Socket.
[    6.641544] systemd[1]: Starting System Slice.
[    6.641564] systemd[1]: Created slice System Slice.
[    6.641572] systemd[1]: Started File System Check on Root Device.
[    6.641576] systemd[1]: Starting system-systemd\x2dfsck.slice.
[    6.641601] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    6.641606] systemd[1]: Starting system-getty.slice.
[    6.641626] systemd[1]: Created slice system-getty.slice.
[    6.641639] systemd[1]: Starting Increase datagram queue length...
[    6.644840] systemd[1]: Starting Load Kernel Modules...
[    6.645779] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    6.646947] systemd[1]: Started Set Up Additional Binary Formats.
[    6.646963] systemd[1]: Starting system-systemd\x2dcryptsetup.slice.
[    6.647003] systemd[1]: Created slice system-systemd\x2dcryptsetup.slice.
[    6.647018] systemd[1]: Starting udev Coldplug all Devices...
[    6.647325] systemd[1]: Mounting Debug File System...
[    6.647596] systemd[1]: Mounting Huge Pages File System...
[    6.647933] systemd[1]: Mounting POSIX Message Queue File System...
[    6.648253] systemd[1]: Starting Slices.
[    6.648263] systemd[1]: Reached target Slices.
[    6.651353] fuse init (API version 7.23)
[    6.651792] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    6.652461] systemd[1]: Started Load Kernel Modules.
[    6.652610] systemd[1]: Mounted Configuration File System.
[    6.652629] systemd[1]: Mounting FUSE Control File System...
[    6.652985] systemd[1]: Starting Apply Kernel Variables...
[    6.653377] systemd[1]: Starting Create Static Device Nodes in /dev...
[    6.654158] systemd[1]: Mounted Huge Pages File System.
[    6.654353] systemd[1]: Started Increase datagram queue length.
[    6.654942] systemd[1]: Mounted POSIX Message Queue File System.
[    6.656273] systemd[1]: Mounted FUSE Control File System.
[    6.660314] systemd[1]: Mounted Debug File System.
[    6.660710] systemd[1]: Started Apply Kernel Variables.
[    6.664144] systemd[1]: Started udev Coldplug all Devices.
[    6.665821] systemd[1]: Started Create Static Device Nodes in /dev.
[    6.669550] systemd[1]: Starting udev Kernel Device Manager...
[    6.669833] systemd[1]: Starting udev Wait for Complete Device Initialization...
[    6.670112] systemd[1]: Starting Syslog Socket.
[    6.670149] systemd[1]: Listening on Syslog Socket.
[    6.670170] systemd[1]: Starting Journal Service...
[    6.670522] systemd[1]: Started Journal Service.
[    6.673007] systemd-udevd[270]: starting version 215
[    6.726991] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input5
[    6.726998] ACPI: Power Button [PWRB]
[    6.727067] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input6
[    6.727112] ACPI: Lid Switch [LID]
[    6.727175] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input7
[    6.727178] ACPI: Power Button [PWRF]
[    6.728530] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    6.730604] ACPI: AC Adapter [ADP1] (on-line)
[    6.733802] mei_me 0000:00:16.0: irq 58 for MSI/MSI-X
[    6.733876] ACPI: Battery Slot [BAT1] (battery present)
[    6.739536] [drm] Initialized drm 1.1.0 20060810
[    6.740960] wmi: Mapper loaded
[    6.742064] snd_hda_intel 0000:00:1b.0: irq 59 for MSI/MSI-X
[    6.753128] toshiba_bluetooth: Detected Toshiba ACPI Bluetooth device - installing RFKill handler
[    6.756414] sound hdaudioC1D0: CX20751/2: BIOS auto-probing.
[    6.756636] sound hdaudioC1D0: autoconfig: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker
[    6.756639] sound hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    6.756642] sound hdaudioC1D0:    hp_outs=1 (0x16/0x0/0x0/0x0/0x0)
[    6.756643] sound hdaudioC1D0:    mono: mono_out=0x0
[    6.756645] sound hdaudioC1D0:    inputs:
[    6.756648] sound hdaudioC1D0:      Internal Mic=0x1a
[    6.756650] sound hdaudioC1D0:      Mic=0x19
[    6.757429] sound hdaudioC1D0: Enable sync_write for stable communication
[    6.760243] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card1/hdaudioC1D0/input8
[    6.762279] [drm] Memory usable by graphics device = 2048M
[    6.762283] [drm] Replacing VGA console driver
[    6.762351] toshiba_bluetooth: Re-enabling Toshiba Bluetooth
[    6.764201] Console: switching to colour dummy device 80x25
[    6.764538] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input9
[    6.764584] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input10
[    6.769465] cfg80211: Calling CRDA to update world regulatory domain
[    6.774414] toshiba_acpi: Toshiba Laptop ACPI Extras version 0.20
[    6.774668] Intel(R) Wireless WiFi driver for Linux, in-tree:
[    6.774672] Copyright(c) 2003- 2014 Intel Corporation
[    6.774816] iwlwifi 0000:01:00.0: irq 60 for MSI/MSI-X
[    6.774954] input: Toshiba input device as /devices/virtual/input/input11
[    6.775289] input: PC Speaker as /devices/platform/pcspkr/input/input12
[    6.780201] iwlwifi 0000:01:00.0: firmware: direct-loading firmware iwlwifi-7260-9.ucode
[    6.780446] iwlwifi 0000:01:00.0: loaded firmware version 23.214.9.0 op_mode iwlmvm
[    6.790506] iwlwifi 0000:01:00.0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144
[    6.790560] iwlwifi 0000:01:00.0: L1 Disabled - LTR Enabled
[    6.791788] iwlwifi 0000:01:00.0: L1 Disabled - LTR Enabled
[    6.796633] i915 0000:00:02.0: irq 61 for MSI/MSI-X
[    6.796647] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    6.796649] [drm] Driver supports precise vblank timestamp query.
[    6.796679] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    6.802461] intel_rapl: Found RAPL domain package
[    6.802470] intel_rapl: Found RAPL domain core
[    6.802473] intel_rapl: Found RAPL domain uncore
[    6.802476] intel_rapl: Found RAPL domain dram
[    6.806605] iTCO_vendor_support: vendor-support=0
[    6.807177] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[    6.807213] iTCO_wdt: Found a Lynx Point_LP TCO device (Version=2, TCOBASE=0x1860)
[    6.807737] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    6.830658] toshiba_acpi: Illumination device not available
[    6.832513] [drm:hsw_unclaimed_reg_clear] *ERROR* Unknown unclaimed register before writing to 64010
[    6.832835] toshiba_acpi: Accelerometer not supported
[    6.844459] [drm] VBT doesn't support DRRS
[    6.845505] cfg80211: World regulatory domain updated:
[    6.845508] cfg80211:  DFS Master region: unset
[    6.845509] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    6.845513] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    6.845515] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    6.845518] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    6.845520] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    6.845523] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    6.845525] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    6.845527] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    6.845529] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[    6.850449] EXT4-fs (dm-1): re-mounted. Opts: errors=remount-ro
[    6.858490] Adding 10149884k swap on /dev/mapper/Immy--vg-swap_1.  Priority:-1 extents:1 across:10149884k SSFS
[    6.894715] fbcon: inteldrmfb (fb0) is primary device
[    6.980181] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem
[    6.980762] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
[    7.040699] usb 1-8: new full-speed USB device number 4 using xhci_hcd
[    7.058609] [drm:intel_uncore_check_errors] *ERROR* Unclaimed register before interrupt
[    7.061012] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    7.170068] usb 1-8: New USB device found, idVendor=8087, idProduct=07dc
[    7.170072] usb 1-8: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    7.181120] Bluetooth: Core ver 2.19
[    7.181137] NET: Registered protocol family 31
[    7.181137] Bluetooth: HCI device and connection manager initialized
[    7.181145] Bluetooth: HCI socket layer initialized
[    7.181148] Bluetooth: L2CAP socket layer initialized
[    7.181160] Bluetooth: SCO socket layer initialized
[    7.225548] usbcore: registered new interface driver btusb
[    7.238826] Bluetooth: hci0: read Intel version: 370710018002030d00
[    7.239495] bluetooth hci0: firmware: direct-loading firmware intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
[    7.239499] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
[    7.419986] Bluetooth: hci0: Intel Bluetooth firmware patch completed and activated
[    8.485827] Console: switching to colour frame buffer device 170x48
[    8.489627] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    8.489628] i915 0000:00:02.0: registered panic notifier
[    8.502198] ACPI: Video Device [GFX0] (multi-head: yes  rom: yes  post: no)
[    8.502399] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input13
[    8.502502] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[    8.502744] ACPI Warning: SystemIO range 0x000000000000EFA0-0x000000000000EFBF conflicts with OpRegion 0x000000000000EFA0-0x000000000000EFAF (\_SB_.PCI0.SBUS.SMBI) (20140424/utaddress-254)
[    8.502752] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[    8.503121] snd_hda_intel 0000:00:03.0: irq 62 for MSI/MSI-X
[    8.511045] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input14
[    8.511140] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input15
[    8.511223] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input16
[    8.547658] systemd-journald[272]: Received request to flush runtime journal from PID 1
[    8.827266] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[    8.975703] iwlwifi 0000:01:00.0: L1 Disabled - LTR Enabled
[    8.975926] iwlwifi 0000:01:00.0: L1 Disabled - LTR Enabled
[    8.986908] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   12.683111] wlan0: authenticate with 84:1b:5e:ca:39:5c
[   12.686170] wlan0: send auth to 84:1b:5e:ca:39:5c (try 1/3)
[   12.688016] wlan0: authenticated
[   12.688917] wlan0: associate with 84:1b:5e:ca:39:5c (try 1/3)
[   12.698836] wlan0: RX AssocResp from 84:1b:5e:ca:39:5c (capab=0x411 status=0 aid=8)
[   12.702279] wlan0: associated
[   12.702388] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
cat /lib/systemd/system/suspend.target
[Unit]
Description=Suspend
Documentation=man:systemd.special(7)
DefaultDependencies=no
BindsTo=systemd-suspend.service
After=systemd-suspend.service
cat /lib/systemd/system/systemd-sleep
cat: /lib/systemd/system/systemd-sleep: No such file or directory
cat /lib/systemd/system/sleep.target
[Unit]
Description=Sleep
Documentation=man:systemd.special(7)
DefaultDependencies=no
RefuseManualStart=yes
StopWhenUnneeded=yes

I had a play around on Xfce power manager, which is currently set to not do anything other than turn off the display when the lid is closed. It has no apparent effect.

Thoughts?


Also, Hello to all. I was a long time fan of #! and accidentally stumbled upon the redirect to bl when I dug up my old computer the other day. Kinda stoked to see it is still alive.

Offline

#2 2017-01-25 14:48:18

itsame
New Member
Registered: 2016-03-18
Posts: 2

Re: Unpluging laptop; will not wake up from suspension.

Similar thing happening here too!
I can get my laptop to turn on/get the screen turned on in the new power state by closing the lid to suspend it,(again), and then re-opening it.

However this is quite annoying so am interested in this thread.
EDIT: I have set power manager to suspend when laptop lid is closed.

Last edited by itsame (2017-01-25 14:49:20)

Offline

#3 2017-01-25 16:40:23

matmutant
Member
Registered: 2016-07-19
Posts: 39
Website

Re: Unpluging laptop; will not wake up from suspension.

I will look into this on my PC too, as I had once an issue getting back from suspend/hibernate ... so I prevented the laptop to go to that state as a temporary work around -and didn't have time to investigate-

So, let's subscribe to this topic !

Offline

#4 2017-01-26 07:42:51

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Unpluging laptop; will not wake up from suspension.

Is there anything recorded in the systemd journal after these problems occur?

https://www.digitalocean.com/community/ … stemd-logs

To view the journal contents as a normal user, add them to the "systemd-journal" group then log out & back in again:

sudo gpasswd -a $USER systemd-journal

Offline

#5 2017-01-26 11:48:44

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: Unpluging laptop; will not wake up from suspension.

I Iadmit I don't know much about suspension/hibernating/sleeping, but one starting point of the investigation might be IMHO this file:

$ more /etc/systemd/logind.conf
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See logind.conf(5) for details.

[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
# changed by iMBeCil (was: 'poweroff' and commented)
HandlePowerKey=ignore
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
#UserTasksMax=12288

Here is defined what will happened when actions such as 'HibernateKey', 'SuspendKey' ... and so on, are registered. (For example, I configured on my system that the 'PowerOff' key doesn't power off the laptop. Instead, the PowerOff keypress is handled by i3 as a normal keypress ...)


Postpone all your duties; if you die, you won't have to do them ..

Offline

#6 2017-01-30 09:54:15

pdiz
New Member
Registered: 2017-01-14
Posts: 2

Re: Unpluging laptop; will not wake up from suspension.

Head_on_a_Stick wrote:

Is there anything recorded in the systemd journal after these problems occur?

If anything, I am getting way less information when I crash the system.

Jan 30 18:07:19 Immy systemd[1]: Starting Sleep.
Jan 30 18:07:19 Immy systemd[1]: Reached target Sleep.
Jan 30 18:07:19 Immy systemd[1]: Starting Suspend...
Jan 30 18:07:19 Immy systemd[1]: Starting Network Manager Script Dispatcher Service...
Jan 30 18:07:19 Immy systemd-sleep[1938]: Suspending system...
Jan 30 18:07:19 Immy dbus[628]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jan 30 18:07:19 Immy systemd[1]: Started Network Manager Script Dispatcher Service.
Jan 30 18:07:19 Immy nm-dispatcher[1939]: Dispatching action 'down' for wlan0
# wake up computer, nothing happens, force shutdown
-- Reboot --

Where as a normal sleep/wake routine while plugged in looks like:

Jan 30 19:12:45 Immy systemd[1]: Starting Sleep.
Jan 30 19:12:45 Immy systemd[1]: Reached target Sleep.
Jan 30 19:12:45 Immy systemd[1]: Starting Suspend...
Jan 30 19:12:45 Immy systemd[1]: Starting Network Manager Script Dispatcher Service...
Jan 30 19:12:45 Immy systemd-sleep[2575]: Suspending system...
Jan 30 19:12:53 Immy kernel: PM: Syncing filesystems ... done.
Jan 30 19:12:53 Immy kernel: PM: Preparing system for mem sleep
Jan 30 19:12:53 Immy kernel: (NULL device *): firmware: direct-loading firmware intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
Jan 30 19:12:53 Immy kernel: (NULL device *): firmware: direct-loading firmware iwlwifi-7260-9.ucode
Jan 30 19:12:53 Immy kernel: Freezing user space processes ... (elapsed 0.007 seconds) done.
Jan 30 19:12:53 Immy kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Jan 30 19:12:53 Immy kernel: PM: Entering mem sleep
Jan 30 19:12:53 Immy kernel: Suspending console(s) (use no_console_suspend to debug)
Jan 30 19:12:53 Immy kernel: [drm:intel_uncore_check_errors] *ERROR* Unclaimed register before interrupt
Jan 30 19:12:53 Immy kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Jan 30 19:12:53 Immy kernel: sd 0:0:0:0: [sda] Stopping disk
Jan 30 19:12:53 Immy kernel: PM: suspend of devices complete after 171.667 msecs
Jan 30 19:12:53 Immy kernel: PM: late suspend of devices complete after 14.855 msecs
Jan 30 19:12:53 Immy kernel: ehci-pci 0000:00:1d.0: System wakeup enabled by ACPI
Jan 30 19:12:53 Immy kernel: xhci_hcd 0000:00:14.0: System wakeup enabled by ACPI
Jan 30 19:12:53 Immy kernel: PM: noirq suspend of devices complete after 16.352 msecs
Jan 30 19:12:53 Immy kernel: ACPI: Preparing to enter system sleep state S3
Jan 30 19:12:53 Immy kernel: PM: Saving platform NVS memory
Jan 30 19:12:53 Immy kernel: Disabling non-boot CPUs ...
Jan 30 19:12:53 Immy kernel: intel_pstate CPU 1 exiting
Jan 30 19:12:53 Immy kernel: kvm: disabling virtualization on CPU1
Jan 30 19:12:53 Immy kernel: smpboot: CPU 1 is now offline
Jan 30 19:12:53 Immy kernel: intel_pstate CPU 2 exiting
Jan 30 19:12:53 Immy kernel: Broke affinity for irq 57
Jan 30 19:12:53 Immy kernel: kvm: disabling virtualization on CPU2
Jan 30 19:12:53 Immy kernel: smpboot: CPU 2 is now offline
Jan 30 19:12:53 Immy kernel: intel_pstate CPU 3 exiting
Jan 30 19:12:53 Immy kernel: kvm: disabling virtualization on CPU3
Jan 30 19:12:53 Immy kernel: smpboot: CPU 3 is now offline
Jan 30 19:12:53 Immy kernel: ACPI: Low-level resume complete
Jan 30 19:12:53 Immy kernel: PM: Restoring platform NVS memory
Jan 30 19:12:53 Immy kernel: CPU0: Thermal monitoring handled by SMI
Jan 30 19:12:53 Immy kernel: Enabling non-boot CPUs ...
Jan 30 19:12:53 Immy kernel: x86: Booting SMP configuration:
Jan 30 19:12:53 Immy kernel: smpboot: Booting Node 0 Processor 1 APIC 0x1
Jan 30 19:12:53 Immy kernel: CPU1 microcode updated early to revision 0x1f, date = 2016-04-01
Jan 30 19:12:53 Immy kernel: CPU1: Thermal monitoring handled by SMI
Jan 30 19:12:53 Immy kernel: kvm: enabling virtualization on CPU1
Jan 30 19:12:53 Immy kernel: Intel pstate controlling: cpu 1
Jan 30 19:12:53 Immy kernel: CPU1 is up
Jan 30 19:12:53 Immy kernel: smpboot: Booting Node 0 Processor 2 APIC 0x2
Jan 30 19:12:53 Immy kernel: CPU2 microcode updated early to revision 0x1f, date = 2016-04-01
Jan 30 19:12:53 Immy kernel: CPU2: Thermal monitoring handled by SMI
Jan 30 19:12:53 Immy kernel: kvm: enabling virtualization on CPU2
Jan 30 19:12:53 Immy kernel: Intel pstate controlling: cpu 2
Jan 30 19:12:53 Immy kernel: CPU2 is up
Jan 30 19:12:53 Immy kernel: smpboot: Booting Node 0 Processor 3 APIC 0x3
Jan 30 19:12:53 Immy kernel: CPU3: Thermal monitoring handled by SMI
Jan 30 19:12:53 Immy kernel: kvm: enabling virtualization on CPU3
Jan 30 19:12:53 Immy kernel: Intel pstate controlling: cpu 3
Jan 30 19:12:53 Immy kernel: CPU3 is up
Jan 30 19:12:53 Immy kernel: ACPI: Waking up from system sleep state S3
Jan 30 19:12:53 Immy kernel: ehci-pci 0000:00:1d.0: System wakeup disabled by ACPI
Jan 30 19:12:53 Immy kernel: xhci_hcd 0000:00:14.0: System wakeup disabled by ACPI
Jan 30 19:12:53 Immy kernel: PM: noirq resume of devices complete after 14.406 msecs
Jan 30 19:12:53 Immy kernel: PM: early resume of devices complete after 0.183 msecs
Jan 30 19:12:53 Immy kernel: mei_me 0000:00:16.0: irq 58 for MSI/MSI-X
Jan 30 19:12:53 Immy kernel: snd_hda_intel 0000:00:03.0: irq 59 for MSI/MSI-X
Jan 30 19:12:53 Immy kernel: snd_hda_intel 0000:00:1b.0: irq 62 for MSI/MSI-X
Jan 30 19:12:53 Immy kernel: iwlwifi 0000:01:00.0: RF_KILL bit toggled to enable radio.
Jan 30 19:12:53 Immy kernel: sd 0:0:0:0: [sda] Starting disk
Jan 30 19:12:53 Immy kernel: toshiba_bluetooth: Re-enabling Toshiba Bluetooth
Jan 30 19:12:53 Immy kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Jan 30 19:12:53 Immy kernel: ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
Jan 30 19:12:53 Immy kernel: ata1.00: ACPI cmd ef/10:09:00:00:00:a0 (SET FEATURES) succeeded
Jan 30 19:12:53 Immy kernel: ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
Jan 30 19:12:53 Immy kernel: ata1.00: ACPI cmd ef/10:09:00:00:00:a0 (SET FEATURES) succeeded
Jan 30 19:12:53 Immy kernel: ata1.00: configured for UDMA/100
Jan 30 19:12:53 Immy kernel: psmouse serio1: synaptics: queried max coordinates: x [..5670], y [..4738]
Jan 30 19:12:53 Immy kernel: usb 1-3: reset high-speed USB device number 3 using xhci_hcd
Jan 30 19:12:53 Immy kernel: psmouse serio1: synaptics: queried min coordinates: x [1272..], y [1244..]
Jan 30 19:12:53 Immy kernel: xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880213653e00
Jan 30 19:12:53 Immy kernel: xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880213653e48
Jan 30 19:12:53 Immy kernel: xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880213653e90
Jan 30 19:12:53 Immy kernel: usb 1-8: reset full-speed USB device number 4 using xhci_hcd
Jan 30 19:12:53 Immy kernel: xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880036b08300
Jan 30 19:12:53 Immy kernel: xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880036b08348
Jan 30 19:12:53 Immy kernel: xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880036b08390
Jan 30 19:12:53 Immy kernel: xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802138f1d00
Jan 30 19:12:53 Immy kernel: xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8802138f1d48
Jan 30 19:12:53 Immy kernel: PM: resume of devices complete after 1275.582 msecs
Jan 30 19:12:53 Immy kernel: PM: Finishing wakeup.

Might be a bit of a long shot, but I have luks encryption on my hard disk at the moment, would that be interfering?

Offline

#7 2017-01-30 18:46:50

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Unpluging laptop; will not wake up from suspension.

pdiz wrote:

I have luks encryption on my hard disk at the moment, would that be interfering?

I don't know, sorry, I have no experience of LUKS.

What is your graphics hardware?

lspci -knn | grep -iA2 'vga\|3d'

EDIT: I see from your OP that you have an Intel integrated card so don't bother with the output.

You could try disabling kernel modesetting for your video card, see https://wiki.archlinux.org/index.php/ke … odesetting & https://wiki.archlinux.org/index.php/Ke … eters#GRUB for more on this.

Last edited by Head_on_a_Stick (2017-01-30 19:50:00)

Offline

#8 2017-05-23 05:29:07

matmutant
Member
Registered: 2016-07-19
Posts: 39
Website

Re: Unpluging laptop; will not wake up from suspension.

matmutant wrote:

I will look into this on my PC too, as I had once an issue getting back from suspend/hibernate ... so I prevented the laptop to go to that state as a temporary work around -and didn't have time to investigate-

So, let's subscribe to this topic !

Issue fixed on my side:
Looks like it was linked to 'fan always ON on ACpower' option in the bios of my EliteBook 2540p (thank you OpenSuse Wiki!)

But that shouldn't help OP though...

Offline

Board footer

Powered by FluxBB