2012-03-31 16:11:28

by Fabrice Delente

[permalink] [raw]
Subject: /org/bluez/audio not found?

Hello.

In trying to get A2DP service sound on my BT headset, I did

$ strace mplayer -ao alsa:device=bt file.mp3

where bt is a PCM I created in my .asoundrc:

pcm.bt_audioraw {
type bluetooth
device 00:18:91:D0:7A:24
profile "auto"
}

pcm.bt {
type plug
slave.pcm "bt_audioraw"
hint {
show on
description "Halterrego H.EAR 01 Bluetooth Headset"
}
}

The result of the strace shows

connect(4, {sa_family=AF_FILE, path=@"/org/bluez/audio"}, 110) = -1 ECONNREFUSED (Connection refused)

which seems to mean thaht /org/bluez/audio is not available.

How can I fix this?

Thanks.