I am trying to connect a bluetooth headset to my RPI. My setup is the following:
- archlinux-arm, kernel: linux-raspberrypi 3.12.23-1
- bluez4 4.101-4 from AUR, built and installed
- bluez-tools 0.1.38-3
- bluez-utils 5.20-1
- pulseaudio 5.0-1
- pulseaudio-alsa 2-3
I scan for the device, successfully pair it, add as trusted and connect it:
hcitool scan
bluez-simple-agent hci0 <MAC>
bt-device --set <MAC> Trusted 1
bt-audio -c <MAC>
After this, the device state is as follows (bt-device -i <MAC>
output):
[00:23:7F:2A:3B:24]
Name: PLT 510
Alias: PLT 510 [rw]
Address: 00:23:7F:2A:3B:24
Icon: audio-card
Class: 0x200404
Paired: 1
Trusted: 1 [rw]
Blocked: 0 [rw]
Connected: 1
UUIDs: [Headset, Handsfree]
So, everything seems to be great, right? Well, not quite.
The issue is when I try to play audio, because it seems PulseAudio didn't recognize it and didn't register source
and sink
entries:
[root@alarmpi bluetooth]# pactl list sources short
0 alsa_output.platform-bcm2835_AUD0.0.analog-stereo.monitor module-alsa-card.c s16le 2ch 44100Hz IDLE
[root@alarmpi bluetooth]# pactl list sinks short
0 alsa_output.platform-bcm2835_AUD0.0.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
I have checked that the module-bluetooth-policy
and module-bluetooth-discover
modules are loaded. Even tried to unload and load back again:
pactl unload-module module-bluetooth-discover
pactl load-module module-bluetooth-discover
Successfully loaded module, but still not showing in the sources
nor sinks
list.
I also tried to configure the /etc/bluetooth/audio.conf
to enable different options like:
Enable=Source,Sink,Media,Socket
Enable=Source,Sink,Headset,Gateway,Control,Media,Socket
Enable=Source,Sink,Media
...
but it didn't change anything.
I am all out of ideas... Why is it not recognized by PulseAudio? Is there something I missed? Do I need to configureI PulseAudio some special way?