@star@amazonawaws.comHCI_DEVICE=`rfkill list all | grep -o 'hci*.'`
sudo hciconfig $HCI_DEVICE down
sudo systemctl disabled bluetooth
sudo rmmod btusb
sudo modprobe btusb
sudo hciconfig $HCI_DEVICE up
sudo systemctl enable bluetoothrfkill list all also has some more information like whether there's a software or hardware block active, and lists other types of devices too, might be interesting to check first)