On Wed, Mar 28, 2007 at 02:37:49PM -0400, Jamal wrote: > I'm trying to get bcharge to run on Ubuntu/edgy with a Pearl 8100. I got > it to run correctly but it says that my device is not a pearl. I started > looking through the code and noticed that the constant for > IPRODUCT_RIM_COMPOSITE is set to 5 in bcharge.cc and on lsusb iProduct > is 4. I changed the constant to 4 and compiled and ran again. This time > I got what looks to be a successful output, but when I run lsusb again > to verify the changes, Max Power is still at 100mA. If I run it again it > just gives me the same output with no change. > > This is the output from running bcharge: > Found device #005...adjusting charge setting...adjusting Pearl mode to > dual...done
Hi Jamal, Thanks for the bug report. It sounds like your Pearl is not responding as expected to the special handshake. The CVS version of bcharge currently contains code which was intended to dynamically switch between the Pearl's modes, but has had little success so far. If you are using CVS anyway, you can go back to the 0.6 release with the following command: cvs update -r barry-0_6 tools/bcharge.cc To get the latest again, use: cvs update -PdA Alternately, grab the 0.6 release tarball. Please report whether the 0.6 bcharge.cc works for you or not, as from your report, it appears that you did manage to make bcharge do what it's supposed to, but your Pearl didn't respond. I'd like to make sure it's not just a fluke with the current bcharge.cc. Thanks, - Chris ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel