ux433fa bluetooth not working code example

Example 1: ubuntu bluetooth not working

#turn bluetooth on:
sudo /etc/init.d/bluetooth restart

# make it automatic on boot
sudo systemctl enable bluetooth

Example 2: 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