Is connecting remote and headphones via Bluetooth possible?

Does it still show “Trusted”?

Yes. This is what I see when not connected:

[Harmony Keyboard]# info 00:09:A7:46:D8:52
Device 00:09:A7:46:D8:52
Name: LE-Beoplay H9
Alias: LE-Beoplay H9
Class: 0x240418
Icon: audio-card
Paired: yes
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: no
UUID: Serial Port (00001101-0000-1000-8000-00805f9b34fb)
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: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: Device Information (0000180a-0000-1000-8000-00805f9b34fb)
UUID: Battery Service (0000180f-0000-1000-8000-00805f9b34fb)
UUID: B&O Play A/S (0000fe89-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific (81c2e72a-0591-443e-a1ff-05f988593351)
UUID: Vendor specific (91c10d9c-aaef-42bd-b6d6-8a648c19213d)
UUID: Vendor specific (f8d1fbe4-7966-4334-8024-ff96c9330e15)
UUID: Vendor specific (fe59bfa8-7fe3-4a05-9d94-99fadc69faff)
Modalias: bluetooth:v0103p1021d0500

OK, then normally it should autoconnect. But some devices have issues if the device is not the first paired device. Anyhow I guess this is a secondary issue to fix. As long as you can manually connect it. First need to figure out why it is not shown in Kodi even if you manually connect it.

Totally agree!

So what happens if you issue

speaker-test -t wav -c2 -l2 -Dbeoplayh9

Do you hear any sound?

osmc@Vero4K:~$ speaker-test -t wav -c2 -l2 -Dbeoplayh9

speaker-test 1.1.3

Playback device is beoplayh9
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib …/…/…/src/asound/bluealsa-pcm.c:802:(_snd_pcm_bluealsa_open) Couldn’t get BlueALSA PCM: PCM not found
Playback open error: -19,No such device

That happens to me when the speaker is not connected. Did you once more verified the MAC in .asoundrc? Also maybe try to remove the pairing, clear the speaker config and repair.

Thanks for that. I’m not sure ‘no such device’ means what it says.

Can you try

speaker-test -t wav -c2 -l2 -Dplug:beoplayh9

Well, it connects via connect 00:09:A7:46:D8:52 so I am assuming that MAC is correct.

This is .asoundrc:

pcm.beoplayh9 {
type bluealsa
device “00:09:A7:46:D8:52”
profile “a2dp”
hint {show on description “BeoplayH9”}
}

Happy to try removing BeoplayH9, clearing speaker config and repairing, but I don’t know how do it. Any advice on how to do it?

Nothing wrong with .asoundrc. It is in /home/osmc/, right? (just checking).

I think what @fzinken is suggesting is just in bluetoothctl remove 00:09:A7:46:D8:52 then go through the agent-pair-trust steps again.

osmc@Vero4K:~$ speaker-test -t wav -c2 -l2 -Dplug:beoplayh9

speaker-test 1.1.3

Playback device is plug:beoplayh9
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib …/…/…/src/asound/bluealsa-pcm.c:802:(_snd_pcm_bluealsa_open) Couldn’t get BlueALSA PCM: PCM not found
Playback open error: -19,No such device

Yeah and reset the speaker before

I think so :slight_smile:

osmc@Vero4K:~$ realpath .asoundrc
/home/osmc/.asoundrc

1 Like

I removed 00:09:A7:46:D8:52

How do I reset the speaker, please?

Checking the manual to figure out.

Another thought: have you tried connecting the Momentums?

Ok, seems they don’t have a reset (which makes me wonder if it is multi pair anyhow).
So just try to pair/trust/connect once more. Or as @grahamh wrote try the Momentums

I was actually thinking if there’s an issue with my Beoplay and I should try Momentum. However the missing pulseaudio is something that worries me. Given I have not seen this in Audio options before, could you please tell if this option only appears once the headphones are paired?

pulseaudio is not needed for the bluez-alsa solution we are testing here. In fact it gets in the way so make sure you removed it.

@grahamh, @fzinken, some good news before I go to sleep - it is working!!!

At first, when I unpaired BeoplayH9, they were still shown as paired and connected, although headphones were definitely switched off.

Then I rebooted Vero4K and BeoplayH9 was gone from the list of paired devices. After that I successfully added them back by following pair/trust/connect steps. But there was still no sound :frowning:

Then I checked the two speaker-tests as was requested above by @grahamh and noticed that this time there were no error messages. This led me to check settings → audio and, to my surprise, I found BeoplayH9 as a new audio output option. Selected this and … voila! The Beatles ‘White Album’ is now playing in my headphones.

I will return tomorrow to continue testing. I would like to check headphones auto connection and also would like to explore options to switch between the two audio outputs: USB Audio for DAC/Amp and BeoplayH9. Is it done automatically once headphones are connected or I should always change it manually in the menu.

Thank you so much, really appreciate your help.