[Bug 219514] PC does not resume from suspend, bisect points to btusb/mediatek

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=219514

Olivier Croquette (olivier@xxxxxxxxxxxx) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |olivier@xxxxxxxxxxxx

--- Comment #4 from Olivier Croquette (olivier@xxxxxxxxxxxx) ---
I also bisected this and came to commit
d019930b0049fc2648a6b279893d8ad330596e81, which is in the same area. I also
found similar reports:

https://bugzilla.kernel.org/show_bug.cgi?id=219290
https://bugzilla.redhat.com/show_bug.cgi?id=2314036
https://bbs.archlinux.org/viewtopic.php?id=295916
https://bbs.archlinux.org/viewtopic.php?id=299987
https://discussion.fedoraproject.org/t/kernel-6-11-3-200-fc40-unable-to-resume-from-suspend-when-bluetooth-enabled/134008/10
https://discussion.fedoraproject.org/t/system-cannot-wake-up/134199/39

A workaround that works for me and does not require to patch the kernel is the
following service:

# /etc/systemd/system/bt-fix.service
# 
# Author: Bojan Kseneman
#
https://discussion.fedoraproject.org/t/kernel-6-11-3-200-fc40-unable-to-resume-from-suspend-when-bluetooth-enabled/134008/17

[Unit]
Description=Disable Bluetooth before going to sleep
Before=sleep.target
StopWhenUnneeded=yes

[Service]
Type=oneshot
RemainAfterExit=yes

ExecStart=/usr/sbin/rfkill block bluetooth
ExecStop=/usr/sbin/rfkill unblock bluetooth

[Install]
WantedBy=sleep.target



I also wrote on the linux-bluetooth mailing list, with stack trace from a
kernel oops:

https://lore.kernel.org/linux-bluetooth/073c3b772abe84d480913495eea0c4da73607d6e.camel@xxxxxxxxxxxx/T/#u

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux