You are not logged in.

#1 2023-06-22 10:18:04

Overview6788
Member
Registered: 2023-06-22
Posts: 1

Laptop keep waking up while it is on `sleep` and `shut down`.

1. While the laptop is on sleep, `something` is waking up my laptop but really have no idea what is triggering. When I check `journalctl` everytime it woke up, very similar logs are coming up so I posted only some of them.

I attached `inxi -Fxxxx` and `journalctl` logs below.

2. When I `shut down` the laptop, sooner or later it starts rebooting, it takes some seconds to some minutes. I am using `grub` and installed Windows first, so it is dual-booted. `WOL` and `Secure boot` is disabled on BIOS.

`cat /etc/default/grub`

```
GRUB_DEFAULT=0
GRUB_TIMEOUT=1 # sec
GRUB_TIMEOUT_STYLE=hidden # menu
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=menu

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `videoinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
```

`inxi -Fxxxx`

```
System:
  Host: Arch Kernel: 6.3.8-arch1-1 arch: x86_64 bits: 64 compiler: gcc
    v: 13.1.1 Desktop: KDE Plasma v: 5.27.6 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 1
    dm: SDDM Distro: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82L0 v: Yoga Slim 7 Carbon 14ACN6
    serial: <superuser required> Chassis: type: 10 v: Yoga Slim 7 Carbon 14ACN6
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <superuser required>
    UEFI: LENOVO v: H5CN38WW date: 09/29/2022
Battery:
  ID-1: BAT0 charge: 33.8 Wh (57.5%) condition: 58.8/61.0 Wh (96.4%)
    volts: 8.2 min: 7.7 model: Celxpert L20C4PF2 type: Li-poly serial: N/A
    status: charging cycles: 30
