aboutsummaryrefslogtreecommitdiff
path: root/bt-fix
diff options
context:
space:
mode:
Diffstat (limited to 'bt-fix')
-rwxr-xr-xbt-fix10
1 files changed, 10 insertions, 0 deletions
diff --git a/bt-fix b/bt-fix
new file mode 100755
index 0000000..1d9cfc4
--- /dev/null
+++ b/bt-fix
@@ -0,0 +1,10 @@
+#!/bin/sh
+# Reset Bluetooth adapter (run as root)
+
+systemctl stop bluetooth.service
+modprobe -r btusb
+modprobe btusb
+systemctl start bluetooth.service
+rfkill unblock bluetooth
+bluetoothctl power on
+