Hi there,

Bluetooth newbie here, try to be gentle :-)

I am trying to use ofono HFP. But I am not having success so far. 

I have Fedora release 13 in vmware fusion virtual machine (the host is a mac book pro). When I connect my usb bluetooth adapter and bridge it to the vm, bluez detects it just fine and I can see it with hciconfig.

hci0:   Type: BR/EDR  Bus: USB
        BD Address: 00:15:83:15:A3:10  ACL MTU: 672:3  SCO MTU: 128:2
        RX bytes:4726 acl:46 sco:0 events:140 errors:0
        TX bytes:1555 acl:74 sco:0 commands:39 errors:0

I can see my cell phone using "hcitool scan" and the HF Voice Gateway service using "sdtool browse", the service is at channel 4. 

The information retrieved from my cell is:

root@fedora test # hcitool info 00:1D:28:4B:9A:A8
Requesting information ...
        BD Address:  00:1D:28:4B:9A:A8
        Device Name: Moycell
        LMP Version: 1.2 (0x2) LMP Subversion: 0x41c
        Manufacturer: Philips Semiconductors (37)
        Features: 0xff 0xed 0x8d 0xf8 0x1a 0x08 0x00 0x00
                <3-slot packets> <5-slot packets> <encryption> <slot offset> 
                <timing accuracy> <role switch> <hold mode> <sniff mode> 
                <park state> <channel quality> <SCO link> <HV3 packets> 
                <u-law log> <A-law log> <CVSD> <power control> 
                <transparent SCO> <broadcast encrypt> <enhanced iscan> 
                <interlaced iscan> <interlaced pscan> <inquiry with RSSI> 
                <extended SCO> <EV5 packets> <AFH cap. slave> 
                <AFH class. slave> <AFH cap. master> 

I paired my cell phone using blueman utilities. I was able to transfer a file from linux to the cell phone. The cell phone sees the hands free service from linux, but, when I try to connect from my cell phone to Linux, I get this in /var/log/messages:

Sep 26 08:29:56 fedora bluetoothd[19854]: link_key_request (sba=00:15:83:15:A3:10, dba=00:1D:28:4B:9A:A8)

And I get a prompt from blueman asking me to allow the cell phone to connect, I accept and after a few seconds the cell phone reports the bluetooth connection as failed. Nothing in /var/log/messages.

ofono version is 0.28

Output of rpm -qa | grep bluez is:


dbus version is dbus-1.2.24-1.fc13.i686

I decided both bluez and ofono from latest git sources (latest as of 2 days ago), and the only difference is I get an additional error after the link_key_request:

bluetoothd[14120]: audio/headset.c:rfcomm_io_cb() ERR or HUP on RFCOMM socket 

I was advised by padovan on IRC that I should try dbus >= 1.3 ... I am going to try that today, I was putting that off cuz this seemed like a lower level issue and upgrading dbus seemed like non-trivial since many things depend on dbus and fedora 13 does not seem to include rpm for dbus >= 1.3

Can I somehow to try ofono connect to my cell and not the other way around?

A few days ago I tried the project "nohands" (http://nohands.sourceforge.net/), which connect to the cell phone just fine and I am able to place and receive calls, but since the project looks like kind of dead I decided to give ofono a try because looks more active.

The final goal here is NOT use this with pulseaudio, but rather have access to the SCO socket so I can manipulate the audio.

Any advice will be certainly welcomed,

Moises Silva