CPU:
  Info: 6-core model: AMD Ryzen 5 5600U with Radeon Graphics bits: 64
    type: MT MCP smt: enabled arch: Zen 3 rev: 0 cache: L1: 384 KiB L2: 3 MiB
    L3: 16 MiB
  Speed (MHz): avg: 3064 high: 3664 min/max: 1600/4288 boost: enabled cores:
    1: 3093 2: 3163 3: 3582 4: 3369 5: 2847 6: 3443 7: 3060 8: 2369 9: 2773
    10: 2632 11: 3664 12: 2783 bogomips: 55123
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA TU117M [GeForce MX450] vendor: Lenovo driver: nvidia
    v: 535.54.03 arch: Turing pcie: speed: 2.5 GT/s lanes: 4 bus-ID: 01:00.0
    chip-ID: 10de:1f9c class-ID: 0302
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5 pcie: speed: 8 GT/s
    lanes: 16 ports: active: DP-1,DP-2,eDP-1 empty: none bus-ID: 04:00.0
    chip-ID: 1002:1638 class-ID: 0300 temp: 65.0 C
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia
    alternate: fbdev,nouveau,nv,vesa dri: radeonsi gpu: amdgpu display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 8240x1800 s-dpi: 96 s-size: 2179x475mm (85.79x18.70")
    s-diag: 2230mm (87.8") monitors: <missing: xrandr>
  Monitor-1: DP-1 model: BenQ ZOWIE XL LCD serial: EBB6M00862SL0
    res: 1920x1080 dpi: 90 size: 544x303mm (21.42x11.93") diag: 623mm (24.5")
    modes: max: 1920x1080 min: 720x400
  Monitor-2: DP-2 model: Samsung CF791 serial: HTRHC00189 res: 3440x1440
    dpi: 110 size: 797x333mm (31.38x13.11") diag: 864mm (34") modes:
    max: 3440x1440 min: 720x400
  Monitor-3: eDP-1 model: Samsung 0x4152 res: 2880x1800 dpi: 242
    size: 302x189mm (11.89x7.44") diag: 356mm (14") modes: max: 2880x1800
    min: 640x480
  API: OpenGL v: 4.6 Mesa 23.1.2 renderer: AMD Radeon Graphics (renoir LLVM
    15.0.7 DRM 3.52 6.3.8-arch1-1) direct-render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 04:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo
    driver: snd_rn_pci_acp3x v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 04:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 04:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  API: ALSA v: k6.3.8-arch1-1 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 0.3.71 status: off with: pipewire-media-session
    status: off
  Server-3: PulseAudio v: 16.1 status: active
Network:
  Device-1: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: Lenovo driver: mt7921e v: kernel pcie: speed: 5 GT/s lanes: 1
    bus-ID: 02:00.0 chip-ID: 14c3:7961 class-ID: 0280
  IF: wlp2s0 state: up mac: c8:94:02:fa:66:e5
  IF-ID-1: docker0 state: down mac: 02:42:85:3c:4a:d4
Bluetooth:
  Device-1: Foxconn / Hon Hai MediaTek Bluetooth Adapter driver: btusb v: 0.8
    type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 bus-ID: 3-4:4 chip-ID: 0489:e0cd
    class-ID: e001 serial: 000000000
  Report: rfkill ID: hci0 rfk-id: 5 state: up address: see --recommends
Drives:
  Local Storage: total: 1.82 TiB used: 45.54 GiB (2.4%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT2000P5PSSD8 size: 1.82 TiB
    speed: 63.2 Gb/s lanes: 4 tech: SSD serial: 23033DE93CD5 fw-rev: P7CR403
    temp: 35.9 C scheme: GPT
Partition:
  ID-1: / size: 97.87 GiB used: 45.5 GiB (46.5%) fs: ext4 dev: /dev/nvme0n1p4
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 69.5 C mobo: N/A gpu: amdgpu temp: 64.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 347 Uptime: 2d 21h 24m wakeups: 39444 Memory:
  available: 13.51 GiB used: 6.26 GiB (46.4%) Init: systemd v: 253
  default: graphical Compilers: gcc: 13.1.1 clang: 15.0.7 Packages: pm: pacman
  pkgs: 945 Shell: Zsh v: 5.9 running-in: konsole inxi: 3.3.27
```

`journalctl`

```
Jun 22 13:54:12 Arch kded5[146719]: org.kde.plasma.nm.kded: Unhandled active connection state change:  3

Jun 22 14:10:25 Arch kcminit[226238]: Initializing  "/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
Jun 22 14:10:25 Arch kcminit[226238]: Initializing  "/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
Jun 22 14:10:25 Arch kcminit[226238]: kcm_touchpad: Using X11 backend
Jun 22 14:10:28 Arch kded5[146719]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/47”"
Jun 22 14:10:28 Arch plasmashell[146779]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/47”"
Jun 22 14:10:28 Arch kdeconnectd[146963]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/47”"
Jun 22 14:10:28 Arch DiscoverNotifier[146971]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/47”"
Jun 22 14:10:29 Arch plasmashell[146779]: qt.gui.icc: fromIccProfile: failed minimal tag size sanity

Jun 22 14:20:25 Arch plasmashell[146779]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_04_00.1.HiFi__hw_Generic_7__sink"
Jun 22 14:20:25 Arch plasmashell[146779]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_04_00.1.HiFi__hw_Generic_7__sink"

Jun 22 14:25:25 Arch kded5[146719]: org.kde.plasma.nm.kded: Unhandled active connection state change:  3

Jun 22 14:38:04 Arch systemd[87048]: Stopped target Bluetooth.
Jun 22 14:38:04 Arch systemd[87048]: Reached target Bluetooth.
Jun 22 14:38:04 Arch pulseaudio[147059]: Could not find org.bluez.BatteryProviderManager1.RegisterBatteryProvider(), is bluetoothd started with exper>
Jun 22 14:38:05 Arch kcminit[226438]: Initializing  "/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
Jun 22 14:38:05 Arch kcminit[226438]: Initializing  "/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
Jun 22 14:38:05 Arch kcminit[226438]: kcm_touchpad: Using X11 backend
Jun 22 14:38:08 Arch kded5[146719]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/47”"
Jun 22 14:38:08 Arch plasmashell[146779]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/47”"
Jun 22 14:38:08 Arch plasmashell[146779]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/47”"
Jun 22 14:38:08 Arch DiscoverNotifier[146971]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/47”"
Jun 22 14:38:08 Arch kdeconnectd[146963]: "Object does not exist at path “/org/freedesktop/NetworkManager/ActiveConnection/47”"
Jun 22 14:38:09 Arch plasmashell[146779]: qt.gui.icc: fromIccProfile: failed minimal tag size sanity

Jun 22 14:46:02 Arch kcminit[226574]: Initializing  "/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
Jun 22 14:46:02 Arch kcminit[226574]: Initializing  "/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
Jun 22 14:46:02 Arch kcminit[226574]: kcm_touchpad: Using X11 backend
Jun 22 14:46:03 Arch kcminit[226582]: Initializing  "/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
Jun 22 14:46:03 Arch kcminit[226582]: Initializing  "/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
Jun 22 14:46:03 Arch kcminit[226582]: kcm_touchpad: Using X11 backend
Jun 22 14:46:08 Arch kscreenlocker_greet[222879]: pam_systemd_home(kde:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service>
Jun 22 14:46:16 Arch systemd[87048]: Started Konsole - Terminal.
Jun 22 14:46:16 Arch konsole[226599]: kf.xmlgui: Shortcut for action  "" "Show SSH Manager" set with QAction::setShortcut()! Use KActionCollection::s>
Jun 22 14:46:16 Arch konsole[226599]: kf.xmlgui: Shortcut for action  "" "Show Quick Commands" set with QAction::setShortcut()! Use KActionCollection>
Jun 22 14:46:24 Arch kcminit[226675]: Initializing  "/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
Jun 22 14:46:24 Arch kcminit[226675]: Initializing  "/usr/lib/qt/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
Jun 22 14:46:24 Arch kcminit[226675]: kcm_touchpad: Using X11 backend
Jun 22 14:46:28 Arch plasmashell[146779]: file:///usr/lib/qt/qml/org/kde/plasma/core/private/DefaultToolTip.qml:59:13: QML Heading: Binding loop dete>
```

If you need any other logs, please let me know

Offline

#2 2023-06-24 20:13:44

markboston38
Member
Registered: 2023-06-24
Posts: 8

Re: Laptop keep waking up while it is on `sleep` and `shut down`.

the only thing that can wake the computer is either a process that starts running or you plug something into the system(also pressing a button on the keyboard) does the computer fully shut off then turn back on? or does it simply go into shut down and then turn back on? has this always happened? or did you install a program or update that started this? journalctl | grep systemd-sleep will show you whats going on.

Offline

#3 2023-06-24 20:38:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,196

Re: Laptop keep waking up while it is on `sleep` and `shut down`.

Please use [code][/code] tags, the BBS predates markdown. Edit your post in this regard.

Next, 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.
It might very well be windows that's waking the system.

If that's not it

cat /proc/acpi/wakeup
lspci -nn
lsusb

For an actually relevant journal:

sudo journalctl -b -1 | curl -F 'f:1=<-' ix.io

Offline

Board footer

Powered by FluxBB