<br><br><div class="gmail_quote">2009/5/7 Joerg Reisenweber <span dir="ltr">&lt;<a href="mailto:joerg@openmoko.org">joerg@openmoko.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;">

<div class="im">A</div><div><div class="h5">
</div></div>So you think the STANDARD kernel should care about this rather exotic case<br>
which isn&#39;t specified properly (how long would this charger see the &quot;1A<br>
sometimes&quot;?) and needs massive care from userland anyway? I mean, there&#39;s<br>
some reason PCF50633 is built this way, huh? We got enough problems caring<br>
about real hw-glitches in this chip. I don&#39;t think it&#39;s recommendable to<br>
tweak it even further far beyond what&#39;s normal usecase.</blockquote><div><br>All I want from kernel is allowing me to set whatever values I need for both usb_curlim and chg_curlim.<br><br>(also when charging from an external battery pack it is very usefull too not to pump all its juice just to fill internal battery -&gt; chg_curlim set to very low)<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;"><br>
<br>
btw your concept isn&#39;t working as you said yourself the USB current is reset<br>
to 500mA on powerdown. So how could you charge with 750mA? If system is<br>
powered up odds are it will take away 250mA. On powerdown state it seems to<br>
me there&#39;s no way at all to charge with 750mA. I really don&#39;t see the<br>
rationale behind all this.<br>
<font color="#888888"><br>
/j<br>
</font></blockquote></div><br>Personnaly I am not sure but it did not look like usb current was reset on powerdown when I tested (at least it was not reset to 100mA after I had to force it to 500 or 1000 on my dumb charger, and this is what I needed more !)<br>

<br>Well, anyway, even if not perfect (chg_curlim following usb_curlim when it is changed), these settings proved really helpfull for me !<br clear="all"><br>