<div dir="ltr">Hi,<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">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 <bt neo address> it runs fine, but if I use dbus CreateConnection method it fails.<br>
As hidd is deprecated and provided only for compatibility I'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> <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><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></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('org.bluez', '/org/bluez'), 'org.bluez.Manager')<br>bus_id = bmgr.ActivateService('input')<br>
imgr = dbus.Interface(bus.get_object(bus_id, '/org/bluez/input'), 'org.bluez.input.Manager')<br><br># device creation<br>path = imgr.CreateDevice('xx:xx:xx:xx:xx:xx')<br>idev = dbus.Interface (bus.get_object(bus_id, path), 'org.bluez.input.Device')<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> 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>