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

Yang Chengwei chengwei.yang at intel.com
Mon Aug 5 06:05:28 PDT 2013


On Mon, Aug 05, 2013 at 12:58:52PM +0800, pritam munot wrote:
> 
> 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

Is this the exactly error message? Should it be "org.bluez.Input"
doesn't exist?

> 
> What does this error mean?

Most likely that method needs some input parameters, maybe you can check
what the signature is like below

$ dbus-send --system --dest=org.bluez --print-reply
/org/bluez/148/hci0/dev_00_19_0E_11_B4_DA
org.freedesktop.DBus.Introspectable.Introspect

--
Thanks,
Chengwei

> 
> 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

> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20130805/9495039b/attachment.pgp>


More information about the dbus mailing list