<div dir="ltr">Hi Joachim,<br><br><div class="gmail_quote">2008/9/6 Joachim Breitner <span dir="ltr">&lt;<a href="mailto:nomeata@debian.org">nomeata@debian.org</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;">
Hi,<br>
<br>
Am Donnerstag, den 04.09.2008, 18:28 +0100 schrieb Valerio Valerio:<br>
<div class="Ih2E3d"><br>
&gt; 2008/9/4 Joachim Breitner &lt;<a href="mailto:nomeata@debian.org">nomeata@debian.org</a>&gt;<br>
</div><div class="Ih2E3d">&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* What exactly is the server for? It seems it listens on a<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; tcp socket<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; for commands, which is connected by the UI to send the events<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; over<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; bluetooth. Why don&#39;t you bind to the <a href="http://127.0.0.1" target="_blank">127.0.0.1</a> IP address? Why<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; don&#39;t you<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; use dbus for that?<br>
&gt; The server handles all the HID communications, is like a bridge for<br>
&gt; the client UI, I use a unix socket because the BlueZ devs recommend it<br>
&gt; to me, besides a dbus interface will be slower, because in the mouse<br>
&gt; profile I have to send every small movement (pixel by pixel).<br>
<br>
</div>Ok, I got your program working (a bit, Debian users see [1]), and now I<br>
understand what you need the remoko-server for: It's not something that<br>
runs permanently, or as a system daemon, but it's a helper that you run<br>
to do stuff you can't do in python, right?</blockquote><div>&nbsp;It runs permanently, the server is responsible for send all the keys to
the remote device, in the future it will be like a daemon (I hope in
BlueZ) .</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
To avoid having different packages for that, and possibly opening<br>
security holes by using TCP, I'd recommend to pack that functionality in<br>
a C file and include that in your python process using cython. This is<br>
what the zhone developers did to do some stuff that python can't<br>
(modifying X window atoms).<br>
<div class="Ih2E3d"><br>
&gt; Yes, I already made more code, but right now I don&#39;t have time and<br>
&gt; concentration until I finish my last exam (16 Set) &nbsp;:(<br>
<br>
</div>Is this code in the subversion? If not, you run the risk that other<br>
people will start to hack on the older, published code which will cause<br>
troubles when merging.</blockquote><div>&nbsp;<div>All the code is in the SVN, but was I said, I have a incomplete
setup.py and two static path in remoko_conf and remoko_server :) <br><br>Thanks for your work and suggestions.<div class="Ih2E3d"><br><br>
Best regards,<br><br>-- <br>Valério Valério<br><br><a href="http://www.valeriovalerio.org/" target="_blank">http://www.valeriovalerio.org</a><br></div></div>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Greetings,<br>
Joachim<br>
<br>
[1] hmpf, <a href="http://lists.linuxtogo.org/pipermail/smartphones-userland/" target="_blank">http://lists.linuxtogo.org/pipermail/smartphones-userland/</a> is<br>
down, but it's the mail with subject "Bluetooth and remoko experience"<br>
<font color="#888888">--<br>
</font><div><div></div><div class="Wj3C7c">Joachim &quot;nomeata&quot; Breitner<br>
Debian Developer<br>
 &nbsp;<a href="mailto:nomeata@debian.org">nomeata@debian.org</a> | ICQ# 74513189 | GPG-Keyid: 4743206C<br>
 &nbsp;JID: <a href="mailto:nomeata@joachim-breitner.de">nomeata@joachim-breitner.de</a> | <a href="http://people.debian.org/%7Enomeata" target="_blank">http://people.debian.org/~nomeata</a><br>
</div></div></blockquote></div><br><br clear="all"><br><br>
</div>