You are not logged in.

#1 2012-04-01 17:17:35

madders
Member
From: Reading, UK
Registered: 2012-04-01
Posts: 13

Bluetooth pairing failed authentication

Hi there,

This is my first post, so I hope I've put it in the right place.

I'm having trouble getting bluez to pair my bluetooth speaker. When using bluez-simple-agent, I get:

[root:bluetooth]# bluez-simple-agent hci0 00:02:02:2B:04:72
Creating device failed: org.bluez.Error.AuthenticationFailed: Authentication Failed

But there is no prompt for a passcode. When I pair my mouse in the same way, it prompts for a passcode and works fine.

I don't have any Desktop Environment installed, so I'm hoping to get this working just using the command line. I'm using bluez 4.99-1. Any suggestions would be appreciated.

Thanks,
Michael



bluetoothd debug output:

bluetoothd[2354]: src/device.c:bonding_request_new() Requesting bonding for 00:02:02:2B:04:72
bluetoothd[2354]: src/device.c:bonding_request_new() Temporary agent registered for 00:02:02:2B:04:72 at :1.32:/test/agent
bluetoothd[2354]: plugins/hciops.c:conn_complete() status 0x00
bluetoothd[2354]: src/adapter.c:adapter_get_device() 00:02:02:2B:04:72
bluetoothd[2354]: plugins/hciops.c:remote_features_information() hci0 status 0
bluetoothd[2354]: plugins/hciops.c:remote_name_information() hci0 status 0
bluetoothd[2354]: plugins/hciops.c:link_key_request() hci0 dba 00:02:02:2B:04:72
bluetoothd[2354]: plugins/hciops.c:get_auth_info() hci0 dba 00:02:02:2B:04:72
bluetoothd[2354]: plugins/hciops.c:link_key_request() kernel auth requirements = 0x03
bluetoothd[2354]: plugins/hciops.c:link_key_request() Matching key not found
bluetoothd[2354]: plugins/hciops.c:io_capa_request() hci0 IO capability request for 00:02:02:2B:04:72
bluetoothd[2354]: plugins/hciops.c:get_auth_info() hci0 dba 00:02:02:2B:04:72
bluetoothd[2354]: plugins/hciops.c:get_io_cap() initial authentication requirement is 0x03
bluetoothd[2354]: plugins/hciops.c:get_io_cap() final authentication requirement is 0x03
bluetoothd[2354]: plugins/hciops.c:simple_pairing_complete() hci0 status 30
bluetoothd[2354]: src/event.c:btd_event_simple_pairing_complete() status=1e
bluetoothd[2354]: plugins/hciops.c:auth_complete() hci0 status 5
bluetoothd[2354]: plugins/hciops.c:bonding_complete() status 0x05
bluetoothd[2354]: src/device.c:device_bonding_complete() bonding 0x7f96e7fefbc0 status 0x05
bluetoothd[2354]: src/device.c:device_cancel_bonding() Canceling bonding request for 00:02:02:2B:04:72
bluetoothd[2354]: plugins/hciops.c:hciops_cancel_bonding() hci0
bluetoothd[2354]: src/agent.c:agent_release() Releasing agent :1.32, /test/agent
bluetoothd[2354]: plugins/hciops.c:disconn_complete() handle 12 status 0x00
bluetoothd[2354]: src/event.c:btd_event_disconn_complete()
bluetoothd[2354]: src/adapter.c:adapter_remove_connection()

Offline

#2 2012-08-26 05:19:52

dront78
Member
From: Moscow
Registered: 2010-11-24
Posts: 47

Re: Bluetooth pairing failed authentication

The same is for me
https://bbs.archlinux.org/viewtopic.php?id=146617

But the next PC works ok, I really don't know what to do. May be a fuc*ing cache somewhere ;(

Offline

Board footer

Powered by FluxBB