AC detection explored

"geron" <[email protected]> Mon, 31 Jan 2005 13:50:30 +0100
Newsgroups gmane.comp.handhelds.simpad.linux
Message-ID <004e01c50793$921231a0$6600a8c0@holger>
Hi,

at the forums, some users reported problems with AC detection. The battery
applet shows "Charging, external power disconnected" in that case and the
blupdater complains about missing AC power. My pad, while charging,
periodically switches between power connected and disconnected, what makes
the screen go bright and dark in a 10 seconds intervall. This has nothing to
do with the new OE build, the OZ builds have had the same problem.

So I hooked up my SL4 to an adjustable PSU and watched the battery applet
while slowly turning the voltage control. As soon as the voltage dropped
below 12V, the applet showed "external power disconnected". 12V is the
nominal voltage of the AC adapter, so putting the threshold at just 12V
seems a bit optimistic to me ;-).

Looking through the kernel patches at OE, I came across the line
2004/03/31 mickey     | +#define MIN_SUPPLY            12000 /* Less then
12V means no powersupply */

Maybe someone of the kernel coders can verify this and change the value to
11000 or 10000 for more reliability.


geron





-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl