Re: [Bluez-users] authentication problem when pairing with headset

Andreas Beck
2005-08-22T09:02:49Z

Matthias Grüter <mgrueter@ee.ethz.ch> wrote:
> I'm using a Logitech Mobile Freedom Headset with my iBook G4. I have
> been using this device for some time now, but since a week or so I'm not
> able to pair with my headset anymore.

Did you use it with the same dongle on another machine or OS?

> Output of btsco:
> # btsco -v 00:0D:44:32:D3:FF
> btsco v0.4c
> Device is 1:0
> Error: Failed to connect to SDP server: Permission denied
> Assuming channel 2
> Voice setting: 0x0060
> Can't connect RFCOMM channel: Permission denied

This looks like wrong linkkeys. See the btsco page:

>> If you can't pair or connect with the headset, did you pair it with
>> another device? Did it help to reset the pairing by removing
>> /etc/bluetooth/link_key or /var/lib/bluetooth/[headsetaddr]/linkkeys or
>> by putting the headset in pair mode? You may have to redo this often if
>> you try to dual-boot windows or if you use the same dongle on another
>> computer.

Ups - I see there is an error in there. [headsetaddr] should be
[dongleaddr]. The headsetaddr is in the linkkeys file on the line with
the linkkey. It is enough to remove that single line, thus retaining
the other pairing information.

> What kind of authentication failure is this? And how can I solve this
> issue?
> My version of the bluez-tools is 2.18.
> The awkward thing is, that I'm still able to pair with other headsets
> (same model) and my headset is still able to pair with other computers
> or mobile phones.

Yes. sounds perfectly like this problem.

CU, Andy