BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-24-2007, 11:43 AM   #1 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default btool + pearl

Please Login to Remove!

(ref: Net Direct :: Open Solutions )

Is anyone else playing with btool from the Barry project? The previous CVS revision I had checked out was working, but the latest update this morning from HEAD doesn't seem to find my device. Obviously I can hit up the official mailing list, but though I'd see if anyone here was working with it first.

(also an excuse to start a thread where we can discuss it's use/problems/etc.)

==
Referring to CVS.... 2/24/07, 09:00 PST for reference as "this morning"
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 02-24-2007, 11:56 AM   #2 (permalink)
BlackBerry God
 
LunkHead's Avatar
 
Join Date: Jan 2005
Location: Here
Model: 850
OS: 0.0.00001
PIN: kie swear
Carrier: USPS Priority
Posts: 10,975
Post Thanks: 148
Thanked 142 Times in 54 Posts
Default

I am still having issues with bcharge, but will give it a whirl and report back....
Offline  
Old 02-24-2007, 11:59 AM   #3 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by LunkHead
I am still having issues with bcharge, but will give it a whirl and report back....
I've got my bcharge dialled in and working (it's charging right now ), so followup on the bcharge thread and I'll try and help...

Hmmm, you've tickled a thought -- maybe the fact I have bcharge run (ergo having adjusted the device from id 0x0006 to 0x0004 and set the charge to 500mA) is what's causing the latest btool to fail. Maybe it's looking for 0x0006 product ID...
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 02-24-2007, 12:05 PM   #4 (permalink)
BlackBerry God
 
LunkHead's Avatar
 
Join Date: Jan 2005
Location: Here
Model: 850
OS: 0.0.00001
PIN: kie swear
Carrier: USPS Priority
Posts: 10,975
Post Thanks: 148
Thanked 142 Times in 54 Posts
Default

@ rivviepop

Thanks for the offer but I need to bang my head up against wall and try and figure out my Bcharge issue 1st before I *beg* for assistance...

I can charge just fine but it will not recognize my media card....

While you are far more of a Linux guru than I, I am tracking with you on the 2nd paragraph, and think you might be on to something....
Offline  
Old 02-24-2007, 12:35 PM   #5 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by LunkHead
I can charge just fine but it will not recognize my media card....
Here I wrote a reference to help you out before your head gets all bloody and you have to repaint the wall.

http://www.blackberryforums.com/linu...age-linux.html
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 02-24-2007, 06:36 PM   #6 (permalink)
Knows Where the Search Button Is
 
erroneus's Avatar
 
Join Date: Feb 2007
Location: Texas
Model: 8100
Carrier: T-Mobile
Posts: 42
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Has anyone been kind enough to create a Fedora Core 6 compatile RPM for any of this?
Offline  
Old 02-24-2007, 07:01 PM   #7 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by erroneus
Has anyone been kind enough to create a Fedora Core 6 compatile RPM for any of this?
I have a bcharge RPM, but not btool (since it's sort of a moving target right now); I'll post the SPEC file later, it's on the laptop at home (at work applying DST-change patches to servers :-/ )
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 02-24-2007, 07:02 PM   #8 (permalink)
Knows Where the Search Button Is
 
erroneus's Avatar
 
Join Date: Feb 2007
Location: Texas
Model: 8100
Carrier: T-Mobile
Posts: 42
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

a bcharge rpm would be terrific! Thanks!
Offline  
Old 02-25-2007, 03:03 PM   #9 (permalink)
BlackBerry God
 
LunkHead's Avatar
 
Join Date: Jan 2005
Location: Here
Model: 850
OS: 0.0.00001
PIN: kie swear
Carrier: USPS Priority
Posts: 10,975
Post Thanks: 148
Thanked 142 Times in 54 Posts
Default

Posted RPM in Bcharge thread

Last edited by LunkHead : 02-25-2007 at 03:11 PM.
Offline  
Old 02-26-2007, 07:39 AM   #10 (permalink)
Talking BlackBerry Encyclopedia
 
HuwSy's Avatar
 
Join Date: Mar 2006
Location: Over the hills and far away...
Model: 9800
PIN: .
Carrier: Orange
Posts: 428
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can anyone put up either an .rpm or .deb of btool and the bb opensync plugin, as it doesnt want to work with autoconfig or automake on my computer telling me theres calls to undeclared functions. one designed for older blackberrys tho, so without the changed device id. Thanks.
__________________
Huw - www.huenik.com
BB 9800
Offline  
Old 02-26-2007, 01:35 PM   #11 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by HuwSy
Can anyone put up either an .rpm or .deb of btool and the bb opensync plugin, as it doesnt want to work with autoconfig or automake on my computer telling me theres calls to undeclared functions. one designed for older blackberrys tho, so without the changed device id. Thanks.
The code is changing rapidly (a big LDIF overhaul is in CVS now), using a RPM/DEB would kinda hurt. Did you run the top level script ./buildgen.sh right after checking out the code? This is the script that actually builds the autoconf/automake files (./configure and so on) for you.

Undeclared functions usually mean that you don't have some library "devel" (name depends on distro) installed needed for compiling; for instance on Fedora, usb shared libraries are in package "libusb", but in order to compile you have to install "libusb-devel" in order to get .h (headers) and the link import libraries. If I tried to compile btool without libusb-devel installed, I'd get these undeclared functions like you have.

The udev rules in CVS support the older BB, and there's a patch in the patch section on SourceForge to add Pearl support (add, not replace) so that udev works. The code itself (btool, bcharge) supports all handsets already.
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 02-26-2007, 02:20 PM   #12 (permalink)
Talking BlackBerry Encyclopedia
 
HuwSy's Avatar
 
Join Date: Mar 2006
Location: Over the hills and far away...
Model: 9800
PIN: .
Carrier: Orange
Posts: 428
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

"LDIF overhaul"?

i ran the buildgen and it was that that was giving me errors, i dont remember what they were other than line 17 amongst a few others. I am using newer versions of both automake and autoconfig, could this be the problem? Is there a complete list of what the dependancies are as iv added all the different apps iv seen mentioned but still no luck.
__________________
Huw - www.huenik.com
BB 9800
Offline  
Old 02-26-2007, 03:41 PM   #13 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by HuwSy
"LDIF overhaul"?
LDIF == the file format used to import/export data to any standards compliant LDAP server (like OpenLDAP) and client apps (like Thunderbird), etc. btool can produce (and maybe import?) a LDIF file from your Address Book.

(I think it stands for Lightweight Directory Interchange Format)

Quote:
I am using newer versions of both automake and autoconfig, could this be the problem? Is there a complete list of what the dependancies are as iv added all the different apps iv seen mentioned but still no luck.
Alas, I'm afraid I'm not that involved to know; on my system it just works so I have all the right pieces. This sounds like a question for their official mailing list...
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 02-28-2007, 02:19 AM   #14 (permalink)
Talking BlackBerry Encyclopedia
 
HuwSy's Avatar
 
Join Date: Mar 2006
Location: Over the hills and far away...
Model: 9800
PIN: .
Carrier: Orange
Posts: 428
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hum... il have another go setting it up later then once i find some different versions.
__________________
Huw - www.huenik.com
BB 9800
Offline  
Old 02-28-2007, 11:37 AM   #15 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by HuwSy
Hum... il have another go setting it up later then once i find some different versions.
Feel free to paste the output where it's failing (use www private pastebin - collaborative debugging tool, it'll retain the formatting a lot better than this forum) and we'll at least try to look at it and help. Maybe the undeclared issue will be obvious to one of us...
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 02-28-2007, 01:29 PM   #16 (permalink)
Talking BlackBerry Encyclopedia
 
