Sony Headphones – Bluetooth Initial Autoconnect for Sony Noise-Cancelling Headphones (WH-1000XM2/3)

18.04bluetoothheadphonessonysound

So I have Ubuntu 18.04 installed on both my personal and work laptops and I am experiencing the same issue on both of them.

I have Sony WH-1000XM3 noise-canceling headphones and they are paired, everything is fine and working, the only problem is that whenever I turn them on and the auto-connect of the Bluetooth on Ubuntu kicks in and connects to them, they start sounding weird.

By weird I mean it's like Ambient sound is turned on, although the headphones are on Noise cancellation and the sound is really bad and quite.

The Issue, however, disappears when I disconnect and reconnect them manually.

Thanks in advance!

Update:

  • Using the solution that switches to A2DP solved nothing. The headphones do connect, but then it doesn't switch to them, the sound keeps playing on the speakers of the laptop. Trying to switch from and to the headphones couple of times also doesn't solve the problem.

  • Using the other solution with editing the /etc/bluetooth/main.conf results to the same issue. I did try even removing the device and pairing it again.

Relative SOLUTION:

  1. I had to install some other packages:
    sudo apt install libdbus-1-dev libudev-dev libical-dev libreadline-dev
  2. Install bluez-5.52 by building it from source. For details see the README + you have to run sudo make install
    http://www.bluez.org/release-of-bluez-5-54-and-5-53/
  3. systemctl daemon-reload
  4. sudo service bluetooth restart

Also note that this was on re-freshed Ubuntu 18.04, I kinda screwed up some dependencies and had to fix my OS by installing it fresh on top of the old one, before that I had some other old dependencies that didn't allow me to install bluez-5.52

Best Answer

I had exactly the same issue in Ubuntu 18.04 with Sony WH-CH700w. I used the solution offered by @Luiz: I installed bluez-5.52. Since I didn't want to spend my time on resolving dependencies, I just compiled it from scratch.

Step-by-step solution:

  1. download bluez-5.52 (or later) from here;
  2. unpack: tar -xf bluez-5.52.tar.xz
  3. go there: cd bluez-5.52
  4. configure: ./configure
  5. here I had libical missing. I installed it via sudo apt-get install libical-dev
  6. since my previous configuration failed, I did it again: ./configure
  7. compile: make
  8. install: sudo make install
  9. restart bluetooth machinery: sudo service bluetooth restart or just reboot your computer if you have a possibility: sudo reboot

That's it!

Important note: before restarting I returned my /etc/bluetooth/main.conf into the initial state, i.e. I commented out everything I've ever added there. In fact, I commented out everything.

Related Question