1. 8

Bluetooth audio is so unreliable on Linux that I gave up pairing my headphones with the laptop. Instead, I am using my Android smartphone to listen to music over my bluetooth headphones and it works like a charm. There are multiple problems with bluetooth audio on my Linux machine, e.g. A2DP does not work after reconnecting or the connection gets lost randomly. I do not know a single person where bluetooth audio on Linux works out of the box and I have invested several hours reading journalctl logs and trying to fix pulseaudio’s configuration but I still can’t pinpoint the source of the problem. Somehow, other features like internet connection sharing over bluetooth seem to work fine.

What is your experience with bluetooth and especially bluetooth audio on Linux?

  1.  

  2. 2

    like the first hn comment says, i think with linux the problem is bluez. i once looked at it while fiddling with some bluetooth stuff and the only usable documentation i could find was http://people.csail.mit.edu/albert/bluez-intro/ . combine that with pulseaudio and you are good to go.

    sidenote: while experimenting with it, i found that you don’t have to use the bluez stack, at least https://github.com/paypal/gatt uses the network device directly.

    1. 2

      Firstly the NDA’s and proprietary blobs all over the place make it a nightmare to do anything with the chips.

      The scales are such the chip manufacturer won’t even say “G’Day” unless you buying biblical amounts.

      You have to load a dark matter firmware blob into the chip….

      Which one? It’s based on the version number of the chip on the board.

      Grreat. Find blah-n.m.p.bts and load her up and go…..

      …but wait. There is another file on the ’net called blah-n.m.p.bts which one is The Right one? Wait…. Oh Gawd. There are six flaming files, all call blah-n.m.p.bts on various part of the net all with different md5 checksums. Which is the right one?

      Swear swear swear…..

      Load them in one by one until you find the one that seems least flaky.

      The BT specs are pretty good as such…. but insanely ridiculously huge.

      So here on one side you have a chip costing a dollar or so….. and on the other literally a mountain of specs.

      I truly, truly wish they would just plain stop it and make it hugely simpler.

      1. 1

        Update: I would like to remove the audio tag from this story but I can not edit it anymore.

        1. 1

          I have a long term project for building car media player - based on RaspberryPi and cheep LCD screen from eBay that fits in original head-up display from Chrysler (that was broken). I plan to use BT audio to send sound from RPi placed in the middle of car to radio in the front. What may go wrong here?