Hmm ... I&#39;m pretty sure I saw my phone suspending while connected ... I will test this more.<br><br>F.<br><br><br><div class="gmail_quote">On Thu, Apr 2, 2009 at 9:31 AM, Filip Onkelinx <span dir="ltr">&lt;<a href="mailto:filip@linux4.be">filip@linux4.be</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Franky,<br>
<br>
battery starts charging as well, cableChanged is also being used for<br>
changing powermanagment scheme.<br>
<br>
F.<br>
<div><div></div><div class="h5"><br>
On Thu, 02 Apr 2009 09:22:33 +0200, Franky Van Liedekerke<br>
&lt;<a href="mailto:liedekef@telenet.be">liedekef@telenet.be</a>&gt; wrote:<br>
<br>
&gt; On Wed, Apr 1, 2009 at 8:48 AM, Filip Onkelinx &lt;<a href="mailto:filip@linux4.be">filip@linux4.be</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; attached is a patch to use uevent to get kernel notifications for<br>
&gt;&gt; &#39;usb-cable-changed&#39; in QtExtended on recent kernels (&gt;=2.6.28).<br>
&gt;&gt; On &#39;older&#39; kernels (&lt;2.6.28), this information was comming in trough<br>
&gt;&gt; /dev/input/event4 but this is no longer working (there is a ticket for<br>
&gt;&gt; this<br>
&gt;&gt; at <a href="https://docs.openmoko.org/trac/ticket/2254" target="_blank">https://docs.openmoko.org/trac/ticket/2254</a> ).<br>
&gt;&gt; With this patch my FR switches correctly from battery power savings<br>
&gt;&gt; scheme<br>
&gt;&gt; to online pwoer scheme, and usb networking goes up/down as expected.<br>
&gt;&gt; Same mechanism could be used to re-implement an event based neobattery.<br>
&gt;&gt;<br>
&gt;<br>
&gt; Filip,<br>
&gt;<br>
&gt; does this mean the 2.6.28 based system detects usb cable changed, just<br>
&gt; for<br>
&gt; networking? Or does the battery start charging as well?<br>
&gt;<br>
&gt; Franky<br>
<br>
</div></div><font color="#888888">--<br>
Using Opera&#39;s revolutionary e-mail client: <a href="http://www.opera.com/mail/" target="_blank">http://www.opera.com/mail/</a><br>
</font><div><div></div><div class="h5"><br>
<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>
</div></div></blockquote></div><br>