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!
More From derek
- My new storage dilemma, resolved.
- End of Lulz (maybe?)
- Fixing “Camera Failed” on Samsung S Fascinate with custom firmware.
derek Recommends
- Free Backlinks…..Get Backlinks Every Day! (Chad Nicely)
- UPDATE: Page Rank 4 In 8 Months! (Chad Nicely)







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