[pulseaudio-discuss] HFP headset support via ofono backend
Georg Chini
georg at chini.tk
Sun Apr 30 10:35:24 UTC 2017
Hi,
once the patches from Luiz are accepted, this is what you need to do to make
your HFP headest available to pulseaudio via the ofono backend:
1) Get ofono source:
git clone git://git.kernel.org/pub/scm/network/ofono/ofono.git
2) Install ofono:
./bootstrap
./configure --enable-threads --enable-test --enable-tools
make
make install
3) Get ofono phonesim source:
git clone git://git.kernel.org/pub/scm/network/ofono/phonesim.git
4) Install phonesim:
./bootstrap
./configure
make
make install
5) Edit/create /usr/local/etc/ofono/phonesim.conf. Content:
[phonesim]
Driver=phonesim
Address=127.0.0.1
Port=12345
5) start ofono:
/usr/local/sbin/ofonod
6) start phonesim:
/usr/local/bin/phonesim -p 12345 /usr/local/share/phonesim/default.xml&
7) Power on the modem:
dbus-send --print-reply --system --dest=org.ofono /phonesim
org.ofono.Modem.SetProperty string:"Powered" variant:boolean:"true"
8) Enjoy
Regards
Georg
More information about the pulseaudio-discuss
mailing list