-
-
Save eliroca/02231d4555b8e9726fd138e3f8015e21 to your computer and use it in GitHub Desktop.
bt-headset-hack.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# add pulseaudio-modules-bt from home:MasterPatricko for ldac codec | |
echo -e "pair 38:18:x:xx:xx:xx\nyes" | bluetoothctl | |
sleep 2 | |
bluetoothctl -- trust 38:18:x:xx:xx:xx | |
bluetoothctl -- connect 38:18:x:xx:xx:xx | |
sleep 2 | |
bluetoothctl -- disconnenct 38:18:x:xx:xx:xx | |
sleep 2 | |
pulseaudio -k && pulseaudio --start | |
bluetoothctl -- connect 38:18:x:xx:xx:xx | |
sleep 3 | |
pactl list | grep a2dp_codec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment