Bug ID 1193417
Summary using a Bluetooth keyboard slows down going to sleep for a few seconds
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Kernel
Assignee kernel-bugs@opensuse.org
Reporter suse@rop.cx
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

when I have a Bluetooth keyboard connected and I press the switch to sleep
mode, then at first the screen simply locks, stays in this state for about 4-6
seconds and only then goes to sleep mode

Kernel logs:
06/12/2021 01:57    systemd-logind    Power key pressed.
06/12/2021 01:57    dbus-daemon    [session uid=1000 pid=1840] Activating
service name='org.kde.LogoutPrompt' requested by ':1.13' (uid=1000 pid=1991
comm="/usr/bin/ksmserver ")
06/12/2021 01:57    dbus-daemon    [session uid=1000 pid=1840] Successfully
activated service 'org.kde.LogoutPrompt'
06/12/2021 01:57    NetworkManager    <info>  [1638745075.7552] manager: sleep:
sleep requested (sleeping: no  enabled: yes)
06/12/2021 01:57    ModemManager    <info>  [sleep-monitor] system is about to
suspend
06/12/2021 01:57    kded5    bluedevil: About to suspend
06/12/2021 01:57    kded5    plasma-nm: Unhandled active connection state
change:  3
06/12/2021 01:57    dbus-daemon    [system] Activating via systemd: service
name='org.freedesktop.nm_dispatcher'
unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.6' (uid=0
pid=1166 comm="/usr/sbin/NetworkManager --no-daemon ")
06/12/2021 01:57    dbus-daemon    [system] Activating via systemd: service
name='org.freedesktop.PackageKit' unit='packagekit.service' requested by
':1.53' (uid=1000 pid=2018 comm="/usr/bin/plasmashell ")
06/12/2021 01:57    systemd    Starting Network Manager Script Dispatcher
Service...
06/12/2021 01:57    systemd    Starting PackageKit Daemon...
06/12/2021 01:57    PackageKit    daemon start
06/12/2021 01:57    dbus-daemon    [system] Successfully activated service
'org.freedesktop.nm_dispatcher'
06/12/2021 01:57    systemd    Started Network Manager Script Dispatcher
Service.
06/12/2021 01:57    kernel    wlp0s20f3: deauthenticating from
f8:f0:82:6d:a9:5a by local choice (Reason: 3=DEAUTH_LEAVING)
06/12/2021 01:57    dbus-daemon    [system] Successfully activated service
'org.freedesktop.PackageKit'
06/12/2021 01:57    plasmashell    plasma-pk-updates: Daemon changed
06/12/2021 01:57    kscreenlocker_greet    Qt: Session management error:
networkIdsList argument is NULL
06/12/2021 01:57    kded5    plasma-nm: Not emitting connection deactivated
notification as we're about to suspend
06/12/2021 01:57    kded5    plasma-nm: Network connectivity limited,
scheduling notification
06/12/2021 01:57    kscreenlocker_greet   
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserList.qml:47:9:
Unable to assign [undefined] to bool
06/12/2021 01:57    systemd    Reached target Sleep.
06/12/2021 01:57    systemd    Starting System Suspend...
06/12/2021 01:57    kscreenlocker_greet   
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml:535:
TypeError: Cannot read property 'longName' of undefined
06/12/2021 01:57    systemd-sleep    INFO: Skip running
/usr/lib/systemd/system-sleep/grub2.sleep for suspend
06/12/2021 01:57    systemd-sleep    Entering sleep state 'suspend'...
06/12/2021 01:57    kernel    PM: suspend entry (s2idle)
06/12/2021 01:57    kernel    Filesystems sync: 0.008 seconds
06/12/2021 01:57    kscreenlocker_greet    qt.virtualkeyboard.hunspell:
Hunspell dictionary is missing for "en_GB" . Search paths
("/usr/share/qt5/qtvirtualkeyboard/hunspell", "/usr/share/hunspell",
"/usr/share/myspell/dicts")
06/12/2021 01:57    org_kde_powerdevil    QObject::disconnect: Unexpected
nullptr parameter
06/12/2021 01:57    org_kde_powerdevil    QObject::disconnect: Unexpected
nullptr parameter
06/12/2021 02:00    kernel    Bluetooth: hci0: Timed out waiting for suspend
events
06/12/2021 02:00    kernel    Bluetooth: hci0: Suspend timeout bit: 6
06/12/2021 02:00    kernel    Bluetooth: hci0: Suspend notifier action (3)
failed: -110
06/12/2021 02:00    kernel    Freezing user space processes ... (elapsed 0.003
seconds) done.
06/12/2021 02:00    kernel    OOM killer disabled.
06/12/2021 02:00    kernel    Freezing remaining freezable tasks ... (elapsed
0.001 seconds) done.
06/12/2021 02:00    kernel    printk: Suspending console(s) (use
no_console_suspend to debug)
06/12/2021 02:00    kernel    ACPI: EC: interrupt blocked
06/12/2021 02:00    kernel    ACPI: EC: interrupt unblocked
06/12/2021 02:00    kernel    OOM killer enabled.
06/12/2021 02:00    kernel    Restarting tasks ... 
06/12/2021 02:00    kernel    mei_hdcp
0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops
i915_hdcp_component_ops [i915])
06/12/2021 02:00    bluetoothd    Controller resume with wake event 0x0
06/12/2021 02:00    systemd-sleep    System returned from sleep state.
06/12/2021 02:00    systemd    Started Timeline of Snapper Snapshots.
06/12/2021 02:00    kernel    done.
06/12/2021 02:00    kernel    PM: suspend exit
06/12/2021 02:00    systemd-sleep    INFO: Skip running
/usr/lib/systemd/system-sleep/grub2.sleep for suspend
06/12/2021 02:00    systemd    systemd-suspend.service: Deactivated
successfully.
06/12/2021 02:00    systemd    Finished System Suspend.
06/12/2021 02:00    systemd    Stopped target Sleep.
06/12/2021 02:00    systemd    Reached target Suspend.
06/12/2021 02:00    systemd    Stopped target Suspend.
06/12/2021 02:00    systemd-logind    Operation 'sleep' finished.


So, probably problem in:
06/12/2021 02:00    kernel    Bluetooth: hci0: Timed out waiting for suspend
events
06/12/2021 02:00    kernel    Bluetooth: hci0: Suspend timeout bit: 6
06/12/2021 02:00    kernel    Bluetooth: hci0: Suspend notifier action (3)
failed: -110
(timed out)


You are receiving this mail because: