On 15.05.2016 12:58, Marco Trapanese wrote:
Il 15/05/2016 12:39, Georg Chini ha scritto:
I've only seen the pulseaudio logs. ofono and bluetoothd also might
provide some information.
Try also dbus-monitor --system. You should see the messages passing
between the components.
Attached there are all the logs:
- pulseaudio
- bluez
- dbus
- ofono
I also attached the dbus policy configuration - perhaps there is
something wrong there.
What I did:
1. launched all services: dbus, bluetooth, ofono, pulseaudio
2. connected the phone for both a2dp and hfp profiles
3. from ofono/test:
a) enable-modem
b) online-modem
c) dial-number
What happened:
- the phone recognized both bluetooth profiles (it said: connected to
multimedia audio and phone)
- when I dialed the number, the phone actually made the call
- the bluetooth audio icon on the phone was highlighted
- but the audio was coming from the phone's speakers
About the last point: sometimes (but I really don't know when) I don't
hear nothing, neither from the phone nor from the raspberry. Other
times (like now) the audio is coming from the phone.
Thank you for you support
Marco
One thing I have seen on first inspection:
It looks like a line
<allow send_interface="org.ofono.HandsfreeAudioAgent"/>
is missing in your ofono.conf.
There are messages indicating that in your dbus-log:
error time=1463309285.724282 sender=org.freedesktop.DBus ->
destination=:1.13 error_name=org.freedesktop.DBus.Error.AccessDenied
reply_serial=69
...
method call time=1463309305.723208 sender=:1.13 -> destination=:1.14
serial=70 path=/HandsfreeAudioAgent;
interface=org.ofono.HandsfreeAudioAgent; member=NewConnection
Could you add the line and retry?
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono