summarylogtreecommitdiffstats
path: root/startbt.sh
diff options
context:
space:
mode:
authorRaimar Bühmann2015-12-30 20:58:48 +0100
committerRaimar Bühmann2015-12-30 20:58:48 +0100
commit474b0f47b9612765888902db0c3d631d9ab47954 (patch)
tree9a06b7a541b9381a4ce2c049f39fc26459500fed /startbt.sh
parent0d86e25d4271d10116960a1a3649220a53257b04 (diff)
downloadaur-474b0f47b9612765888902db0c3d631d9ab47954.tar.gz
add script startbt.sh to start the bluetooth device manually
Diffstat (limited to 'startbt.sh')
-rwxr-xr-xstartbt.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/startbt.sh b/startbt.sh
new file mode 100755
index 000000000000..d2eed4b7e4e0
--- /dev/null
+++ b/startbt.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/bash
+# manually start the bluetooth device BCM43142A0
+
+# set the vendor and product ID
+echo "105b e065" > /sys/bus/usb/drivers/btusb/new_id
+
+# start the device
+hciconfig hci0 up
+
+# the device can be stopped with "sudo hciconfig hci0 down"