Bluetooth earbuds not working properly with Trisquel 11 (they did with 10)

11 respostas [Última entrada]
GNUser
Desconectado
Joined: 07/17/2013

Hey everyone,

So, I have a Mi True Earbuds Basic 2, bluetooth, which work great with both smartphone (can play stereo and use it to pause/resume playback, as well as audiocalls). These also work well with Trisquel 10 (can playback stereo and use it for audiocalls in Telegram, BUT they don't pause/resume playback).

Unfortunately, when I tried using them after upgrading to Trisquel 11, it seems something is off. I can turn on ONE of the earbuds and it plays sound AND even pauses/resume playback. But when I turn both on, even though Trisquel connects to them and asks to allow for audio and remote control, there is no sound! It still works to pause/resume playback but there is no sound. I have tried reinstalling pulse and blueman and restarting the services, I have made the "forget device" to start afresh, and still.... the behavior remains the same.

Machine is updated, so I don't think it's any issue with kernel version either.

Any help would be greatly appreciated. Thanks

prospero
Desconectado
Joined: 05/20/2022

Wild suggestion from a wildebeest:

sudo apt install --reinstall pulseaudio-module-bluetooth
pactl unload-module module-bluetooth-discover
pactl load-module module-bluetooth-discover

Else could you post which commands you ran?

GNUser
Desconectado
Joined: 07/17/2013

Thanks for the recommendation. I tried it and it showed "25" but nothing changed.
I tried following some online suggestions of people in similar situations:

https://ao.bloat.cat/exchange/superuser.com/questions/1546367/no-sound-on-bluetooth-headphone-in-ubuntu-20-04

https://ao.bloat.cat/exchange/askubuntu.com/questions/1232159/ubuntu-20-04-no-sound-out-of-bluetooth-headphones

And some others. But the best I got was that first mono sound (the low quality version) worked on both earbuds, then it switched and worked well in both, but later when i closed the file that was playing and opened another one, it never worked again. So.... I don't understand what is going on, which is why I can't fix it. I feel stupid! :(

The "remote control" thing always works which is annoying, I could do without it, but I can't get the sound to work!

Ark74

I am a member!

I am a translator!

Desconectado
Joined: 07/15/2009

I might try something like, getting a 8GB+ clean pendrive, setup Ventoy on it, then get T11 and T12 (development) ISO images:

Then copy both iso files into the pendrive, reboot into the pendrive and test the "clean" behavior for both T11 and T12 with your device.

I use a bluetooth headset and they perform really good.
In Mate I can choose to use them as a headset or as "high quality sound" headphones, weird it can't get both at the same time but I haven't really dug into why :P

Regards

GNUser
Desconectado
Joined: 07/17/2013

Thanks for the suggestion.
I downloaded the T12 image you linked to, booted it, and voila! The earbuds work perfectly!
Now.... aside from "wait until T12 comes out officially and update to it", how should I go about solving it in T11? :P
Like... something must be off on T11, because it worked in T10, works in T12, but not in T11... Still other bluetooth devices work well in T11 with the same machine (Sony portable speaker, sending files to smartphone, etc).

Thanks in advance for any insight!

Ark74

I am a member!

I am a translator!

Desconectado
Joined: 07/15/2009

IIRC, you upgraded from T10, right?

My hunch is that if you try a live T11 ISO, you’ll get the same good behavior as with T10 and T12.
This would suggest that some configuration or missing package might be causing the issue you’re seeing.

Try booting with a T11 live ISO and see if the issue still happens. If you have the same problem with the live ISO, let us know.
If not, try creating a new user on your system, log in with that user, and check if the issue persists.
If the bad behavior goes away for the new user, it’s likely something in your .config, .local, or another user-specific setting.

On the other hand, if even with a new user the problem remains, it could be that an old library is still present on your system, or that some of Trisquel’s recommended packages or libraries are missing.

Hope this helps you narrow down the source of the problem.

Regards

GNUser
Desconectado
Joined: 07/17/2013

Right again you are!
I booted the T11 live usb and it worked right away with the earbuds.
BUT, when I created a new user, the same bad behavior remains. So... I suppose it's not something user-specific. Possibly something weird happening when I upgraded from T10 to T11.
If I wanted to, like... Completely remove all the bluetooth and sound drivers/software/files, and install them afresh, what should I try? Because I already tried reinstalling blueman, pulseaudio, alsa, pavucontrol.... And it didn't solve it. Although, I did get it working once like yesterday, like I mentioned. So it is possible to fix, albeit not sure how.

Ark74

I am a member!

I am a translator!

Desconectado
Joined: 07/15/2009

Troubleshooting takes time and requires to check several possibilities.

You might want to start by checking on a terminal the output for:

dpkg-query -l | grep '+10.0trisquel'

And find out how many old packages might be left behind. As some might still be there.

Regards.

GNUser
Desconectado
Joined: 07/17/2013

Thanks!
It turns out, there was a lot more left than I expected. Though, mostly it's related to the kernel. I am thinking about trying to get Linux Libre instead of the Trisquel one (uname -r shows "5.15.0-143-generic").

I also included the output here, if you wouldn't mind looking at it maybe you will spot some other troublesome package that I missed.
I also am going to remove KDE Connect, which I don't use anyway (listed there).

Thanks again for all the help :)

AnexoTamaño
output.txt 12.78 KB
GNUser
Desconectado
Joined: 07/17/2013

Ok, this might be just preliminary success but I was able to install and boot with linux-libre 6.15.7 and the bluetooth worked fine with my earbuds!
I think it might be the case that the old kernel files were somehow interfering. I will see if I can get them removed completely. Wish me luck!
Thanks again for the help!

GNUser
Desconectado
Joined: 07/17/2013

So running the same previous commands doesn't seem to help much, as I expected. I suppose if there is some previous file/library installed or missing, it is not just a matter of running the reinstall command enough.
Still, anyone has any similar issue? Or any idea of what might the missing/incorrect configuration file that might need replacing?
Thanks.

GNUser
Desconectado
Joined: 07/17/2013

So, it seems to be solved now.
Removed T10 remaining packages, made sure to install Linux Libre 6.15 and it earbuds now work properly. It now can even control playback.
Thanks!