You are not logged in.
Hey,
I am currently having problems with my ASUS Zenbook UX3410UA when trying to resume from suspension while on battery.
Fundamentals:
I am working with a swapfile, not a swap partition. It is the size of my RAM + 2GB, it's working fine on power.
Suspend works fine while on AC
Running Kernel 5.15.0-1 (Standard)
Suspend used to work fine on Ubuntu 21.10
I've tried to troubleshoot different possibilities and solutions, these were my findings:
echo mem > /sys/power/state resumes to frozen Desktop (screen turning on, remains black or desktop is frozen completely also showing that the command never finished)
CAPS Lock is not blinking (specific to kernel panics on some Intel CPU)
ACPI module is installed so ACPI calls should be made correctly
dmesg results in the following for the suspension:
[ 607.196852] PM: suspend entry (deep)
[ 607.204033] Filesystems sync: 0.007 seconds
[ 607.205569] Freezing user space processes ... (elapsed 0.004 seconds) done.
[ 607.209703] OOM killer disabled.
[ 607.209705] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 607.211193] printk: Suspending console(s) (use no_console_suspend to debug)
[ 607.233294] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 607.238441] sd 0:0:0:0: [sda] Stopping disk
[ 607.400592] ACPI: EC: interrupt blocked
[ 607.443559] ACPI: PM: Preparing to enter system sleep state S3
[ 607.446243] ACPI: EC: event blocked
[ 607.446245] ACPI: EC: EC stopped
[ 607.446246] ACPI: PM: Saving platform NVS memory
[ 607.446254] Disabling non-boot CPUs ...
[ 607.448677] smpboot: CPU 1 is now offline
[ 607.451797] smpboot: CPU 2 is now offline
[ 607.454574] smpboot: CPU 3 is now offline
[ 607.457734] ACPI: PM: Low-level resume complete
[ 607.457826] ACPI: EC: EC started
[ 607.457827] ACPI: PM: Restoring platform NVS memory
[ 607.460325] Enabling non-boot CPUs ...
[ 607.460469] x86: Booting SMP configuration:
[ 607.460469] smpboot: Booting Node 0 Processor 1 APIC 0x2
[ 607.463058] CPU1 is up
[ 607.463186] smpboot: Booting Node 0 Processor 2 APIC 0x1
[ 607.463969] CPU2 is up
[ 607.464123] smpboot: Booting Node 0 Processor 3 APIC 0x3
[ 607.464816] CPU3 is up
[ 607.465988] ACPI: PM: Waking up from system sleep state S3
[ 607.475371] ACPI: EC: interrupt unblocked
[ 607.526197] ACPI: EC: event unblocked
[ 607.526764] usb usb1: root hub lost power or was reset
[ 607.526769] usb usb2: root hub lost power or was reset
[ 607.528329] i915 0000:00:02.0: [drm] [ENCODER:94:DDI A/PHY A] is disabled/in DSI mode with an ungated DDI clock, gate it
[ 607.528336] i915 0000:00:02.0: [drm] [ENCODER:102:DDI B/PHY B] is disabled/in DSI mode with an ungated DDI clock, gate it
[ 607.528341] i915 0000:00:02.0: [drm] [ENCODER:118:DDI C/PHY C] is disabled/in DSI mode with an ungated DDI clock, gate it
[ 607.530041] sd 0:0:0:0: [sda] Starting disk
[ 607.624606] nvme nvme0: 4/0/0 default/read/poll queues
[ 607.809175] usb 2-4: Disable of device-initiated U1 failed.
[ 607.809212] usb 2-4: Disable of device-initiated U2 failed.
[ 607.840935] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 607.842580] ata1.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
[ 607.842589] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[ 607.842594] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[ 607.845656] ata1.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
[ 607.845664] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[ 607.845669] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[ 607.847134] ata1.00: configured for UDMA/133
[ 607.857243] ahci 0000:00:17.0: port does not support device sleep
[ 607.933193] usb 2-4: reset SuperSpeed USB device number 2 using xhci_hcd
[ 608.072762] usb 1-8: reset full-speed USB device number 8 using xhci_hcd
[ 608.336196] usb 1-4: reset high-speed USB device number 5 using xhci_hcd
[ 608.599419] usb 1-6: reset high-speed USB device number 6 using xhci_hcd
[ 608.862683] usb 1-2: reset full-speed USB device number 13 using xhci_hcd
[ 609.076350] usb 2-4.3: reset SuperSpeed USB device number 3 using xhci_hcd
[ 609.096673] r8152 2-4.3:1.0: skip request firmware
[ 609.114063] r8152 2-4.3:1.0: load rtl8153b-2 v1 10/23/19 successfully
[ 609.189528] usb 1-4.4: reset high-speed USB device number 9 using xhci_hcd
[ 609.399430] usb 1-4.2: reset high-speed USB device number 7 using xhci_hcd
[ 609.896208] usb 1-4.4.2: reset low-speed USB device number 10 using xhci_hcd
[ 611.856368] usb 1-4.4.3: reset full-speed USB device number 11 using xhci_hcd
[ 612.140437] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[ 612.141856] Bluetooth: hci0: Bootloader revision 0.0 build 2 week 52 2014
[ 612.143332] OOM killer enabled.
[ 612.143336] Restarting tasks ...
[ 612.148983] Bluetooth: hci0: Device revision is 5
[ 612.149003] Bluetooth: hci0: Secure boot is enabled
[ 612.149007] Bluetooth: hci0: OTP lock is enabled
[ 612.149012] Bluetooth: hci0: API lock is enabled
[ 612.149015] Bluetooth: hci0: Debug lock is disabled
[ 612.149018] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 612.149550] Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi
[ 612.156852] done.
[ 612.185331] audit: type=1131 audit(1635876531.723:220): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 612.189098] PM: suspend exit
[ 612.305644] audit: type=1130 audit(1635876531.843:221): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 612.561468] audit: type=1130 audit(1635876532.100:222): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 612.561478] audit: type=1131 audit(1635876532.100:223): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 612.687478] audit: type=1130 audit(1635876532.226:224): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 613.729844] Bluetooth: hci0: Waiting for firmware download to complete
[ 613.729847] Bluetooth: hci0: Firmware loaded in 1543251 usecs
[ 613.729877] Bluetooth: hci0: Waiting for device to boot
[ 613.740911] Bluetooth: hci0: Device booted in 10789 usecs
[ 613.740994] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-11-5.ddc
[ 613.744916] Bluetooth: hci0: Applying Intel DDC parameters completed
[ 613.745897] Bluetooth: hci0: Reading supported features failed (-16)
[ 613.746959] Bluetooth: hci0: Firmware revision 0.0 build 10 week 41 2018
[ 614.908483] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s20f0u4u3: link becomes ready
[ 614.908869] r8152 2-4.3:1.0 enp0s20f0u4u3: carrier on
[ 616.136088] wlp2s0: authenticate with c8:0e:14:26:54:3d
[ 616.149796] wlp2s0: send auth to c8:0e:14:26:54:3d (try 1/3)
[ 616.158589] wlp2s0: authenticated
[ 616.159117] wlp2s0: associate with c8:0e:14:26:54:3d (try 1/3)
[ 616.165262] wlp2s0: RX AssocResp from c8:0e:14:26:54:3d (capab=0x1031 status=0 aid=17)
[ 616.169241] wlp2s0: associated
[ 616.169337] wlp2s0: Limiting TX power to 20 (20 - 0) dBm as advertised by c8:0e:14:26:54:3d
[ 616.263511] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[ 617.312776] audit: type=1131 audit(1635876536.853:225): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 619.961126] [UFW BLOCK] IN=enp0s20f0u4u3 OUT= MAC=01:00:5e:00:00:01:dc:15:c8:b3:73:13:08:00 SRC=192.168.178.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=58381 DF PROTO=2
[ 620.058018] [UFW BLOCK] IN=wlp2s0 OUT= MAC=01:00:5e:00:00:01:dc:15:c8:b3:73:13:08:00 SRC=192.168.178.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=58381 DF PROTO=2
[ 620.668096] audit: type=1100 audit(1635876540.206:226): pid=4387 uid=0 auid=1000 ses=1 subj==unconfined msg='op=PAM:authentication grantors=pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring acct="hansm" exe="/usr/lib/gdm-session-worker" hostname=hanstop addr=? terminal=/dev/tty1 res=success'
[ 620.672907] audit: type=1101 audit(1635876540.213:227): pid=4387 uid=0 auid=1000 ses=1 subj==unconfined msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="hansm" exe="/usr/lib/gdm-session-worker" hostname=hanstop addr=? terminal=/dev/tty1 res=success'
[ 620.675873] audit: type=1110 audit(1635876540.216:228): pid=4387 uid=0 auid=1000 ses=1 subj==unconfined msg='op=PAM:setcred grantors=pam_shells,pam_faillock,pam_permit,pam_faillock,pam_gnome_keyring acct="hansm" exe="/usr/lib/gdm-session-worker" hostname=hanstop addr=? terminal=/dev/tty1 res=success'
[ 623.014400] audit: type=1131 audit(1635876542.553:229): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 625.012470] audit: type=1131 audit(1635876544.550:230): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 625.129449] audit: type=1334 audit(1635876544.670:231): prog-id=0 op=UNLOAD
[ 627.018320] audit: type=1100 audit(1635876546.556:232): pid=4499 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:authentication grantors=pam_unix acct="hansm" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 627.022120] audit: type=1101 audit(1635876546.560:233): pid=4499 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="hansm" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 627.022929] audit: type=1110 audit(1635876546.563:234): pid=4499 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:setcred grantors=pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 627.030933] audit: type=1105 audit(1635876546.570:235): pid=4499 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/1 res=success'
[ 630.835856] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 630.841065] sd 0:0:0:0: [sda] Stopping diskI suppose it is some power issue because it works on AC but not on battery.
Any help is greatly appreciated.
Offline