Help with dbus unknownmethod error method "Connect" org.bluez_input

pritam munot pkm_munot at yahoo.co.in
Sun Aug 4 21:58:52 PDT 2013


Hello,

This is my first post to this mailing list. I am trying to add bluetooth support to my embedded device. 


The device is IMX28 and it uses PTXdist BSP with dbus and bluez4.96. 


For the past few days I am struggling with an error "Error org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with signature " " on interface "org.bluez.Input" doesnt exist. 


I can pair with the device using ./simple.agent hci0 xx:xx:xx:xx:xx and i can see that path for new device is also added. 

*********************************************************************

RequestConfirmation (/org/bluez/148/hci0/dev_00_19_0E_11_B4_DA, 897287)
Confirm passkey (yes/no): yes
Release
New device (/org/bluez/148/hci0/dev_00_19_0E_11_B4_DA)
************************************************************


But when I try to connect using test-input connect xx:xx:xx:xx:xx I get error. I even tried connecting manually using following command.
$dbus-send --system --dest=org.bluez --print-reply /org/bluez/148/hci0/dev_00_19_0E_11_B4_DA org.bluez.Input.Connect


Error org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with signature "" on interface "org.bluez_Input" doesn't exist


What does this error mean? 


In my system.conf for dbus I have added following  lines to the policy. 

    <allow send_interface="org.bluez.Input"/>
    <allow receive_interface="org.bluez.Input"/>
    <allow send_destination="org.bluez.Input"/>
    <allow receive_sender="org.bluez.Input"/>
    <allow send_destination="org.bluez.Input.Connect"/>
    <allow receive_sender="org.bluez.Input.Connect"/>

Can some one please help in understanding what this error means in order to debug the possible cause for it.

Thanks in advance.
Tama
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20130805/3fc6b6e9/attachment.html>


More information about the dbus mailing list