You are not logged in.

#1 2009-10-27 21:24:34

oskarn
Member
From: Sweden
Registered: 2007-08-11
Posts: 27

Bluetooth authorization not working (bluez-simple-agent)

Hello

I'm trying to connect my Sony BD remote control to my laptop. Pairing and manual connect using hcitool works fine, but when my remote control initiates the connection,  my laptop seem to deny its connection requests. (See attached hcidump output).

I have tried using bluez-simple-agent, and I get the authorization request prompt. I enter 'yes', hit return, and I immediately get "Cancel" printed on the terminal. The remote control is still not authorized.

I have dbus running, as well as bluetoothd, hci2hci and hidd running.

Please help! I'm clueless at this point.

hcidump says:

* Connection pending - Authorization pending
* Connection refused - security block
* Reason: Remote User Terminated Connection

hcidump output:

> ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 19 scid 0x0148
< ACL data: handle 11 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0041 scid 0x0148 result 1 status 2
      Connection pending - Authorization pending
< ACL data: handle 11 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0041 scid 0x0148 result 3 status 0
      Connection refused - security block
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 11 packets 2
> ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x0147
< ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0147
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 11 packets 2
> ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0041 scid 0x0148
< ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0041 scid 0x0148
> ACL data: handle 11 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0147 scid 0x0040
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 11 packets 2
> HCI Event: Number of Completed Packets (0x13) plen 5
    handle 11 packets 1
> HCI Event: Disconn Complete (0x05) plen 4
    status 0x00 handle 11 reason 0x13
    Reason: Remote User Terminated Connection

Last edited by oskarn (2009-10-29 17:03:43)

Offline

#2 2009-10-29 17:04:49

oskarn
Member
From: Sweden
Registered: 2007-08-11
Posts: 27

Re: Bluetooth authorization not working (bluez-simple-agent)

Is there any way to add a device to a list of trusted devices?

I once read about a certain file called "trusted" in a bluetooth directory, and it almost worked when I added my device there, but once connected it disconnected and the device was removed from the trusted list.
Any idea what is going on here?

Offline

Board footer

Powered by FluxBB