View Full Version : Sync Contacts Between BlackBerry and Evolution on F10
erik_
2009-01-18, 01:05 PM CST
Anyone succeeded in syncing the address book between a Blackberry and Evolution on F10?
I have read every relevant piece of info that Google turns up. Right now I'm stuck here:
msynctool --addmember Blackberry barry-sync
ERROR: Unable to find plugin with name barry-sync
Obviously I need to find whatever RPM delivers the barry plugin for opensync. I believe that such a beast would be called libopensync-plugin-barry_0.14-0.fc10.i386.rpm but I can't find it. At
this link (http://koji.fedoraproject.org/koji/packageinfo?packageID=7118) I see the barry RPMs for F10 - no opensync plugin - and at this link (http://sourceforge.net/project/showfiles.php?group_id=153722&package_id=170564) I see opensync plugins for other platforms - but not F10. Is there a barry plugin for opensync for F10? I have already installed barry.x86_64 but I think that delivers only the GUI (which seems to work OK).
Before I started looking at this, USB access to my BlackBerry worked out of the box. When I connected the phone to the computer, it was found straight away. For some reason it got mounted twice, as BLACKBERRY1 and BLACKBERRY2, but I could browse the BlackBerry filesystem no problem. Now after a day of desperately installing any and every RPM vaguely related to the BlackBerry, the USB access is broken. Now when I connect the BlackBerry I still get two mount points but they are both called USB and both appear as empty directories. What did I break? How do I fix it?
I see many comments to the effect that Barry requires opensync 0.22, and that opensync 0.3x will not do. F10 ships 0.36, how do I downgrade to 0.22? Won't this break dependent packages?
I have the 9000 (Bold).
Thanks,
Erik
glennzo
2009-01-18, 03:05 PM CST
Erik, no definitive answer for you but since I have some time on my hands I'm going to install Barry and see if I can get it to work with my 8700G. I think I did this before with Fedora 8 or 9. As I recall I wasn't too impressed though. Right now the phone is charging since it's almost dead so all I've done is plug it in to the laptop. It was recognized.
Jan 18 16:51:54 coolhand kernel: usb 2-2: new full speed USB device using uhci_hcd and address 2
Jan 18 16:51:54 coolhand kernel: usb 2-2: configuration #1 chosen from 1 choice
Jan 18 16:51:54 coolhand kernel: usb 2-2: New USB device found, idVendor=0fca, idProduct=0001
Jan 18 16:51:54 coolhand kernel: usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jan 18 16:51:54 coolhand kernel: usb 2-2: Product: BlackBerry
Jan 18 16:51:54 coolhand kernel: usb 2-2: Manufacturer: Research In Motion
Jan 18 16:51:54 coolhand kernel: usbcore: registered new interface driver berry_charge
Jan 18 16:51:55 coolhand kernel: usb 2-2: USB disconnect, address 2
Jan 18 16:51:55 coolhand kernel: usb 2-2: new full speed USB device using uhci_hcd and address 3
Jan 18 16:51:55 coolhand kernel: usb 2-2: configuration #1 chosen from 1 choice
Jan 18 16:51:55 coolhand kernel: usb 2-2: New USB device found, idVendor=0fca, idProduct=0001
Jan 18 16:51:55 coolhand kernel: usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jan 18 16:51:55 coolhand kernel: usb 2-2: Product: BlackBerry
Jan 18 16:51:55 coolhand kernel: usb 2-2: Manufacturer: Research In Motion
Jan 18 16:51:56 coolhand kernel: usb 2-2: USB disconnect, address 3
Jan 18 16:51:56 coolhand kernel: usb 2-2: new full speed USB device using uhci_hcd and address 4
Jan 18 16:51:56 coolhand kernel: usb 2-2: configuration #1 chosen from 1 choice
Jan 18 16:51:56 coolhand kernel: usb 2-2: New USB device found, idVendor=0fca, idProduct=0001
Jan 18 16:51:56 coolhand kernel: usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jan 18 16:51:56 coolhand kernel: usb 2-2: Product: BlackBerry
Jan 18 16:51:56 coolhand kernel: usb 2-2: Manufacturer: Research In Motion
That's a good start. I've also installed Barry. The result was
Installed:
barry.i386 0:0.14-4.fc10
Dependency Installed:
barry-libs.i386 0:0.14-4.fc10 boost.i386 0:1.34.1-17.fc10
Complete!
So I'm going to let the phone charge for an hour or so and then get back to this experiment.
glennzo
2009-01-18, 04:14 PM CST
Just a progress report. I've run the only thing I can find so far, /usr/bin/barrybackup. This seemed to work well and claims to have successfully backed up my phone's data. Onward!
Hmmmm. As I was posting this message I got new e-mail in Evolution. The BlackBerry screen lit up as though it too received some data. Interesting.
erik_
2009-01-19, 04:25 AM CST
Many thanks for getting back to me, I'm grateful for another pair of eyes. My expectations of Barry are low. The backup works already, if I can just sync my contacts then I won't need Windows for the phone.
Here's a weird development, the USB started working again, though I haven't changed anything further. Now when I connect the handheld, as before it mounts BLACKBERRY1 and BLACKBERRY2 and I can browse the filesystem. The log messages I get are much different than those you posted but I guess the net effect is the same.
You invoke Berry Backup from the command line, I invoke it from Applications | Accessories | barry. In order to get it to work, I had to use the fix below, as widely reported in multiple forums:
chmod a+rwx /dev/bus/usb/002/004
Like you I find that the backup seems to complete successfully. I haven't yet tested a restore.
msynctool requires opensync plugins for Evolution and Barry. I found a post in a message group somewhere which told me where to find the one for Evolution:
yum install libopensync-plugin-evolution2.x86_64
That seemed to work OK. But I can't find the opensync plugin for Barry for F10. If I get desperate I will try to compile it from source.
Once that's done I expect it will fail because opensync is the wrong version, so I will have to try and figure out how to downgrade from 0.36 to 0.22.
Regards,
Erik
glennzo
2009-01-19, 04:41 AM CST
Unlike you, I can't browse the BlackBerry when it's plugged in. I doesn't show up anywhere.
So I've just installed libopensync-plugin-evolution2 (32 bit system here). Apparently I should be able to do something with BlackBerry / Evolution now?
My barry GUI, from the menu system, is called backup. No icon to tell me what it is, nothing to tell me that this is the barry backup launcher. Dumb.
glennzo
2009-01-19, 05:23 AM CST
I'm guessing that we could use libopensync-plugin-barry_0.14-0_i386.deb if we were able to convert it to rpm. There is no alien package for Fedora so it needs to be compiled from source. Google searches lead me to alien source and dependencies but it looks to be a big pain in the rear since I can't figure out exactly what I need to do this. If someone jumps in here and can tell us what's needed or how-to install alien I'll continue on this journey. Otherwise, I'm off to other things.
erik_
2009-01-19, 12:44 PM CST
Unlike you, I can't browse the BlackBerry when it's plugged in. I doesn't show up anywhere.
Hm. Here is what I get in the log upon connecting the phone, if that helps. The 2 mounts are the device memory and the card.
Jan 19 11:54:47 localhost kernel: usb 2-2: new high speed USB device using ehci_hcd and address 3
Jan 19 11:54:47 localhost kernel: usb 2-2: configuration #1 chosen from 1 choice
Jan 19 11:54:47 localhost kernel: usb 2-2: New USB device found, idVendor=0fca, idProduct=8004
Jan 19 11:54:47 localhost kernel: usb 2-2: New USB device strings: Mfr=1, Product=5, SerialNumber=3
Jan 19 11:54:47 localhost kernel: usb 2-2: Product: RIM Composite Device
Jan 19 11:54:47 localhost kernel: usb 2-2: Manufacturer: Research In Motion
Jan 19 11:54:47 localhost kernel: usb 2-2: SerialNumber: DEB13041A6F051D8FE6BE3C6DF9F71039AA46EB2
Jan 19 11:54:47 localhost kernel: Initializing USB Mass Storage driver...
Jan 19 11:54:47 localhost kernel: scsi4 : SCSI emulation for USB Mass Storage devices
Jan 19 11:54:47 localhost kernel: scsi5 : SCSI emulation for USB Mass Storage devices
Jan 19 11:54:47 localhost kernel: usbcore: registered new interface driver usb-storage
Jan 19 11:54:47 localhost kernel: USB Mass Storage support registered.
Jan 19 11:54:52 localhost kernel: scsi 5:0:0:0: Direct-Access RIM BlackBerry SD 0002 PQ: 0 ANSI: 0 CCS
Jan 19 11:54:52 localhost kernel: scsi 4:0:0:0: Direct-Access RIM BlackBerry 1002 PQ: 0 ANSI: 4 CCS
Jan 19 11:54:52 localhost kernel: sd 4:0:0:0: [sdb] 1760239 512-byte hardware sectors (901 MB)
Jan 19 11:54:52 localhost kernel: sd 4:0:0:0: [sdb] Write Protect is off
Jan 19 11:54:52 localhost kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through
Jan 19 11:54:52 localhost kernel: sd 4:0:0:0: [sdb] 1760239 512-byte hardware sectors (901 MB)
Jan 19 11:54:52 localhost kernel: sd 4:0:0:0: [sdb] Write Protect is off
Jan 19 11:54:52 localhost kernel: sd 4:0:0:0: [sdb] Assuming drive cache: write through
Jan 19 11:54:52 localhost kernel: sdb:
Jan 19 11:54:52 localhost kernel: sd 4:0:0:0: [sdb] Attached SCSI removable disk
Jan 19 11:54:52 localhost kernel: sd 4:0:0:0: Attached scsi generic sg2 type 0
Jan 19 11:54:52 localhost kernel: sd 5:0:0:0: [sdc] 1989632 512-byte hardware sectors (1019 MB)
Jan 19 11:54:52 localhost kernel: sd 5:0:0:0: [sdc] Write Protect is off
Jan 19 11:54:52 localhost kernel: sd 5:0:0:0: [sdc] Assuming drive cache: write through
Jan 19 11:54:52 localhost kernel: sd 5:0:0:0: [sdc] 1989632 512-byte hardware sectors (1019 MB)
Jan 19 11:54:52 localhost kernel: sd 5:0:0:0: [sdc] Write Protect is off
Jan 19 11:54:52 localhost kernel: sd 5:0:0:0: [sdc] Assuming drive cache: write through
Jan 19 11:54:52 localhost kernel: sdc: sdc1
Jan 19 11:54:53 localhost kernel: sd 5:0:0:0: [sdc] Attached SCSI removable disk
Jan 19 11:54:53 localhost kernel: sd 5:0:0:0: Attached scsi generic sg3 type 0
Jan 19 11:54:53 localhost hald: mounted /dev/sdc1 on behalf of uid 500
Jan 19 11:54:53 localhost gnome-keyring-daemon[2722]: adding removable location: volume_uuid_FFFF_FFFF at /media/BLACKBERRY2
Jan 19 11:54:53 localhost gnome-keyring-daemon[2722]: adding removable location: volume_uuid_011C_7449 at /media/BLACKBERRY1
Jan 19 11:54:53 localhost hald: mounted /dev/sdb on behalf of uid 500
So I've just installed libopensync-plugin-evolution2 (32 bit system here). Apparently I should be able to do something with BlackBerry / Evolution now?
Yes, now you can configure the Evolution half of the Evolution-Barry sync in msynctool, e.g:
msynctool --addgroup BlackBerry
msynctool --addmember BlackBerry evo2-sync
msynctool --configure BlackBerry 1
Postings in various newsgroups propose this configuration for Evolution:
<?xml version="1.0"?>
<config>
<address_path>file:///home/erik/.evolution/addressbook/local/system/</address_path>
<calendar_path>file:///home/erik/.evolution/calendar/local/system/</calendar_path>
<memos_path>file:///home/erik/.evolution/memos/local/system/</memos_path>
<tasks_path>file:///home/erik/.evolution/tasks/local/system/</tasks_path>
</config>
In theory the remaining steps would then be:
msynctool --addmember BlackBerry barry-sync
msynctool --configure BlackBerry 2
msynctool --sync BlackBerry
But at the moment the first of those three commands fails as noted previously.
My barry GUI, from the menu system, is called backup. No icon to tell me what it is, nothing to tell me that this is the barry backup launcher. Dumb.
Yes, now that you mention it, for me also the thing was called backup, not even barry as I said before. Dumb indeed. I renamed it to Barry Backup and borrowed the icon for the Palm Pilot :)
I'm guessing that we could use libopensync-plugin-barry_0.14-0_i386.deb if we were able to convert it to rpm. There is no alien package for Fedora so it needs to be compiled from source. Google searches lead me to alien source and dependencies but it looks to be a big pain in the rear since I can't figure out exactly what I need to do this. If someone jumps in here and can tell us what's needed or how-to install alien I'll continue on this journey. Otherwise, I'm off to other things.
Converting from deb to rpm, that's over my head. I'm thinking instead of grabbing the source code for the barry opensync plugin and just trying to build it. If I have any joy with that I'll report back here. Thanks again for your help.
Regards,
Erik
erik_
2009-01-19, 03:03 PM CST
I just got the sync to work !!! :-) :-) :-)
I built everything from source code and ran it and it worked on the first attempt.
The build was surprisingly easy, it took and hour and a half the first time through, now that I know what to do it could be repeated in half an hour.
I took notes along the way, I will post back in the next day or two with a HOWTO for anyone who might be interested.
glennzo
2009-01-20, 02:44 AM CST
Converting from deb to rpm would be simple if we could install alien, but that looks like a 4 hour task :( Then it would become a matter of a command line call to alien. Something on the order of alien foo.deb foo.rpm.
leigh123linux
2009-01-20, 02:53 AM CST
Converting from deb to rpm would be simple if we could install alien, but that looks like a 4 hour task :( Then it would become a matter of a command line call to alien. Something on the order of alien foo.deb foo.rpm.
You could recompile the alien srpm and install it with the --nodeps option
https://bugzilla.redhat.com/show_bug.cgi?id=456756
glennzo
2009-01-20, 03:05 AM CST
Geesh! I looked at the bugzilla link Leigh. You're getting crap because you're not sponsored and at the same time Fedora could use 1000 more people willing to do things such as this? Did I understand that correctly?
leigh123linux
2009-01-20, 04:19 AM CST
Geesh! I looked at the bugzilla link Leigh. You're getting crap because you're not sponsored and at the same time Fedora could use 1000 more people willing to do things such as this? Did I understand that correctly?
It is hard to get sponsored :( , I have got a package accepted but no sponsorship .
https://bugzilla.redhat.com/show_bug.cgi?id=457213
koperry
2009-01-20, 04:54 AM CST
I took the easy way out, google mobile sync (http://www.google.com/mobile/blackberry/sync.html) on my blackberry and set up google calendar and contacts on evolution. Now my evolution, blackberry and google apps acct are always up to date wirelessly.
It would be nice however to sync locally or if you didn't use gmail.
erik_
2009-01-20, 12:29 PM CST
I posted my results as a new thread in the HOWTO forum (http://forums.fedoraforum.org/showthread.php?t=211183).
jeffy5
2009-06-27, 11:39 PM CDT
Hello,
Today, I had to reinstall Fedora 11 on my Dell Optiplex 755. Previously, I never had problems in installing Barry, as I always install them from the Fedora repositories. All I would do is install the Barry Gui, libraries and the opensync plugins and it would perfectly sync my BlackBerry 8310. As I installed everything as I have previously done, the "backup" menu does not appear in Applications-Accessories. Has anyone else had this problem? Please help
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.