modified | Sunday 6 April 2025 |
---|
linux bluetooth windows snippet
1bluetoothctl
2scan on
3pair <device>
4trust <device>
5connect <device>
I tried to do it from blueman devices interface and it took over half an hour and one time restarting and removing/installing the bluetooth adapter. then tried the CLI and it worked in a minute.
Every minute or so, the audio stutter and stops for a couple of seconds.
btmgmt
command shows the following everytime this happens:
hci0 xx:xx:xx:xx:xx:xx type BR/EDR connect failed (status 0x04, Connect Failed)
I noticed this xx:xx:xx:xx:xx:xx
is the id of the bluetooth speaker. it happened while I’m using the headphones. so this means the stutter is because the machine tries to connect to the other speaker (even when the speaker was off).
So I disabled the “auto reconnect” for both devices to avoid this issue. and it fixed the issue for me.