<div dir="ltr"><br><br><div class="gmail_quote">2008/10/14 Nicola Mfb <span dir="ltr"><<a href="mailto:nicola.mfb@gmail.com">nicola.mfb@gmail.com</a>></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">"2008/10/14 Valerio Valerio <span dir="ltr"><<a href="mailto:vdv100@gmail.com" target="_blank">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 class="Ih2E3d"><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></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!)</div>
</blockquote><div>I already notice that, but for example other's OS'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'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'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't work in Ubuntu 7.10 or Ubuntu 8.04, they have a older BlueZ version that doesn't have the "createDevice" d-bus call. <br>
Can you provide me a hcidump ? (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'm going to do other test downgrading bluez.<br><br>Regards<br><br>
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>