|
|
|
06-28-2007, 12:08 PM
|
#61
|
BlackBerry Extraordinaire
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
|
Please Login to Remove!
Quote:
Originally Posted by erroneus
Bcharge is among the important things, and while I successfully added what I believe to be the more current or correct RPM from before, I would like to know if there is a most current and up-to-date package I should be using?
|
Download the .src.rpm from Sourceforge and rebuild it (as non-root) to be FC7 friendly, it's a basic 'rpmbuild --rebuild <FOO>.src.rpm" type of thing, it worked cleanly and without hassle for me.
Quote:
(F7's kernel did not automatically load anything to make the charger do its thing though... tried that first.)
|
Yeah -- there are patches I've seen (see the comments/threads about the USB AutoSuspend above) that might make it into the next kernel but I don't know for sure yet myself, just what the mailing lists say.
|
Offline
|
|
07-01-2007, 10:02 PM
|
#62
|
New Member
Join Date: Jul 2007
Model: 7100t
PIN: N/A
Carrier: AT&T
Posts: 2
|
Quote:
Originally Posted by rivviepop
|
Can someone tell me how to compile this for ubuntu...I've tried for like 2 hours and I can't figure it out...newbie. Errr. I am sure I am just missing something simple but I guess I need a step by step. Thanks!
|
Offline
|
|
07-10-2007, 08:20 AM
|
#63
|
Knows Where the Search Button Is
Join Date: Oct 2005
Location: Ohio
Model: 9000
Carrier: AT&T
Posts: 16
|
Quote:
Originally Posted by rivviepop
As of 2.6.21 it's in the mainline kernel, but...
...at 100mA, not 500mA (check your lsusb -v output). I was on the email CC from Greg, and the problem with adding the 8100+ to the module for proper detection is that usb-storage conflict (the devices with SD cards *always* present a USB Mass Storage interface, even if you've disabled it on your 8x00 device).
Last I heard (which was awhile ago) he was going to work with the usb-storage people (??) and try and figure something out. That module, though, *should* be working for the 8700 and older devices!
Linux Headquarters - Kernel v2.6.21 /drivers/usb/misc/berry_charge.c
Notice the #define BLACKBERRY 0x0001 -- it doesn't support our newer 0x0006/0x0004 SD-enabled devices. :-/
|
This module has been back ported to SUSE Enterprise Linux Desktop 10 SP1 kernel 2.6.16.46-0.10 and above. Module called berry_charge.
Suspend works well and more importantly resume works. The BB will not charge while suspended to ram or disk.
|
Offline
|
|
07-22-2007, 11:52 AM
|
#64
|
Knows Where the Search Button Is
Join Date: Jul 2007
Model: 8100
PIN: N/A
Carrier: T-Mobile
Posts: 17
|
Hi. I'm a newbie in Linux and using Ubuntu 7.04. It's been few days now that I'm trying ti figure out how to charge my Blackberry 8100 (Pearl) thru the USB cable. I failed to follow the steps provided in BB forums to properly download and istall bcharge. Nevertheless, to my great surprise, I just found out that it DOES CHARGE! The yello Charging Icong on BB's screen stays on, an error message "USB power is insufficient......" appears for few seconds but it does charge to 100%.
My concern is whether it will damage anything in my Blackberry or not. If you guys ever encountered with the same problem please enlighten me on this issue. Thanks.
AbuAnsar
|
Offline
|
|
07-22-2007, 12:13 PM
|
#65
|
BlackBerry Extraordinaire
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
|
Quote:
Originally Posted by AbuAnsar
My concern is whether it will damage anything in my Blackberry or not. If you guys ever encountered with the same problem please enlighten me on this issue. Thanks.
|
You'll be fine -- the default current on the USB port is 100mA so your device is charging, just very slowly (aka "trickle charge"). Normal charging current for a BB is 500mA - so if 500mA charges in 1 hour, 100mA would charge in 5 hours. I've read in various articles that trickle charging actually is better for a Lithium Ion battery, increasing it's longevity -- I can't confirm that, though.
(the charge curve is also not a direct 1-to-1, it's actually an exponential I think)
|
Offline
|
|
07-22-2007, 12:45 PM
|
#66
|
Knows Where the Search Button Is
Join Date: Jul 2007
Model: 8100
PIN: N/A
Carrier: T-Mobile
Posts: 17
|
rivviepop, thanks for your explanation, i didnt know anything about it. You ever tried to use your BB as a modem under Linux? Does it work?
|
Offline
|
|
07-22-2007, 01:00 PM
|
#67
|
BlackBerry Extraordinaire
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
|
Quote:
Originally Posted by AbuAnsar
rivviepop, thanks for your explanation, i didnt know anything about it. You ever tried to use your BB as a modem under Linux? Does it work?
|
I haven't but others have -- hit the main Linux forum and there are 1 or 2 threads about it with lots of good info...
|
Offline
|
|
07-22-2007, 10:42 PM
|
#68
|
Knows Where the Search Button Is
Join Date: Jul 2007
Model: 8100
PIN: N/A
Carrier: T-Mobile
Posts: 17
|
rivviepop thanks a lot. I will do what you said. thanks again!
|
Offline
|
|
08-01-2007, 12:56 AM
|
#69
|
Thumbs Must Hurt
Join Date: Mar 2006
Location: Henderson, KY
Model: 9530
OS: 4.7.0.148
Carrier: Verizon
Posts: 178
|
So i tried to use '$ sudo alien' to convert the rpm into a deb. I successfully completed that task and then I ran '$ sudo dpkg -i' to install deb. Everything installed and ran as usual but when i plug in my blackberry i still get the same error 'USB charging current is not...' from what I understand the driver that controls current which was know as bbcharge is apart of the package. I have also tried to run the Barry in the terminal to get every thing up and running. But still no luck, can any one offer any help.
Oh sorry
dude i get a dell
1501
amd
2gb ram
running dual boot Vista business and Ubuntu 7.04
blackberry 8830 vzw
xullux@xullux-laptop:~$ sudo aptitude show barry
Package: barry
State: installed
Automatically installed: no
Version: 0.7-3
Priority: extra
Section: alien
Maintainer: xullux <xullux@xullux-laptop>
Uncompressed Size: 778k
Description: BlackBerry(tm) Desktop for Linux
Barry is a desktop toolset for managing your BlackBerry(tm) device. (BlackBerry
is a registered trademark of Research in Motion Limited.)
(Converted from a rpm package by alien version 8.65.)
__________________
Left my storm for a tour and havn't looked back!
|
Offline
|
|
08-07-2007, 10:24 AM
|
#70
|
New Member
Join Date: Aug 2007
Model: 7290
PIN: N/A
Carrier: Telefonica Movistar
Posts: 1
|
Hello
I am using a Blackberry 7290 connected via USB to a PC with Linux Red Hat 2.4.18. and the message about insufficient power for charging on USB appears.
I have tried to use the bcharge utility from the Barry project v0.7. I compiled it with "g++ -o bcharge bcharge.cc -lusb" but it doesn't seem to work. Bcharge says "Scanning for Blackberry devices... Found device #002... adjusting charge settings... no Pearl adjustment... done"
But lsusb shows that the MaxPower value for my Blackberry continues to be 100mA instead of the supposed 500mA.
The libusb version used to compile the bcharge utility is libusb-0.1.so.4. The firmware version of the Blackberry is 4.0.0.255. I have also tried using kernel 2.4.20 but the same problem occurs.
Also, If I let the Blackberry connected via USB during a long time it gets switched off or enter in a kind of suspended mode and then I have to switch it on manually. Is this normal? Is it related to the insufficient power for charging issue?
Does anyone have the same problem or has any idea about what is happening and/or why bcharge is not working?
Thanks very much
|
Offline
|
|
12-01-2007, 07:07 AM
|
#71
|
New Member
Join Date: Nov 2007
Location: Buenos Aires, Argentina
Model: 8100
PIN: N/A
Carrier: Personal Argentina
Posts: 3
|
There are lots of people frustrated at getting bcharge to work.
I was one of them too, until I got angry and worked-around the problem.
Take a look at this (in Spanish, but the code sections are quite obvious) post from my blog:
COMO cargar bateria de BlackBerry o iPod | Buanzolandia
If there is enough request, I'll translate it to English.
Basicly, the usb_storage kernel module resets current to 100mA. Also, I use acharge instead of bcharge (binary and source download links available in the post).
Let me know if this works for you!
|
Offline
|
|
05-10-2008, 11:05 AM
|
#72
|
Knows Where the Search Button Is
Join Date: Dec 2007
Model: 8320
PIN: N/A
Carrier: t-mobile usa
Posts: 36
|
Works well with Debian 4.0
I used *.deb files from SourceForge.net: Files
|
Offline
|
|
06-19-2008, 02:50 PM
|
#73
|
New Member
Join Date: Jun 2008
Model: 8310
OS: Linux
PIN: N/A
Carrier: Vodafone
Posts: 8
|
any chance of updating the fedora files for fedora 9?
I get the following when I use make when trying to compile from source
Code:
data.cc: In function 'bool Barry::IsHexData(const std::string&)':
data.cc:47: error: 'strchr' was not declared in this scope
data.cc: In constructor 'Barry::Data::Data()':
data.cc:72: error: 'memset' was not declared in this scope
data.cc: In constructor 'Barry::Data::Data(int, size_t)':
data.cc:83: error: 'memset' was not declared in this scope
data.cc: In copy constructor 'Barry::Data::Data(const Barry::Data&)':
data.cc:106: error: 'memcpy' was not declared in this scope
data.cc: In member function 'void Barry::Data::MakeSpace(size_t)':
data.cc:119: error: 'memcpy' was not declared in this scope
data.cc:120: error: 'memset' was not declared in this scope
data.cc: In member function 'void Barry::Data::CopyOnWrite(size_t)':
data.cc:135: error: 'memcpy' was not declared in this scope
data.cc: In member function 'void Barry::Data::Zap()':
data.cc:264: error: 'memset' was not declared in this scope
data.cc: In member function 'Barry::Data& Barry::Data::operator=(const Barry::Data&)':
data.cc:275: error: 'memcpy' was not declared in this scope
data.cc: In function 'bool Barry::IsEndpointStart(const std::string&, int&)':
data.cc:389: error: 'strncmp' was not declared in this scope
data.cc:392: error: 'atoi' was not declared in this scope
make[2]: *** [data.lo] Error 1
make[2]: Leaving directory `/opt/barry-0.12/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/barry-0.12'
make: *** [all] Error 2
Last edited by milomak; 06-19-2008 at 02:51 PM..
|
Offline
|
|
06-19-2008, 04:37 PM
|
#74
|
Talking BlackBerry Encyclopedia
Join Date: Mar 2006
Location: Over the hills and far away...
Model: 9800
PIN: .
Carrier: Orange
Posts: 428
|
I've been getting something similar under ubuntu until a few days ago from cvs source, think a few parts are in the process of being updated for newer code. Best reporting errors like this on the source forge bug reports for it tho.
|
Offline
|
|
06-22-2008, 02:59 PM
|
#75
|
New Member
Join Date: Jun 2008
Model: 8310
OS: Linux
PIN: N/A
Carrier: Vodafone
Posts: 8
|
I'll certainly post that in the sourceforge site. How do I go about downloading the CVS version? More specifically what do I need to put as modulename in the below?
Code:
cvs -z3 -d:pserver:anonymous@barry.cvs.sourceforge.net:/cvsroot/barry co -P modulename
|
Offline
|
|
06-22-2008, 05:11 PM
|
#76
|
BlackBerry Extraordinaire
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
|
Quote:
Originally Posted by milomak
I'll certainly post that in the sourceforge site. How do I go about downloading the CVS version? More specifically what do I need to put as modulename in the below?
Code:
cvs -z3 -d:pserver:anonymous@barry.cvs.sourceforge.net:/cvsroot/barry co -P modulename
|
The module name is 'barry' - in CVS parlance, a module name is nothing more than the top level directory name in the repository, nothing more. The name 'module' confuses a lot of people... I usually find module names by looking at the web CVS for the project, e.g.:
http://barry.cvs.sourceforge.net/barry/
|
Offline
|
|
06-22-2008, 07:37 PM
|
#77
|
New Member
Join Date: Jun 2008
Model: 8310
OS: Linux
PIN: N/A
Carrier: Vodafone
Posts: 8
|
ah thanks. if you can it might help to change what is displayed on the barry sourceforge.net site to reflect the actual steps needed to go the cvs route.
some of us non-technical folk are willing to take the extra step if guided properly.
|
Offline
|
|
06-22-2008, 07:51 PM
|
#78
|
BlackBerry Extraordinaire
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
|
Quote:
Originally Posted by milomak
ah thanks. if you can it might help to change what is displayed on the barry sourceforge.net site to reflect the actual steps needed to go the cvs route.
some of us non-technical folk are willing to take the extra step if guided properly.
|
You'll want to email/contact the admins over there, I'm not part of the barry project or anything like that - just a random guy. To be honest I haven't looked at barry in quite some time...
|
Offline
|
|
06-25-2008, 02:21 PM
|
#79
|
New Member
Join Date: Jun 2008
Model: 8310
OS: Linux
PIN: N/A
Carrier: Vodafone
Posts: 8
|
oh my mistake. i thought you were. but thanks for your help. I was able to compile it and now bcharger runs on Fedora 9 from the CVS source.
|
Offline
|
|
10-12-2008, 11:46 AM
|
#80
|
Knows Where the Search Button Is
Join Date: Dec 2007
Model: 8320
PIN: N/A
Carrier: t-mobile usa
Posts: 36
|
Mythdora FC 8
I had trouble compiling and using bcharge. So I tried barry per instructions on sourceforge. This did not work well either.
So here is my recipe.
Download, configure and make barry (do not install, doing install did not work for me)
copy bcharge and breset to /usr/sbin
copy 10-blackberry.rules to /etc/udev/rules.d
copy 10-blackberry.perms to /etc/security/console.perms.d
reboot
|
Offline
|
|
|
|