BlackBerry Forums Support Community
              

Reply
 
Thread Tools
Old 06-28-2007, 12:08 PM   #61
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Default

Please Login to Remove!

Quote:
Originally Posted by erroneus View Post
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.
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline   Reply With Quote
Old 07-01-2007, 10:02 PM   #62
ssc351
New Member
 
Join Date: Jul 2007
Model: 7100t
PIN: N/A
Carrier: AT&T
Posts: 2
Default

Quote:
Originally Posted by rivviepop View Post
If you run Fedora Core 6:

1) download these files:
SourceForge.net: Downloading ...
SourceForge.net: Downloading ...

2) as 'root' on your machine in the directory you downloaded to, type:
Code:
rpm -Uhv barry-* libbarry-*
3) drink a beer and congratulate yourself on being a nerd.
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   Reply With Quote
Old 07-10-2007, 08:20 AM   #63
MarkARichards
Knows Where the Search Button Is
 
Join Date: Oct 2005
Location: Ohio
Model: 9000
Carrier: AT&T
Posts: 16
Default

Quote:
Originally Posted by rivviepop View Post
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   Reply With Quote
Old 07-22-2007, 11:52 AM   #64
AbuAnsar
Knows Where the Search Button Is
 
Join Date: Jul 2007
Model: 8100
PIN: N/A
Carrier: T-Mobile
Posts: 17
Default

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   Reply With Quote
Old 07-22-2007, 12:13 PM   #65
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Default

Quote:
Originally Posted by AbuAnsar View Post
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)
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline   Reply With Quote
Old 07-22-2007, 12:45 PM   #66
AbuAnsar
Knows Where the Search Button Is
 
Join Date: Jul 2007
Model: 8100
PIN: N/A
Carrier: T-Mobile
Posts: 17
Default

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   Reply With Quote
Old 07-22-2007, 01:00 PM   #67
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Default

Quote:
Originally Posted by AbuAnsar View Post
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...
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline   Reply With Quote
Old 07-22-2007, 10:42 PM   #68
AbuAnsar
Knows Where the Search Button Is
 
Join Date: Jul 2007
Model: 8100
PIN: N/A
Carrier: T-Mobile
Posts: 17
Default

rivviepop thanks a lot. I will do what you said. thanks again!
Offline   Reply With Quote
Old 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
Default

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   Reply With Quote
Old 08-07-2007, 10:24 AM   #70
jtoque
New Member
 
Join Date: Aug 2007
Model: 7290
PIN: N/A
Carrier: Telefonica Movistar
Posts: 1
Default

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   Reply With Quote
Old 12-01-2007, 07:07 AM   #71
buanzo
New Member
 
Join Date: Nov 2007
Location: Buenos Aires, Argentina
Model: 8100
PIN: N/A
Carrier: Personal Argentina
Posts: 3
Default

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   Reply With Quote
Old 05-10-2008, 11:05 AM   #72
bajjisw
Knows Where the Search Button Is
 
Join Date: Dec 2007
Model: 8320
PIN: N/A
Carrier: t-mobile usa
Posts: 36
Default Works well with Debian 4.0

I used *.deb files from SourceForge.net: Files
Offline   Reply With Quote
Old 06-19-2008, 02:50 PM   #73
milomak
New Member
 
Join Date: Jun 2008
Model: 8310
OS: Linux
PIN: N/A
Carrier: Vodafone
Posts: 8
Default

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   Reply With Quote
Old 06-19-2008, 04:37 PM   #74
HuwSy
Talking BlackBerry Encyclopedia
 
HuwSy's Avatar
 
Join Date: Mar 2006
Location: Over the hills and far away...
Model: 9800
PIN: .
Carrier: Orange
Posts: 428
Default

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.
__________________
Huw - www.huenik.com
BB 9800
Offline   Reply With Quote
Old 06-22-2008, 02:59 PM   #75
milomak
New Member
 
Join Date: Jun 2008
Model: 8310
OS: Linux
PIN: N/A
Carrier: Vodafone
Posts: 8
Default

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   Reply With Quote
Old 06-22-2008, 05:11 PM   #76
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Default

Quote:
Originally Posted by milomak View Post
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/
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline   Reply With Quote
Old 06-22-2008, 07:37 PM   #77
milomak
New Member
 
Join Date: Jun 2008
Model: 8310
OS: Linux
PIN: N/A
Carrier: Vodafone
Posts: 8
Default

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   Reply With Quote
Old 06-22-2008, 07:51 PM   #78
rivviepop
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Default

Quote:
Originally Posted by milomak View Post
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...
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline   Reply With Quote
Old 06-25-2008, 02:21 PM   #79
milomak
New Member
 
Join Date: Jun 2008
Model: 8310
OS: Linux
PIN: N/A
Carrier: Vodafone
Posts: 8
Default

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   Reply With Quote
Old 10-12-2008, 11:46 AM   #80
bajjisw
Knows Where the Search Button Is
 
Join Date: Dec 2007
Model: 8320
PIN: N/A
Carrier: t-mobile usa
Posts: 36
Default 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   Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


VoIP-GSM Topex VoiBridge picture

VoIP-GSM Topex VoiBridge

$250.00



Fortinet FON-570 VoIP Phone - Corded picture

Fortinet FON-570 VoIP Phone - Corded

$30.00



Allworx 9212L VoIP IP Business Telephone W/ Backlit Display - Black picture

Allworx 9212L VoIP IP Business Telephone W/ Backlit Display - Black

$19.99



"NEW" RingCentral Polycom VVX 311 6-Line VoIP IP SIP Business Media Phone

$14.95



Allworx VOIP Connect 536 VoIP Communication System Server w/ rack ears picture

Allworx VOIP Connect 536 VoIP Communication System Server w/ rack ears

$349.99



3CX 8SC Pro license, for VoIP a telephone system picture

3CX 8SC Pro license, for VoIP a telephone system

$199.00







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.