Closed smikesmike closed 4 years ago
Have you installed dbus config file?
Yes. Otherwise hsphfpd
wouldn't start correctly.
Ah, ok got it. I have to join the group bluetooth
. Looks like that the policy:
<policy at_console="true">
<allow send_destination="org.hsphfpd"/>
</policy>
doesn't work properly.
BR Marc
Ah, I think answer is on these lines: https://github.com/pali/hsphfpd-prototype/blob/prototype/org.hsphfpd.conf#L12-L17
Your marc
needs to be either in bluetooth group or match dbus at_console
policy.
Basically dbus daemon does not allow for your user to use audio_client.pl
script.
BTW: Are "blueman bluez bluez-tools" required for a minimal installation?
Looks like that at_console
dbus option is deprecated and maybe on your system is already removed/non-working.
only /usr/sbin/bluetoothd
daemon is required (I do not know in which package it is)
but beware that for bluetooth pairing or connecting you need some other tool. Basically those tools use just /usr/sbin/bluetoothd
dbus API, so technically you could do all that stuff also via dbus-send
.
Hi,
I try to setup a minimal server system using bluetooth. I've taken
Ubuntu Server 18.04 LTS
and installed the following packages:Now, I am able to pair a bluetooth device via
bluetoothctl
and register it as Headset device viahsphfpd
.But now I am not able to register an audio application:
Do you have an idea, what is going wrong here?
BR Marc