BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Linux Users Corner (http://www.blackberryforums.com/linux-users-corner/)
-   -   btool + pearl (http://www.blackberryforums.com/linux-users-corner/66512-btool-pearl.html)

rivviepop 02-24-2007 11:43 AM

btool + pearl
 
(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"

LunkHead 02-24-2007 11:56 AM

I am still having issues with bcharge, but will give it a whirl and report back....

rivviepop 02-24-2007 11:59 AM

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...

LunkHead 02-24-2007 12:05 PM

@ 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....

rivviepop 02-24-2007 12:35 PM

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

erroneus 02-24-2007 06:36 PM

Has anyone been kind enough to create a Fedora Core 6 compatile RPM for any of this? :)

rivviepop 02-24-2007 07:01 PM

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 :-/ )

erroneus 02-24-2007 07:02 PM

a bcharge rpm would be terrific! Thanks!

LunkHead 02-25-2007 03:03 PM

Posted RPM in Bcharge thread :)

HuwSy 02-26-2007 07:39 AM

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.

rivviepop 02-26-2007 01:35 PM

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.

HuwSy 02-26-2007 02:20 PM

"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.

rivviepop 02-26-2007 03:41 PM

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...

HuwSy 02-28-2007 02:19 AM

Hum... il have another go setting it up later then once i find some different versions.

rivviepop 02-28-2007 11:37 AM

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...

HuwSy 02-28-2007 01:29 PM

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 :)

HuwSy 02-28-2007 01:50 PM

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

HuwSy 02-28-2007 05:09 PM

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.

rivviepop 02-28-2007 06:21 PM

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. :)

HuwSy 03-01-2007 04:29 AM

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?


All times are GMT -5. The time now is 02:07 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.