<div dir="ltr">&quot;2008/10/14 Valerio Valerio <span dir="ltr">&lt;<a href="mailto:vdv100@gmail.com">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>&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></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!)<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? <br><br>I&#39;m going to do other test downgrading bluez.<br><br>Regards<br><br>&nbsp;&nbsp;&nbsp;&nbsp; Nicola<br>
</div>