通过蓝牙将Sony WH-1000XM2连接到Ubuntu 16.04

I'm having trouble connecting my Sony WH-1000XM2 to my computer which is running Ubuntu 16.04. From the bluetooth settings it seems that they are connected (Bluetooth settings) as they appear in bold, but when I first pair them I get no feedback from the headphones like I usually get when pairing them to a phone. They don't appear as an output option in sound settings Sound settings.

When using bt-device -l it shows up in the list, but trying to connect gives the error

Error: GDBus.Error:org.bluez.Error.AlreadyExists: Already Exists

even if I have disconnected first (which works). When running bt-device -i <mac> I get a nice segmentation fault:

  Name: LE_WH-1000XM2
  Alias: LE_WH-1000XM2 [rw]
  Address: <address>
  Icon: (null)

(bt-device:13160): GLib-GIO-CRITICAL **: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
  Class: 0x0

(bt-device:13160): GLib-GIO-CRITICAL **: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
  Paired: 0

(bt-device:13160): GLib-GIO-CRITICAL **: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
  Trusted: 0 [rw]

(bt-device:13160): GLib-GIO-CRITICAL **: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
  Blocked: 0 [rw]

(bt-device:13160): GLib-GIO-CRITICAL **: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
  Connected: 0
  UUIDs: [
(bt-device:13160): GLib-GIO-CRITICAL **: g_dbus_proxy_call_sync_internal: assertion 'error == NULL || *error == NULL' failed
Segmentation fault (core dumped)

If I try using bluetoothctl to connect it seems to work, but it still does not show up as an output option in sound settings and I get no feedback from the headset. It also shows up when typing paired-devices.

I have also tried using blueman, but the same seems to happen there. The device is listed and when trying to pair it tells me "Congratulations, device successfully added", but I get no feedback from the headset and it's still not listed in sound output options.

I have tried pavucontrol but if I go to the configuration tab they are not an option there either.

I don't have any /etc/bluetooth/audio.conf file, but apparently it isn't needed..?

我尝试过这里发布的许多解决方案,其中有一些解决方案,但似乎没有一个可行。

任何帮助将不胜感激。耳机在连接到我的计算机时会自动关闭,但在连接到手机时却不执行此操作,因此无法正确连接。这对我来说很有意义,但同时由于它应该被连接而没有意义。

该耳机可与我的手机完美配合,因此我不认为这是原因,但以防万一其版本为4.1.1。 还应该注意,我无法更新到Ubuntu 18.04。