<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi there,</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Thanks for your comments. <br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Sorry it was a typo in earlier post the error is </span>"org.bluez.Input" and not
"org.bluez_Input".</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">I ran the command you mentioned earlier and this is what I get =></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">root@TQMa28:/usr/share/doc/bluez/examples ./simple-agent 00:19:0E:11:B4:C6
<br>RequestConfirmation (/org/bluez/143/hci0/dev_00_19_0E_11_B4_C6, 619445)<br>Confirm passkey (yes/no): yes<br>Release<br>New device (/org/bluez/143/hci0/dev_00_19_0E_11_B4_C6)<br>root@TQMa28:/usr/share/doc/bluez/examples dbus [J-send --system --dest=org.bluez --<br><br>print-repluy[J[Jy /org/bluez/143/hci0/dev_00_19_0E_11B4_C6_B4_C6[5DB4_C6 org.freedesktop.DBus.Intro<br><br>spectable.Introspect<br>method return sender=:1.0 -> dest=:1.9 reply_serial=2<br> string "<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"<br>"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"><br><node><br> <interface name="org.freedesktop.DBus.Introspectable"><br> <method name="Introspect"><br> <arg type="s" direction="out"/><br>
</method><br> </interface><br> <interface name="org.bluez.Device"><br> <method name="GetProperties"><br> <arg type="a{sv}" direction="out"/><br> </method><br> <method name="SetProperty"><br> <arg type="s" direction="in"/><br> <arg type="v" direction="in"/><br> </method><br> <method name="DiscoverServices"><br> <arg type="s" direction="in"/><br> <arg type="a{us}"
direction="out"/><br> </method><br> <method name="CancelDiscovery"/><br> <method name="Disconnect"/><br> <signal name="PropertyChanged"><br> <arg type="s"/><br> <arg type="v"/><br> </signal><br> <signal name="DisconnectRequested"/><br> </interface><br></node><br>"</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color:
transparent; font-style: normal;">Just looking at this I dont see any method called connect I might be wrong. If there is no connect method then is there a way to add it?</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Cheers</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Tama<br></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span
style="font-weight:bold;">From:</span></b> Yang Chengwei <chengwei.yang@intel.com><br> <b><span style="font-weight: bold;">To:</span></b> pritam munot <pkm_munot@yahoo.co.in> <br><b><span style="font-weight: bold;">Cc:</span></b> "dbus@lists.freedesktop.org" <dbus@lists.freedesktop.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, 5 August 2013 9:05 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Help with dbus unknownmethod error method "Connect" org.bluez_input<br> </font> </div> <div class="y_msg_container"><br>On Mon, Aug 05, 2013 at 12:58:52PM +0800, pritam munot wrote:<br>> <br>> But when I try to connect using test-input connect xx:xx:xx:xx:xx I get error.<br>> I even tried connecting manually using following command.<br>> $dbus-send --system --dest=org.bluez --print-reply /org/bluez/148/hci0/<br>> dev_00_19_0E_11_B4_DA org.bluez.Input.Connect<br>> <br>> Error
org.freedesktop.DBus.Error.UnknownMethod: Method "Connect" with signature<br>> "" on interface "org.bluez_Input" doesn't exist<br><br>Is this the exactly error message? Should it be "org.bluez.Input"<br>doesn't exist?<br><br>> <br>> What does this error mean?<br><br>Most likely that method needs some input parameters, maybe you can check<br>what the signature is like below<br><br>$ dbus-send --system --dest=org.bluez --print-reply<br>/org/bluez/148/hci0/dev_00_19_0E_11_B4_DA<br>org.freedesktop.DBus.Introspectable.Introspect<br><br>--<br>Thanks,<br>Chengwei<br><br>> <br>> In my system.conf for dbus I have added following lines to the policy.<br>> <allow send_interface="org.bluez.Input"/><br>> <allow receive_interface="org.bluez.Input"/><br>> <allow send_destination="org.bluez.Input"/><br>> <allow
receive_sender="org.bluez.Input"/><br>> <allow send_destination="org.bluez.Input.Connect"/><br>> <allow receive_sender="org.bluez.Input.Connect"/><br>> <br>> Can some one please help in understanding what this error means in order to<br>> debug the possible cause for it.<br>> <br>> Thanks in advance.<br>> Tama<br><br>> _______________________________________________<br>> dbus mailing list<br>> <a ymailto="mailto:dbus@lists.freedesktop.org" href="mailto:dbus@lists.freedesktop.org">dbus@lists.freedesktop.org</a><br>> <a href="http://lists.freedesktop.org/mailman/listinfo/dbus" target="_blank">http://lists.freedesktop.org/mailman/listinfo/dbus</a><br><br><br></div> </div> </div> </div></body></html>