Hi folks,

I recently got my hands on a new 8800 Pearl, and tweaked the CVS version
of bcharge to work better with the Pearl.  The CVS version of bcharge
has been broken for a while now, and I believe it is now fixed.

There are 3 ways to run bcharge now, with the Pearl:

        bcharge

                Will change to 500mA, and switch idProduct mode from 0006
                to 0004 (dual).

        bcharge -o

                Will change to 500mA and switch from 0006 to 0001 (classic)

        bcharge -d

                Will change to 500mA and switch from 0001 to 0004 (dual).


This is the behaviour I had hoped for earlier, but I tried to do it
automatically, which seems impossible, from just the USB data.  I'm sure
if I talked to the device to get manufacturer, product strings, etc
I could do more checks, but that would make bcharge more complicated
than necessary.  I think the above command line switches are a good balance.


Also, I've changed the logic in src/probe.cc, to start searching for endpoints
at endpoint pair #2.  The new 8800 Pearl seems to have at least 3 or 4
endpoint pairs, which breaks the old logic.  Some of the probe logic is
really just a guess, trying to find the right endpoint pair without
going through the time consuming process of trying each one.  Any tips
on making this better are of course welcome.

I've been MIA lately... expect some catchup CVS commits as I go through
the list and snag those cool patches from you guys.  Thanks in advance! :-)

- Chris


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to