I think I see the problem. This device seems to have two bluetooth channels:
[bluetooth]# scan on
[bluetooth]# SetDiscoveryFilter success
[bluetooth]# hci0 type 7 discovering on
[bluetooth]# Discovery started
[bluetooth]# [CHG] Controller 28:39:26:BD:B5:08 Discovering: yes
[bluetooth]# [NEW] Device C6:36:6D:77:40:5C LE_WH-1000XM4
[bluetooth]# [NEW] Device 14:3F:A6:7C:95:ED WH-1000XM4
If you are connecting to the LE...
device ID, it doesn’t work. Remove that (remove <ID>
). Then, turn off your headset. Turn it back on and continue holding the power button until it says it is in pairing mode. Then run scan on
at your bluetoothctl prompt. You should see it pick up two device numbers for your headset as shown above. Once you have the ID number, you can enter scan off
to disable the scanning and pair <ID>
(the one that doesn’t start with LE...
) to actually pair with your device. From there on, everything should work normally. You have to be quick with the commands so your headset doesn’t timeout its pairing mode before you get your PC paired.
Here is a log from my PC where I got this to work:
[bluetooth]# scan on
[bluetooth]# SetDiscoveryFilter success
[bluetooth]# hci0 type 7 discovering on
[bluetooth]# Discovery started
[bluetooth]# [CHG] Controller 28:39:26:BD:B5:08 Discovering: yes
[bluetooth]# [NEW] Device C6:36:6D:77:40:5C LE_WH-1000XM4
[bluetooth]# [NEW] Device 14:3F:A6:7C:95:ED WH-1000XM4
[bluetooth]# scan o[CHG] Device 14:3F:A6:7C:95:ED RSSI: 0xffffffd4 (-44)
[bluetooth]# scan off
[bluetooth]# hci0 type 7 discovering off
[bluetooth]# Discovery stopped
[bluetooth]# [CHG] Device 14:3F:A6:7C:95:ED TxPower is nil
[bluetooth]# [CHG] Device 14:3F:A6:7C:95:ED RSSI is nil
[bluetooth]# [CHG] Controller 28:39:26:BD:B5:08 Discovering: no
[bluetooth]# pair 14:3F:A6:7C:95:ED
Attempting to pair with 14:3F:A6:7C:95:ED
[bluetooth]# hci0 device_flags_changed: 14:3F:A6:7C:95:ED (BR/EDR)
[bluetooth]# supp: 0x00000001 curr: 0x00000000
[bluetooth]# hci0 14:3F:A6:7C:95:ED type BR/EDR connected eir_len 17
[bluetooth]# [CHG] Device 14:3F:A6:7C:95:ED Connected: yes
[WH-1000XM4]# hci0 new_link_key 14:3F:A6:7C:95:ED type 0x04 pin_len 0 store_hint 1
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED Bonded: yes
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED UUIDs: 00000000-deca-fade-deca-deafdecacaff
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED UUIDs: 00001108-0000-1000-8000-00805f9b34fb
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED UUIDs: 0000110d-0000-1000-8000-00805f9b34fb
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED UUIDs: 0000110f-0000-1000-8000-00805f9b34fb
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED UUIDs: 0000111e-0000-1000-8000-00805f9b34fb
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED UUIDs: 00001131-0000-1000-8000-00805f9b34fb
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED UUIDs: 81c2e72a-0591-443e-a1ff-05f988593351
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED UUIDs: 8901dfa8-5c7e-4d8f-9f0c-c2b70683f5f0
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED UUIDs: 931c7e8a-540f-4686-b798-e8df0a2ad9f7
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED UUIDs: 96cc203e-5068-46ad-b32d-e316f5e069ba
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED UUIDs: b9b213ce-eeab-49e4-8fd9-aa478ed1b26b
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED UUIDs: f8d1fbe4-7966-4334-8024-ff96c9330e15
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED ServicesResolved: yes
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED Paired: yes
[WH-1000XM4]# Pairing successful
[WH-1000XM4]# hci0 14:3F:A6:7C:95:ED type BR/EDR disconnected with reason 2
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED ServicesResolved: no
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED Connected: no
[bluetooth]# [DEL] Device C6:36:6D:77:40:5C LE_WH-1000XM4
[bluetooth]# info 14:3F:A6:7C:95:ED
Device 14:3F:A6:7C:95:ED (public)
Name: WH-1000XM4
Alias: WH-1000XM4
Class: 0x00240404 (2360324)
Icon: audio-headset
Paired: yes
Bonded: yes
Trusted: no
Blocked: no
Connected: no
LegacyPairing: no
UUID: Vendor specific (00000000-deca-fade-deca-deafdecacaff)
UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Cont.. (0000110f-0000-1000-8000-00805f9b34fb)
UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)
UUID: Headset HS (00001131-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific (81c2e72a-0591-443e-a1ff-05f988593351)
UUID: Vendor specific (8901dfa8-5c7e-4d8f-9f0c-c2b70683f5f0)
UUID: Vendor specific (931c7e8a-540f-4686-b798-e8df0a2ad9f7)
UUID: Vendor specific (96cc203e-5068-46ad-b32d-e316f5e069ba)
UUID: Vendor specific (b9b213ce-eeab-49e4-8fd9-aa478ed1b26b)
UUID: Vendor specific (f8d1fbe4-7966-4334-8024-ff96c9330e15)
Modalias: usb:v054Cp0D58d0250
[bluetooth]# connect 14:3F:A6:7C:95:ED
Attempting to connect to 14:3F:A6:7C:95:ED
[bluetooth]# hci0 14:3F:A6:7C:95:ED type BR/EDR connected eir_len 17
[bluetooth]# [CHG] Device 14:3F:A6:7C:95:ED Connected: yes
[WH-1000XM4]# [NEW] Endpoint /org/bluez/hci0/dev_14_3F_A6_7C_95_ED/sep4
[WH-1000XM4]# [NEW] Endpoint /org/bluez/hci0/dev_14_3F_A6_7C_95_ED/sep2
[WH-1000XM4]# [NEW] Endpoint /org/bluez/hci0/dev_14_3F_A6_7C_95_ED/sep1
[WH-1000XM4]# [NEW] Endpoint /org/bluez/hci0/dev_14_3F_A6_7C_95_ED/sep3
[WH-1000XM4]# [NEW] Transport /org/bluez/hci0/dev_14_3F_A6_7C_95_ED/sep4/fd0
[WH-1000XM4]# Connection successful
[WH-1000XM4]# [CHG] Device 14:3F:A6:7C:95:ED ServicesResolved: yes
[WH-1000XM4]# [CHG] Transport /org/bluez/hci0/dev_14_3F_A6_7C_95_ED/sep4/fd0 Volume: 0x0039 (57)
[WH-1000XM4]#
$ wpctl status
PipeWire 'pipewire-0' [1.0.9, gregory@hal9000, cookie:3258334588]
└─ Clients:
32. pipewire [1.0.9, gregory@hal9000, pid:2128]
33. WirePlumber [1.0.9, gregory@hal9000, pid:2123]
47. WirePlumber [export] [1.0.9, gregory@hal9000, pid:2123]
94. wpctl [1.0.9, gregory@hal9000, pid:8370]
Audio
├─ Devices:
│ 54. Built-in Audio [alsa]
│ 55. Built-in Audio [alsa]
│ 111. WH-1000XM4 [bluez5]
│
├─ Sinks:
│ 56. Built-in Audio Digital Stereo (HDMI) [vol: 0.40]
│ * 57. Built-in Audio Analog Stereo [vol: 0.52]
│ 93. WH-1000XM4 [vol: 0.40]
│
├─ Sources:
│ 58. Built-in Audio Analog Stereo [vol: 1.00]
│ * 96. WH-1000XM4 [vol: 1.00]
│
├─ Filters:
│
└─ Streams:
Video
├─ Devices:
│
├─ Sinks:
│
├─ Sources:
│
├─ Filters:
│
└─ Streams:
Settings
└─ Default Configured Devices:
0. Audio/Sink alsa_output.pci-0000_00_09.2.analog-stereo
1. Audio/Source alsa_input.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.mono-fallback