systemctl | grep -i blue
sudo rmmod btusb
sudo modprobe btusb
Hard Refresh
End Service (If it is running)
sudo systemctl stop bluetooth.service
Removes Hardware Emulation
sudo systemctl unmask bluetooth.service
Start Service
sudo systemctl start bluetooth.service
sudo systemctl enable bluetooth
Re-Enable Hardware Emulation
sudo systemctl mask bluetooth.service
sudo rmmod btusb
sudo modprobe btusb
Unblock from rfkill
rfkill unblock all
$ cat /lib/systemd/system-sleep/bt
#!/bin/sh
case $1 in
post)
sleep 5
rfkill block `rfkill list | grep hci | cut -d: -f1`
sleep 1
rfkill unblock `rfkill list | grep hci | cut -d: -f1`
;;
esac
sudo service bluetooth restart
btnum=`rfkill list|grep hci0| cut -f 1 -d ':'`
rfkill block $btnum
rfkill unblock $btnum