summaryrefslogtreecommitdiff
path: root/vimwiki/Bluetooth.md
diff options
context:
space:
mode:
authorVito Graffagnino <vito@graffagnino.xyz>2020-09-08 18:10:49 +0100
committerVito Graffagnino <vito@graffagnino.xyz>2020-09-08 18:10:49 +0100
commit3b0142cedcde39e4c2097ecd916a870a3ced5ec6 (patch)
tree2116c49a845dfc0945778f2aa3e2118d72be428b /vimwiki/Bluetooth.md
parent8cc927e930d5b6aafe3e9862a61e81705479a1b4 (diff)
Added the relevent parts of the .config directory. Alss add ssh config
Diffstat (limited to 'vimwiki/Bluetooth.md')
-rw-r--r--vimwiki/Bluetooth.md46
1 files changed, 46 insertions, 0 deletions
diff --git a/vimwiki/Bluetooth.md b/vimwiki/Bluetooth.md
new file mode 100644
index 0000000..1bef6a4
--- /dev/null
+++ b/vimwiki/Bluetooth.md
@@ -0,0 +1,46 @@
+# Bluetooth #
+
+if the following fails to connect/pair successfully, then issue the following command:
+
+`sudo rfkill unblock bluetooth`
+
+So to start we issue the following commands to make sure that bluetooth is running and enabled.
+
+`sudo systemctl restart bluetooth`
+
+ `sudo systemctl enable bluetooth ` (this is only if you wish bluetooth to start at boot-up)
+
+we can then check that this is so with:
+
+`systemctl status -l bluetooth`
+
+You can then enter the bluetooth shell with:
+
+`bluetoothctl`
+
+Turn the power on and find out the device MAC address:
+
+`power on`
+
+`devices`
+
+if not paired you can enter `pair MAC_ADDRESS`. if already pair you can enter `trust MAC_ADDRESS`
+
+then enter `connect MAC_ADDRESS`
+
+
+you can now exit and use pavucontrol or the scripts pa-global or pa-solo to redirect sound to the headset.
+
+Ref: Archlinux Wiki [bluetooth](https://wiki.archlinux.org/index.php/bluetooth)
+
+
+To prevent audio autoskipping with the A2DP profile try the following:
+
+`echo "options iwlwifi bt_coex_active=0" | sudo tee -a /etc/modprobe.d/iwlwifi.conf`
+
+This disables the bluetooth coexistance parameter of the iwlwifi module (sometimes wifi intereferes with the bluetooth)
+In this setups case the file may actually be 50-iwl3945.conf so modify the above as follows.
+
+`echo "options iwl3945 bt_coex_active=0" | sudo tee -a /etc/modprobe.d/50-iwl3945.conf`
+
+