Flemming Richter Mikkelsen wrote:
On 4/18/08, Flemming Richter Mikkelsen <[EMAIL PROTECTED]> wrote:
This could be done even more simple:
- Download and install the program
- Connect the charger with the unknown resistor
- Click on the button "Get charger ID"
- If a valid charger ID is found, the button "Add this charger"
becomes clickable, else it is grayed out.
What do you think?
- Ohh, and a valid charger ID would be a resistance between res_min and res_max.
- Several pins could be probed
You can only probe the pins that have the appropriate hardware interface
to them. This may be all, but can't be taken for granted. One of the
hardware people can tell us which pins are capable of this, and how you
select which one you want to measure.
- The program add this value to the /etc/charger.conf for you
- The program that autodetects the charger, parses /etc/charger.conf
if the file exists
Just a thought
_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community