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)

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?

Similar Messages

  • [SOLVED] bluetooth problem - bluez-simple-agent exception

    Hi
    I am trying to pair to a bluetooth headset. I think I'm almost there, but at the last step I get an exception.
    This is what i did so far:
    1) launch dbus
    rc.d start dbus
    2) launch bluetooth
    rc.d start bluetooth
    3) check if my device is UP
    # hciconfig
    hci0: Type: BR/EDR Bus: USB
    BD Address: 58:B0:35:63:4A:9F ACL MTU: 1021:8 SCO MTU: 64:1
    UP RUNNING PSCAN
    RX bytes:2095 acl:0 sco:0 events:59 errors:0
    TX bytes:730 acl:0 sco:0 commands:53 errors:0
    4) scan for the headset (which is discouverable)
    # hcitool scan
    Scanning ...
    00:23:78:5C:00:A8 Bluetooth headset
    5) try to pair (FAILS)
    # bluez-simple-agent 00:23:78:5C:00:A8
    Traceback (most recent call last):
    File "/usr/bin/bluez-simple-agent", line 102, in <module>
    path = manager.FindAdapter(args[0])
    File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
    File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
    File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
    dbus.exceptions.DBusException: org.bluez.Error.NoSuchAdapter: No such adapter
    I searched in the forums but could not find a solution. Has anyone an idea?
    Thanks in advance,
    Keen
    Last edited by keen90 (2012-05-18 13:50:37)

    # bluez-simple-agent 00:23:78:5C:00:A8
    I got the same error when I just tried that myself... but if I add the bluetooth adapter parameter it goes further:
    # bluez-simple-agent hci0 00:23:78:5C:00:A8
    Because my headphones were already paired at the time, I think that's why I then got a "Creating device failed: org.bluez.Error.AlreadyExists: Already Exists"... but it may work for your unpaired device.

  • Bluez-simple-agent works for me

    The task was to transfer spreadsheets from a NOKIA E63 to an XPERIA X120 arc with
    some manual amendments by 'gnumeric' (on the PC).
    While getting bluez-simple-agent going was very much trial and error, it works on 2 machines (out
    of 3). One of them has a fairly old system, and one of them a 1-day old new installation (both work).
    BTW, there were a few problems with already installed libraries, so I simply renamed
    the elements PREVIOUSname... and ran pacman -S again and again till it worked.
    Tom.
    Following is the script for the job.
    # Run this under ArchLinux in X-Window (terminal xterm)
    # Whazitdo?
    # Use bluetooth to get spreadsheets from NOKIA E63 mobile phone,
    # put them on PC, edit them with program 'gnumeric' under ArchLinux,
    # and send the edited spreadsheets to XPERIA X10 arc mobile phone.
    # On NOKIA: switch Bluetooth ON
    # On X10    : switch Bluetooth and Bluetooth Settings ON,
    #                   start program 'Bluetooth File'
    # Tom Butz (TSB), Hamilton New Zealand, 27 Oct 2011
    /sbin/modprobe -a fuse
    /etc/rc.d/dbus stop
    /etc/rc.d/dbus start
    /etc/rc.d/bluetooth start
    # Check that scan discovers NOKIA
    # (sometimes it doesn't discover X10, but works all the same)
    hcitool scan
    echo 'If pairing is required, start it on your phone'
    echo 'Wait a few seconds, then push Ctrl-c to continue'
    bluez-simple-agent
    obexftp -b A8:7E:33:4E:AE:30 -g e:/Documents/2011.xls
    obexftp -b A8:7E:33:4E:AE:30 -g e:/Documents/budget.xls
    # Do SAVE files - even if there are no changes - to keep colours etc
    gnumeric ./2011.xls
    gnumeric ./budget.xls
    clear
    # Transfer to Xperia X10
    obexftp -b 84:00:D2:81:ED:44 -p 2011.xls
    obexftp -b 84:00:D2:81:ED:44 -p budget.xls
    /etc/rc.d/bluetooth stop
    /etc/rc.d/dbus stop
    echo Done

    The task was to transfer spreadsheets from a NOKIA E63 to an XPERIA X120 arc with
    some manual amendments by 'gnumeric' (on the PC).
    While getting bluez-simple-agent going was very much trial and error, it works on 2 machines (out
    of 3). One of them has a fairly old system, and one of them a 1-day old new installation (both work).
    BTW, there were a few problems with already installed libraries, so I simply renamed
    the elements PREVIOUSname... and ran pacman -S again and again till it worked.
    Tom.
    Following is the script for the job.
    # Run this under ArchLinux in X-Window (terminal xterm)
    # Whazitdo?
    # Use bluetooth to get spreadsheets from NOKIA E63 mobile phone,
    # put them on PC, edit them with program 'gnumeric' under ArchLinux,
    # and send the edited spreadsheets to XPERIA X10 arc mobile phone.
    # On NOKIA: switch Bluetooth ON
    # On X10    : switch Bluetooth and Bluetooth Settings ON,
    #                   start program 'Bluetooth File'
    # Tom Butz (TSB), Hamilton New Zealand, 27 Oct 2011
    /sbin/modprobe -a fuse
    /etc/rc.d/dbus stop
    /etc/rc.d/dbus start
    /etc/rc.d/bluetooth start
    # Check that scan discovers NOKIA
    # (sometimes it doesn't discover X10, but works all the same)
    hcitool scan
    echo 'If pairing is required, start it on your phone'
    echo 'Wait a few seconds, then push Ctrl-c to continue'
    bluez-simple-agent
    obexftp -b A8:7E:33:4E:AE:30 -g e:/Documents/2011.xls
    obexftp -b A8:7E:33:4E:AE:30 -g e:/Documents/budget.xls
    # Do SAVE files - even if there are no changes - to keep colours etc
    gnumeric ./2011.xls
    gnumeric ./budget.xls
    clear
    # Transfer to Xperia X10
    obexftp -b 84:00:D2:81:ED:44 -p 2011.xls
    obexftp -b 84:00:D2:81:ED:44 -p budget.xls
    /etc/rc.d/bluetooth stop
    /etc/rc.d/dbus stop
    echo Done

  • [ SOLVED ] bluez-simple-agent not found

    [na5m@arch64 ~]$ bluez-simple-agent
    bash: bluez-simple-agent: command not found
    Per https://wiki.archlinux.org/index.php/Bluetooth, I have installed
    bluez, bluez-utils, python2-dbus, python2-gobject, and dbus-glib.
    Where the devil is bluez-simple-agent hiding? Thanks!
    Last edited by na5m (2013-07-01 10:05:53)

    progandy wrote:With bluez5 "bluetoothctl" provides the client.
    I was completely unaware of this. Someone should insert that info into the wiki, and a few examples on usage too when they are at it.

  • I have a iMac its Bluetooth is not working. I need a Bluetooth Adapter for it. I am using Mac OSX 10.9

    I have a iMac (Not under warranty) its Bluetooth is not working. Blue tooth Hardware is failed and Replacement is huge cost,I need a Bluetooth Adapter for it. I am using Mac OSX 10.9

    Apple used to recommend this but now say it's not compatible.
    OWC have IOGear GBU421W6 Bluetooth 2.1 USB Micro Adapter   and IOGear GBU321 Bluetooth USB Adapter,  & should be able to confirm whether or not they'll work for you.

  • Bluetooth is not working in my iphone 4

    bluetooth is not working
    in my iphone4

    The solution that worked for me was to Backup and then Restore.
    For the backup: you can do it via iTunes (plug the iPhone and right click over its icon on the Devices section and then choose Back Up) or download your photos, contacts and other important documents to your Mac using iPhoto (just download your photos) or apps like My Contacts Back Up (it will email you the full list so you can upload it to the iPhone later). Make sure you backup properly please!
    After you have done the back up choose Restore in iTunes and that will erase all the files and apps from the iPhone so it will be back to the settings it had on the day you used it for the first time (you'll be able to recover all the apps you paid for since they'll be linked to the Apple ID you used to purchase them).
    The iPhone will still have the latest version of iOS (6.1.3) so if the problem is -like in most cases- software related it would be fixed and you'll able to pair the device again. If not maybe you will have to downgrade the  iOS to the previous version.
    Hope this helps!

  • I updated my iphone 4S to 7.1.1 and now WIFI and Bluetooth do not work.

    I updated my iphone 4S to 7.1.1. Immediately after doing this, my wifi is greyed out, (cannot even turn it on), and my bluetooth is not working at all. I have discussed with Apple several times and even went to an apple service center. They claim that I have a HW issue and that I must pay $200 for another phone. HAving been a cell phone HW designer for 15 years, I know this is not true. If this is a HW issue, it was caused by the FW update. There is a problem with my phone that is a direct result of the FW update. If I could go back to the previous version, I could prove it but there is no way for me to do that. So, it looks like iphone has released an update that "breaks" some phones. What an easy way to force people to pay them $200 for a new phone. Hmmm, if other electronic manufacturers catch on to this, we are screwed. Apple has seen the issues on the internet and has seen the issues reported on thier own Communities. They know that many people are reporting the same problem. If I can look it up, anyone can. They know that they have screwed up. So instead of biting the bullet and fixing what they broke, (peoples phones), they are taking advantage of the opportunity to make more money by telling people that they have a HW problem that they are not responsible for and that it is going to cost $200 to fix what Apple has screwed up. Just let me go back to the previous version of the IOS and my phone will work again. Is anyone else having this same issue? Has Apple lost it? I have been more than pleased with my phone. I have been thrilled with customer support. What is going on with apple? Samsung is looking better every minute.

    Even if it is a hardware problem they should fix it regardless of warranty. If you buy a car and after 1.5 years the doors fall off due to a failure in their design and construction, do you think the car manufacturer could pull off what Apple is trying to do? Yes the car still delivers its primary objective of driving from A to B, but significant functionality has been lost due to their fault.
    It is the same with this iPhone wifi problem. Apple are a disgrace, I have had significant Apple Hardware failures with my MacBook Pro and iPhone within 2 years of purchase. Pathetic quality.

  • Bluetooth is not working with Windows 8.1 on U410 touch

    Hello,
    I have a Lenovo U410 touch, and i just upgraded to windows 8.1 though the store.
    And the bluetooth is not working at all, it says that the PC is searching for Bluetooth devices. While everything was working great before.
    I have updated all the drivers from the Lenovo websites and still nothing is working
    I went to device manager and checked under bluetooth: Intel (R) Centrino Wireless Bluettoth 4.0 + High Speed. Microsoft Bluettoth Enumator, Microsoft Bluetooth LE enumarator all 3 are up to date.
    Then I went to network connections (from the start) and i have a red cross under Bluettoth network connection 2 and says not connected.
    My windows is also up to date
    I really think gooing back to Windows 8 since i cannot listen to my music on my beatbox and connect to my phone and tablet,
    Thank you for your help

    neokenchi wrote:
    hi erabbath,
    Welcome to the Forums.
    If you have the Intel Centrino N2230 Wireless + Bluetooth adapter, can you try to:
    1. Navigate to the Control Panel (large icon view) > Devices and Printers and try to pair a bluetooth device (i.e. Bluetooth Headset) and observe if it gets detected under the device list.
    2. If the Bluetooth Headset is listed but it's not working try toright click on it > choose Properties. On the bluetooth properties Window, go to the Services Tab and check all the appropriate bluetooth services.
    Sample picture
    Let me know your findings.
    Regards
    Thank you very much for your answer,
    I went to Control Panel  > Devices and Printers and i tried to add a new device as the bluetooth doesn't appear this is what i got. By the way the bluetooth was on.
    Link to picture
    And this is what i have on the Bluettoth
    And it search endlessly whereas before the upgrade it was working properly,
    All the drivers are up to date as well as windows updates are all installed
    Thanks in advance for your help
    Regards
    Moderator note; picture(s) totalling >50K converted to link(s) Forum Rules

  • HT204387 I have brought a iPhone 5s and installed software but my bluetooth is not working. Please help me

    I have brought a iPhone 5s and installed software but my bluetooth is not working. Please help me

    What are you trying to connect the iPhone to and what is happening when you try?

  • Why my wi-fi is not working, and it says bluetooth is not working too??

    Why my wi-fi is not working, and it says bluetooth is not working too??
    My bluetooth n wi-fi are both unavailable! i had already restore my device, but it still doesn't work!!
    My name is juniper, i am from Taiwan! Any know what's wrong with this piece of XXXX!!?? Help me plzzzz!!

    Hi ,
    I am a specialist in Computer and Information Systems e. I am 40 years old from Egypt
    I have Iphone 3g 8g and my SN  868391XZY7H
    Tunes update killing my Iphone software , 3 days my Iphone not working  Although I am go to download 100% update and my iphone installed all  a software update but I don’t know what happened why my Iphone not working  ?
    now some one help me and he installed software for my iphone  and it is working but  Wi-Fi and Bluetooth not working
    I need help me because    Tunes   update from killing my Iphone  ??.
    i want my old Iphone software please
    thank you somuch
    [email protected]

  • Odi os command not working with agentservice agent.

    dear all,
    odi os command not working with agentservice agent but with local agent it work fine.. and user is administrator.
    kindly solve it
    Regards
    Naseer

    Hi,
    you referred to oscommand, so are you executing a .bat fille? if yes, where exactly does the .bat file reside, local machine or on network share?
    Also, follow these couple of documents, they may be helpful to you.
    859215.1 and 424703.1
    Regards
    Srikanth

  • Volume for bluetooth devices not working

    I have a pair of Bluetooth headphones and since updating to Yosemite 10.10.3, I have not been able to control the volume of them with the volume keys on the keyboard or the volume in the menu bar 99% of the time.  I have once gotten it to work and have no idea what I did for it to work.  If I take the volume all the way to 0, it does mute the audio and the mute key still works as well.
    Changing the volume manually in individual apps (such as with the slider in Spotify or in a youtube video) works but thats only when I use the mouse to move the volume slider.
    I've done some searching around and it seems like Yosemite has numerous Bluetooth issues... I even had the horrendous screeching noise in 10.10.2 but that seems to be fixed now.
    Mid 2009 Macbook Pro 5,3

    I cheated and installed Windows 7 RC. ^.^
    But something you can do is:
    Click on the Start menu
    In the search bar look up 'Services'
    Open up Services
    Double click 'Bluetooth Services'
    In the 'Log On' tab check to see if 'Local Service' or 'Use This Account' is highlighted
    If 'Local Service' is selected then you're SOL and you're best bet is to re-install Windows. That's what was selected on mine and no matter what Account I set it to Bluetooth would not work. I even tried re-installing the Apple drivers from the OS X disc.
    But if 'Use This Account' is selected than I would look into the normal Bluetooth settings, as the problem is most likely there. You can also call MS and have them screen share with you, the guy I talked to said if 'Use This Account' was selected he could do more for me.
    Anyways hope this helped a bit.

  • Bluetooth is not working in Iphone 4s

    I am using Iphone 4s. Bluetooth is not working. it is not identifiying or identified by other phones / Laptop

    That is correct.  This has never been a feature of iphone/ipod/ipad.
    Bluetooth is supported for stereo headsets/speakers, telephone handsfree devices/headsets, some keyboards, some peer-to-peer apps form the app store and internet tethering where provided by the carrier.
    Other than this it will not connect to any other phones/computers/devices

  • Bluetooth mouse not working

    Bluetooth mouse not working.
    can click and scroll but pointer will not move.

    Hello:
    Try resetting the PRAM and SMC.
    Barry

  • Why my bluetooth does not work anymore?

    Why my bluetooth does not work anymore? What can I do?  Before I just turn on bluetooth then turn off it, and it worked properly. Now it does not work. I don't understand why.......

    Works fine for me.
    What exactly is it not doing?

Maybe you are looking for

  • Error when adding line items in a Contract

    Hi All, Need your help regarding the following issue. The business user is trying to edit (to add more line items/materials) a contract with customized T.Code ZGME31K. Getting error "Enter rate USD / rate type M for 11/24/2009 in the system settings"

  • IPhone 3GS  - Display Photos on TV via component cable

    The original Apple Component Cable I bought does not permit mi iPhone 3GS to tranfer images to a TV screen. I can hear the iPod music, but I can not see both Videos (selected from the iPod mode) and Photos (selected from the iPhone menu). Even if I s

  • Stuttering while watching videos...

    So, I have terrible stuttering issues playing videos when using Firefox and Chrome. I've narrowed it down to Flash by deselecting all of the plug-in boxes in both browsers. Playing videos works perfectly fine in IE, but I would much rather prefer bro

  • Express or Extreme?

    I have an Express 802.11b card in my G4 and i get a pretty crappy reception, would an upgrade to a Extreme 802.11g card help? My wireless box can handle 802.11g. Why are Express cards selling for much more than Extreme cards on the internet if an Ext

  • Why want iTunes install on to my laptop??

    been trying for hours now to install new itunes to my laptop and will not allow it,,,, and i can not see why can ideas on what i can do