barry-sync in opensync barry-0.14

I am stuck with the following:
I am trying to sync my blackberry with evolution.
I used the following web page:
Syncing your BlackBerry on Linux, a howto guide | Linux and Open Source Blog
and
Net Direct :: Open Solutions

I installed all the software as mentioned, but I can’t find the libopensync-plugin-barry_0.14 anywhere, it does not seem to be in the repositories.
Any ideas what I am doing wrong?

Thanks for your help.

werner

Hi
I posted awhile back about this;
http://forums.opensuse.org/applications/385581-blackberry-kontact-2.html

However, since then the barry developer is using the build service. So
if you search at the following link for barry and add the ndprojects
repository, you should be good to go for both barry and the plugin.

Get It


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 8:43, 2 users, load average: 0.02, 0.01, 0.00
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Thank you, I got this, now I encounter the following error while syncing:

Synchronizing group “Blackberry”

Member 2 of type evo2-sync just connected
Member 1 of type barry-sync had an error while connecting: (-1, error sending control message: Operation not permitted): Probe: GetConfiguration failed
Member 2 of type evo2-sync just disconnected
All clients have disconnected
The sync failed: Unable to connect one of the members
Error while synchronizing: Unable to connect one of the members

This is the msynctool config file for Blackberry 1
where should I insert the BB device number if necessary, under PIN?

This is the default configuration file for the barry-sync opensync plugin.

Comments are preceded by a ‘#’ mark at the beginning of a line.

The config format is a set of lines of <keyword> <values>.

Keywords available:

DebugMode - If present, verbose USB debug output will be enabled

Device - If present, it is followed by the following values:

PIN number - PIN number of the device to sync with (in hex)

   sync calendar - 1 to sync calendar, 0 to skip
   sync contacts - 1 to sync contacts, 0 to skip

Password secret - If present, specifies the device’s password in plaintext

#DebugMode
Device 3009efe3 1 1
#Password secret

Again, thanks for your help!!

Werner

Hi
I found that if you set the sticky bit on barrybackup it will work.


sudo chmod 4755 /usr/bin/barrybackup


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 11:13, 3 users, load average: 0.13, 0.51, 0.60
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Thanks again,
I did it but no cigars.
I think somehow the Blackberry 1 config is not right yet. This is what concerns me:
Member 1 of type barry-sync had an error while connecting: (-1, error sending control message: Operation not permitted): Probe: GetConfiguration failed

don’t I need to put the device number somewhere? maybe under PIN?
what would be the device number 20877B42 in hex?
What is the Device 3009efe3 1 1 that shows up automatically just above Password secret?
I surely have to unmark sync calendar and sync contacts, right.

And thanks again,

Werner

Hi
My mistake, I’m just having a play with msynctool. I only use
barrybackup (which does produce the error you see, unless you chmod it).

Yes, you need to enter your Device # in it’s place.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
up 12:18, 2 users, load average: 0.40, 0.29, 0.16
GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82

Thanks Malcolm,

I think I just have to play around and figure it out. Once i got it I will post it.

Cheers,

Werner

Hi Werner
I’m pretty sure it’s udev causing the problem, is there a ‘barry’ group
and are you a member? Google on “Probe: GetConfiguration failed” as
well.

What happens if you add a different plug in and see how it goes.

Like I said, I’m happy with the barrybackup and use barry pppob for
dialout.


Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10.0 SP2 x86_64 Kernel 2.6.16.60-0.33-smp
up 1 day 20:02, 1 user, load average: 0.15, 0.17, 0.17
GPU GeForce 8600 GTS Silent - Driver Version: 177.82

Hi!

I got the same problem:

Anyone can help?

bye
Olaf

Hi Olaf,
I haven’t figured it out yet, I was hoping that somebody might help.
Cheers,
Werner

Hi
The problem is with the udev rules
in /etc/udev/rules.d/10-blackberry.rules. Depending on your device ID
(in my case it’s SYSFS{idVendor}==“0fca”, SYSFS{idProduct}==“0001”) so
the rule needs to be modified, in my case it’s now;


#
# Older devices that only use 0x0001 (no USB Mass Storage)
#

BUS=="usb", SUBSYSTEM=="usb_device", ACTION=="add",
SYSFS{idVendor}=="0fca", SYSFS{idProduct}=="0001",  MODE="0660",
GROUP="users", SYMLINK+="bb-%k", RUN="/usr/sbin/bcharge -p %p"

BUS=="usb", ENV{DEVTYPE}=="usb_device", ACTION=="add",
SYSFS{idVendor}=="0fca", SYSFS{idProduct}=="0001",  MODE="0660",
GROUP="users", SYMLINK+="bb-%k", RUN="/usr/sbin/bcharge -p %p"

Between the product id and the symlink, a mode change and group is
added. The other issue is it needs to run after 50-udev-default-rules
so it needs to be moved to 65-blackberry.rules;


sudo
mv /etc/udev/rules.d/10-blackberry.rules /etc/udev/rules.d/65-blackberry.rules
sudo /etc/init.d/boot.udev restart

The info above is detailed here;
{Barry-devel}
btool and friends under openSUSE 11.0 require root access]([Barry-devel] btool and friends under openSUSE 11.0 require root access)

I’m going to make a patch and update my version on the build service
withing the next day or too as well.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
up 2:34, 3 users, load average: 0.22, 0.17, 0.12
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22

Hi
I have updated my version of barry with a udev patch and works with
barrybackup, msynctool and multisync-gui.
<http://download.opensuse.org/repositories/home:/malcolmlewis/openSUSE_11.1&gt;


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
up 12:01, 1 user, load average: 0.00, 0.09, 0.24
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22