Stream audio from osmc KODI to Jabra bluetooth headset. Failed to connect: org.bluez.Error.NotAvailable

Hi!
I’m using Kodi 16.1 and I’d like to stream audio to Jabra headset. Its trusted and paired. In KODI Audio output, I selected: ALSA: PulseAudio Sound Server and later ALSA: Playback/recording through the PulseAudio sound server. Still can not connect to Jabra BT.
Am I doing something wrong?
Thanks

osmc@osmc:~$ lsusb
Bus 001 Device 004: ID 1310:0001 Roper Class 1 Bluetooth Dongle

osmc@osmc:~$ bluetoothctl
[NEW] Controller 00:0B:0D:05:9B:A2 osmc [default]
[NEW] Device 00:16:8F:BD:EE:EF Jabra BT135

[bluetooth]# connect 00:16:8F:BD:EE:EF
Attempting to connect to 00:16:8F:BD:EE:EF
[CHG] Device 00:16:8F:BD:EE:EF Connected: yes
Failed to connect: org.bluez.Error.NotAvailable
[CHG] Device 00:16:8F:BD:EE:EF Connected: no

[bluetooth]# info 00:16:8F:BD:EE:EF
Device 00:16:8F:BD:EE:EF
Name: Jabra BT135
Alias: Jabra BT135
Class: 0x200404
Icon: audio-card
Paired: yes
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: no
UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)
UUID: Handsfree (0000111e-0000-1000-8000-00805f9b34fb)

osmc@osmc:~$ systemctl status bluetooth

  • bluetooth.service - Bluetooth service
    Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
    Drop-In: /etc/systemd/system/bluetooth.service.d
    -local.conf
    Active: active (running) since Fri 2016-08-12 21:40:00 CEST; 34min ago
    Docs: man:bluetoothd(8)
    Main PID: 245 (bluetoothd)
    Status: “Running”
    CGroup: /system.slice/bluetooth.service
    -245 /usr/libexec/bluetooth/bluetoothd

Did you install the A2DP software from the test post?

From what I know Jabra BT 135 earpiece supports stereo but not A2DP.
Does lack of A2DP support preventing me from connecting?
I installed this:
sudo apt-get install bluez pulseaudio pulseaudio-module-bluetooth

That’s not the correct procedure for BT audio

Search the forums. You will likely need to purge these packages. You may need to re-install, as OSMC provides its own version of bluez.

New SD card and clean KODI installation and the same problem.

Moreover in KODI Audio output,there is no:
ALSA: PulseAudio Sound Server
ALSA: Playback/recording through the PulseAudio sound server

There is only:
HDMI
Analogue
HDMI and Analogue
ALSA: Default (bcm2835 ALSA bcm2835 ALSA)

[NEW] Controller 00:0B:0D:05:9B:A2 osmc [default]
[NEW] Device 00:16:8F:BD:EE:EF Jabra BT135
Agent registered
[bluetooth]# connect 00:16:8F:BD:EE:EF
Attempting to connect to 00:16:8F:BD:EE:EF
[CHG] Device 00:16:8F:BD:EE:EF Connected: yes
Failed to connect: org.bluez.Error.NotAvailable
[CHG] Device 00:16:8F:BD:EE:EF Connected: no

osmc@osmc:~$ hciconfig --all
hci0: Type: BR/EDR Bus: USB
BD Address: 00:0B:0D:05:9B:A2 ACL MTU: 120:20 SCO MTU: 0:0
UP RUNNING PSCAN
RX bytes:3181 acl:36 sco:0 events:98 errors:0
TX bytes:1545 acl:33 sco:0 commands:50 errors:0
Features: 0xff 0xff 0x05 0x38 0x18 0x18 0x00 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy:
Link mode: SLAVE ACCEPT
Name: ‘osmc’
Class: 0x000000
Service Classes: Unspecified
Device Class: Miscellaneous,
HCI Version: 1.2 (0x2) Revision: 0x0
LMP Version: 1.2 (0x2) Subversion: 0x757
Manufacturer: Silicon Wave (11)

Did you follow the installation instructions for Bluetooth audio?

What you mean? According to section System/MyOSMC/Network/Bluetooth Jabra headset is trusted and paired but can not to connect.

[bluetooth]# devices
Device 00:16:8F:BD:EE:EF Jabra BT135

[bluetooth]# pair 00:16:8F:BD:EE:EF
Attempting to pair with 00:16:8F:BD:EE:EF
[CHG] Device 00:16:8F:BD:EE:EF Connected: yes
[CHG] Device 00:16:8F:BD:EE:EF UUIDs: 00001108-0000-1000-8000-00805f9b34fb
[CHG] Device 00:16:8F:BD:EE:EF UUIDs: 0000111e-0000-1000-8000-00805f9b34fb
[CHG] Device 00:16:8F:BD:EE:EF Paired: yes
Pairing successful
[CHG] Device 00:16:8F:BD:EE:EF Connected: no

[bluetooth]# trust 00:16:8F:BD:EE:EF
[CHG] Device 00:16:8F:BD:EE:EF Trusted: yes
Changing 00:16:8F:BD:EE:EF trust succeeded

[bluetooth]# connect 00:16:8F:BD:EE:EF
Attempting to connect to 00:16:8F:BD:EE:EF
[CHG] Device 00:16:8F:BD:EE:EF Connected: yes
Failed to connect: org.bluez.Error.NotAvailable
[CHG] Device 00:16:8F:BD:EE:EF Connected: no

Then additionally I installed pulseaudio-module-bluetooth. Now in KODI Audio output I can see:
ALSA: PulseAudio Sound Server
ALSA: Playback/recording through the PulseAudio sound server

but problem is the same

[bluetooth]# connect 00:16:8F:BD:EE:EF
Attempting to connect to 00:16:8F:BD:EE:EF
[CHG] Device 00:16:8F:BD:EE:EF Connected: yes
Failed to connect: org.bluez.Error.NotAvailable
[CHG] Device 00:16:8F:BD:EE:EF Connected: no

If you manually install PulseAudio packages, you are on your own unfortunately. We can only offer support for the officially recommended method which @ActionA linked to above.

Hi,

I have used the link to install my JBL.
It works fine to stream audio.
But It seems that the microphone doesn’t work.
Have you any suggestion ?

I try to test the hotword with snowboy

http://docs.kitt.ai/snowboy/

Regards,