<div dir="ltr"><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">&quot;2008/10/14 Valerio Valerio <span dir="ltr">&lt;<a href="mailto:vdv100@gmail.com" target="_blank">vdv100@gmail.com</a>&gt;</span><br><div class="gmail_quote"><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"><div class="gmail_quote">[...]<div class="Ih2E3d"><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></div></div></div></div></blockquote></div><br>I&#39;m using 3.36 on gentoo, yes, it passes the activate service phase and fails on CreateDevice, my output is:<br>

<br>Traceback (most recent call last):<br>&nbsp; File &quot;test2.py&quot;, line 12, in &lt;module&gt;<br>&nbsp;&nbsp;&nbsp; path = imgr.CreateDevice(&#39;&#39;my bt adderss&quot;)<br>&nbsp; File &quot;/usr/lib/python2.5/site-packages/dbus/proxies.py&quot;, line 68, in __call__<br>

&nbsp;&nbsp;&nbsp; return self._proxy_method(*args, **keywords)<br>&nbsp; File &quot;/usr/lib/python2.5/site-packages/dbus/proxies.py&quot;, line 140, in __call__<br>&nbsp;&nbsp;&nbsp; **keywords)<br>&nbsp; File &quot;/usr/lib/python2.5/site-packages/dbus/connection.py&quot;, line 607, in call_blocking<br>

&nbsp;&nbsp;&nbsp; message, timeout)<br>dbus.exceptions.DBusException: org.bluez.Error.NotSupported: Not supported<br><br>on /var/log/messages I got:<br><br>hcid[3078]: Invalid PnP service record length<br><br>With hidd it works (the only issues is that hidd --search does not return nothing!)</div>
</blockquote><div>I already notice that, but for example other&#39;s OS&#39;s see ReMoko as a Bluetooth keyboard (Windows, KDE bluetooth, S60 devices, OSX ...), and I also tested a Logitech Bluetooth mouse and a keyboard that doesn&#39;t appears with hidd --search (I never seen any result from hidd --search)<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>I&#39;m not sure, but can suppose that the profile emulation is not perfect, may you try avoiding the service activation lines? </div></blockquote><div>Nop don&#39;t work in Ubuntu 7.10 or Ubuntu 8.04, they have a older BlueZ version that doesn&#39;t have the &quot;createDevice&quot; d-bus call. <br>
Can you provide me a hcidump&nbsp; ? (start hcidump before the python script).<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><br><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>I&#39;m going to do other test downgrading bluez.<br><br>Regards<br><br>
&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>