I think for HFP as well as for A2DP you'd have to set up pulseaudio and correctly connect BlueZ via ALSA.
I'd assume it definitely wouldn't work out of the box
HFP is not included in bluez5 because it is provided by the oFono project: http://www.bluez.org/profiles/
You can include oFono to your Edison distro or simply "bitbake ofono" and then install from IPK repository from your laptop.
thinks are little bit more complicate:
- from Bluez5 the HFP/HSP profiles support has been removed as Daniele mentioned; expectation is that an external component, like ofono, implement a bluez plugin for that;
- pulseaudio5 starts to support new Bluez5 interfaces but only a2dp is supported (check pulseaudio5 notes); there is an ongoing effort to support HFP/HSP in 5.99.1
- pulseaudio4 is back-ward compatible with bluez4 so you can use bluez4 package (as done in the reported question). (or use alsa lib)
So at the end you have 2 otions:
- rollback to bluez4 + alsa/pulseaudio
- use bluez5 + ofono + PulseAudio 5.99.1
First option is the one originally followed and no audio is there; the reason may be in the BT controller that may be configured to route audio over PCM/i2s interface and not over HCI (when you plug an usb dongle audio-sco is exposed via hci as it is the only option).
You may try to play with audio route configuration as below:
# SCO settings
scopcm = 1,0,0,0,0,0,0,0,0,0
Above file seems to be read by bluetooth-rfkill-event daemon that run in background on Edison and that automatically launch the brcm_patchram_plus utility on rfkill unblock event on BT interface.
Check at below link for scopcm and other brcm_patchram_plus options:
Hope this helps