<div dir="ltr">"2008/10/14 Valerio Valerio <span dir="ltr"><<a href="mailto:vdv100@gmail.com">vdv100@gmail.com</a>></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> <br>This script doesn'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: bus_id = bmgr.ActivateService('input')<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'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> File "test2.py", line 12, in <module><br> path = imgr.CreateDevice(''my bt adderss")<br> File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 68, in __call__<br>
return self._proxy_method(*args, **keywords)<br> File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 140, in __call__<br> **keywords)<br> File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 607, in call_blocking<br>
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'm not sure, but can suppose that the profile emulation is not perfect, may you try avoiding the service activation lines? <br><br>I'm going to do other test downgrading bluez.<br><br>Regards<br><br> Nicola<br>
</div>