HuwSy's Avatar
 
Join Date: Mar 2006
Location: Over the hills and far away...
Model: 9800
PIN: .
Carrier: Orange
Posts: 428
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ah ha. found a few things that it seams to depend on which i didnt have. There possibly included on some distributions or within other packages but for anyone on Ubuntu 7.04 atleast they are:

pkg-config*
libusb*
libtool
openssl*
boost*
automake*
autoconf*
libssl

* are mentioned in the readme, the others are not. Now to spend my time getting the gui compiled
__________________
Huw - www.huenik.com
BB 9800
Offline  
Old 02-28-2007, 01:50 PM   #17 (permalink)
Talking BlackBerry Encyclopedia
 
HuwSy's Avatar
 
Join Date: Mar 2006
Location: Over the hills and far away...
Model: 9800
PIN: .
Carrier: Orange
Posts: 428
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

And the GUI needed

glademm*
libglademm dev
libtar dev*
zlib bin*

* were mentioned in the readme, then libglademm-dev seamed to bring with it all the that are required from the following:

-gtkmm
-glibmm
-gthread

eventhough none of the above 3 are listed anywhere on my apt network. Now if i could only get it to charge or workout where i put my password if it supports it :S
__________________
Huw - www.huenik.com
BB 9800
Offline  
Old 02-28-2007, 05:09 PM   #18 (permalink)
Talking BlackBerry Encyclopedia
 
HuwSy's Avatar
 
Join Date: Mar 2006
Location: Over the hills and far away...
Model: 9800
PIN: .
Carrier: Orange
Posts: 428
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hum... having a problem with barrybackup and btool, they both give me an error that seams to be related so il just put th output of btool up as the barrybackup one is a bit lengthy

Code:
Blackberry devices found:
Device ID: 0x80638a8. PIN: 2035248d
Bad packet size. Packet: 26. DataSize(): 26. Required size: 44
    00000000: 00 00 1a 00 09 ff 00 06 52 49 4d 20 44 65 73 6b  ........RIM Desk
    00000010: 74 6f 70 00 00 00 00 00 02 00                    top.......

Barry::Error caught: Bad packet size. Packet: 26. DataSize(): 26. Required size: 44
any ideas?

EDIT: Never mind it seams to be intermittant and goes away if i disconnect and reconnect a few times.
__________________
Huw - www.huenik.com
BB 9800

Last edited by HuwSy : 02-28-2007 at 05:15 PM.
Offline  
Old 02-28-2007, 06:21 PM   #19 (permalink)
BlackBerry Extraordinaire
 
rivviepop's Avatar
 
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
Posts: 2,166
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

While I have not tried it yet (still at work), a new Barry 0.6 has been released this afternoon by the team.

FYI only.
__________________
[ Linux & BlackBerry ] http://www.blackberryforums.com/linux-users-corner/
Offline  
Old 03-01-2007, 04:29 AM   #20 (permalink)
Talking BlackBerry Encyclopedia
 
HuwSy's Avatar
 
Join Date: Mar 2006
Location: Over the hills and far away...
Model: 9800
PIN: .
Carrier: Orange
Posts: 428
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Im guessing thats prdy much what im using seeing as i got the cvs download a couple of days ago. Any ideas what command i need to give to btool to retreive the address book, tasks, memos, calendar and if possible messages in a form where they can be imported into evolution?
__________________
Huw - www.huenik.com
BB 9800
Offline  
Closed Thread


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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