<div dir="ltr">Hi,<br><br><div class="gmail_quote">2008/10/14 Nicola Mfb <span dir="ltr">&lt;<a href="mailto:nicola.mfb@gmail.com">nicola.mfb@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">HI!<br>ReMoko works quote nice on my freerunner with fso (some times i have to restart it many times before it runs well), but I have problems on the PC side.<br>If I use hidd --connect &lt;bt neo address&gt; it runs fine, but if I use dbus CreateConnection method it fails.<br>

As hidd is deprecated and provided only for compatibility I&#39;d like to know if the problems is in bluez or in ReMoko hid profile emulation.<br><br>If someone has a bt keyboard may try if this simple python script works (from <a href="http://wiki.bluez.org" target="_blank">wiki.bluez.org</a>)?</div>
</blockquote><div>&nbsp;<br>This script doesn&#39;t work in my systems, all my systems have the input service activated by default, so fails on the service activation, and if I disable the input plugin the script fails again in this line:&nbsp; bus_id = bmgr.ActivateService(&#39;input&#39;)<br>
<br>The script runs in your system without problems ?<br>which BlueZ version do you have ?<br><br>Best regards,<br><br>-- <br>Valério Valério<br><br><a href="http://www.valeriovalerio.org">http://www.valeriovalerio.org</a><br>
&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr"><br>
<br>import dbus<br>bus = dbus.SystemBus()<br># service activation<br>bmgr = dbus.Interface(bus.get_object(&#39;org.bluez&#39;, &#39;/org/bluez&#39;), &#39;org.bluez.Manager&#39;)<br>bus_id = bmgr.ActivateService(&#39;input&#39;)<br>

imgr = dbus.Interface(bus.get_object(bus_id, &#39;/org/bluez/input&#39;), &#39;org.bluez.input.Manager&#39;)<br><br># device creation<br>path = imgr.CreateDevice(&#39;xx:xx:xx:xx:xx:xx&#39;)<br>idev = dbus.Interface (bus.get_object(bus_id, path), &#39;org.bluez.input.Device&#39;)<br>

<br># host initiated connection<br>idev.Connect()<br><br><br>replace xx... with your keyboard bt address, and with neo bt address after having remoko launched.<br><br>Thanks<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Nicola<br></div>
<br>_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
<br></blockquote></div><br><br clear="all"><br><br>
</div>