Comment 26 for bug 1766825

Revision history for this message
Cyrus Lien (cyruslien) wrote :

A quick workaround is rmmod btusb before suspend and insert btusb after resume.
To do this, you can put a executable script of any name in /lib/systemd/system-sleep/.

Example:
#!/bin/sh

if [ "$1" = "pre" ]; then
  systemctl stop bluetooth && rmmod btusb
elif [ "$1" = "post" ]; then
  modprobe btusb && systemctl start bluetooth
fi