Recently, I was looking for a way to charge my Pearl under Linux, and stumbled across this project: Barry .. Well thats nice and all  (as a matter of fact I may install it when I get home to sync my BB), but right now, I just want to charge it! Barry has a small app included called bcharge that sets your USB port to 500mA (the power level that the BB expects when you plug it in).

I’ve repackaged the bcharge app and the headers, and you can get it here: bcharge.tgz

To compile, make sure you’ve got at least g++ and libusb installed, and then do:

tar xvzf bcharge.tgz
g++ -o bcharge bcharge.cc -lusb

And then just run bcharge a la: ./bcharge  and your Blackberry should be off and charging!

  One Response to “Charging your Blackberry Pearl in Linux”

  1. Thank you for this! I’ve tried several times to compile barry, all resulting in curse words and a growing hate for Redhat. None the less, this works perfect!

    May I suggest adding the line to tell people to “sudo ./bcharge” when they run it. Also, umount the Blackberry before running or it may end up with a “usb_reset failed: could not reset: No such device”.

    Again, thank you for this!

    –kolbe

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2011 ConvolutedTheory Suffusion theme by Sayontan Sinha
  • About
  • NetXfer on Linux HOWTO
  • Security Related
  • Gaming
  • General
  • Tech
  • Uncategorized
  • 2011
  • 2010
  • 2009
  • 2008