Answers for "ubuntu bluetooth not working after suspend"

1

bluetooth does not work after lock ubuntu

#!/bin/bash
#Code from http://ubuntuforums.org/showthread.php?t=1387211

. /usr/lib/pm-utils/functions

case "$1" in
    hibernate|suspend)
    rfkill block bluetooth
    ;;
    thaw|resume)
    rfkill unblock bluetooth
    ;;
    *)
    ;;
esac

exit
Posted by: Guest on August-26-2020
0

bluetooth does not work after lock ubuntu

cd /etc/pm/sleep.d
sudo touch 10_bluetooth
sudo chmod 0755 10_bluetooth
sudo kate 10_bluetooth
Posted by: Guest on August-26-2020
0

ubuntu bluetooth not working after suspend

#!/bin/sh
# sudo nano /lib/systemd/system-sleep/bt
# Paste in this script:

case $1 in
  post)
    modprobe -r btusb
    sleep 1
    service bluetooth restart
    sleep 1
    modprobe btusb
    ;;
esac

# An finally make it executable
chmod +x /lib/systemd/system-sleep/bt
Posted by: Guest on October-08-2020

Code answers related to "ubuntu bluetooth not working after suspend"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language