View Single Post
Posts: 76 | Thanked: 41 times | Joined on Nov 2008 @ Germany
#8
Okay, i gave it a try compiling on maemo and it seems that most things work quite well.

I were able to start the hfpd daemon and the hfconsole program and connect to my mobile. I can also initiate a call from my N810, but then it fails transfering the voice. It seems that hfp is using either alsa or OSS to handle the sound and as far as i remember maemo doesn't.

Unfortunately I don't know anything about sound handling in maemo, so maybe some help is required here, but I think on the whole this looks very promising, and it feels as we were pretty close to get this thing working!

Here is a quick summary of things I did to get the hfp running:

First I needed to compile libspeexdsp (http://www.speex.org/ ), which was no problem at all.

Then, to be able to compile HFP, I needed to replace

Code:
dbus_watch_get_unix_fd(dbw)
with

Code:
dbus_watch_get_fd(dbw)
in lines 151 and 154 of ./hfpd/dbus.cpp.
(No, I did not know what I was doing )

After that you have to start hfpd and then hfconsole.
On the second time hfconsole gave me some error about some tooltip or something so I simply commented

Code:
but.set_tooltip_text(tip)
in line 426 of hfconsole (which just seems to be a python script).

Attached are some scrreenshots.
Attached Images
  
 

The Following 7 Users Say Thank You to MrWeasel For This Useful Post: