Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SynCE, Multisynce, Evolution...
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mattjgalloway
l33t
l33t


Joined: 16 Mar 2004
Posts: 761
Location: Coventry, UK

PostPosted: Thu Apr 15, 2004 9:44 pm    Post subject: SynCE, Multisynce, Evolution... Reply with quote

Hey,

Does anyone have any tutorial they can give me / guide me to about setting up my WinCE PDA to sync with Evolution? I have it all setup with synce and raki - i.e. i can issue synce-serial-start and my PDA connects, etc. However I have no idea how to get it to sync my stuff with Evolution! I've tried the synce website, but i can't understand what I need to do.

Ideas please!
_________________
AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard
Back to top
View user's profile Send private message
sigmalll
Guru
Guru


Joined: 24 Aug 2003
Posts: 332

PostPosted: Thu Apr 15, 2004 10:09 pm    Post subject: Reply with quote

I couldn't get it to do anything useful, so I have just (literally) flogged my CE device on ebay.
Back to top
View user's profile Send private message
mattjgalloway
l33t
l33t


Joined: 16 Mar 2004
Posts: 761
Location: Coventry, UK

PostPosted: Thu Apr 15, 2004 10:14 pm    Post subject: Reply with quote

Hehe.

I bought my PDA relatively cheap, and I'm going to keep it for now - even if I don't sync it at all.
_________________
AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard
Back to top
View user's profile Send private message
sigmalll
Guru
Guru


Joined: 24 Aug 2003
Posts: 332

PostPosted: Fri Apr 16, 2004 1:29 am    Post subject: Reply with quote

of course sods law dictates that the moment I pack my ipaq off to its new owner synCE will get updated and start working perfectly :P
Back to top
View user's profile Send private message
mattjgalloway
l33t
l33t


Joined: 16 Mar 2004
Posts: 761
Location: Coventry, UK

PostPosted: Fri Apr 16, 2004 9:23 am    Post subject: Reply with quote

Hehe!

I just really don't know what I need to do to get it syncing with evolution. I have evolution emerged, synce working, multisync emerged, but I just don't know what to do to get Evolution to sync.

Any ideas, anyone?
_________________
AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard
Back to top
View user's profile Send private message
Pergamon
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2004
Posts: 117

PostPosted: Mon Apr 19, 2004 1:15 pm    Post subject: Multisync and SynCE for synchronization PocketPC+Evolution Reply with quote

I got the combination of Evolution and Pocket-PC running.
You need to emerge synce and multisync.

Before starting with Evolution and Multisync, make sure, that your SynCE setup is ok. Follow the HowTo for setup:
http://synce.sourceforge.net/synce/setup.php
and for connect:
http://synce.sourceforge.net/synce/start.php

Once that connection is running, start multisync and create a new connection with Evolution and Synce as end points.

Additional doc is here:
http://synce.sourceforge.net/synce/multisync.php
http://synce.sourceforge.net/synce/
Back to top
View user's profile Send private message
mattjgalloway
l33t
l33t


Joined: 16 Mar 2004
Posts: 761
Location: Coventry, UK

PostPosted: Mon Apr 19, 2004 2:20 pm    Post subject: Reply with quote

What the...?
End points?
In my drop down for plugins in multisync I have:

Quote:
Backup
SyncML
SynCE Plugin


Could you provide a walkthrough?
_________________
AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard
Back to top
View user's profile Send private message
Pergamon
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2004
Posts: 117

PostPosted: Mon Apr 19, 2004 3:35 pm    Post subject: Need to re-emerge multisync Reply with quote

Your multisync has no support for evolution.

So first step should be to re-emerge multisync with USE flag EVO.
Code:
USE="evo" emerge multisync

There are other modules multisync supports through different USE flags. A complete list of all flags is available by:
Code:
emerge -pv multisync

For your setup (sync evolution with pocket-pc) the evo-flag is enough.

Once you have rebuild multisync with evolution support, press the "New"-button ("Create a new synchronization pair" and select evolution-plugin as first plugin and SynCE as second plugin. There is no further configuration necessary.

However before synchronization can work, you need to go through the setup of SynCE which is described on the synce.sf.net website at:
Code:
http://synce.sourceforge.net/synce/index.php

You have to walk through sections "Setup" and "Connect" (as mentioned before). You may need to recompile your kernel to support PPP, but it is documented quite well, just follow the steps.

Once you have successfully walked through "Setup" and "Connect", you can check with tool
Code:
pstatus

That the connection to your pocket-pc works. If that is ok, start multisync and press "Sync"!
Back to top
View user's profile Send private message
mattjgalloway
l33t
l33t


Joined: 16 Mar 2004
Posts: 761
Location: Coventry, UK

PostPosted: Tue Apr 20, 2004 4:47 pm    Post subject: Reply with quote

Ahhhhh! Thank you! It's the USE flag I needed for it to work! I'm just remerging now.

My SynCE is setup fine, I was just having trouble finding this evolution plugin that all the tutorials speak of!

Thanks again ;)
_________________
AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard
Back to top
View user's profile Send private message
catfeelx
n00b
n00b


Joined: 27 Nov 2002
Posts: 6
Location: Essen, Germany

PostPosted: Sun Aug 01, 2004 7:15 pm    Post subject: Multisync Plugin Reply with quote

$ emerge -s multisync
Searching...
[ Results for search key : multisync ]
[ Applications found : 2 ]

* app-pda/multisync
Latest version available: 0.81-r1
Latest version installed: 0.81-r1
Size of downloaded files: 1,687 kB
Homepage: http://multisync.sourceforge.net/
Description: Client to sync apps with WinCE or mobile devices
License: GPL-2

* app-pda/synce-multisync_plugin [ Masked ]
Latest version available: 0.8.9
Latest version installed: 0.8.9
Size of downloaded files: 197 kB
Homepage: http://sourceforge.net/projects/synce/
Description: Multisync plugin to synchronize Windows CE devices with computers running GNU/Linux, like MS ActiveSync.
License: GPL-2



So what you got to do is:
ACCEPT_KEYWORDS"~x86" emerge -v synce-multisync_plugin

But I can't get it to work.

I'll get some errors.. I'm still looking vor a solution.
let me know if you got it to work
Back to top
View user's profile Send private message
BWoso
l33t
l33t


Joined: 31 Dec 2003
Posts: 920
Location: Cleveland Ohio, USA

PostPosted: Sun Aug 22, 2004 6:14 pm    Post subject: Reply with quote

you need an = between ACCEPT_KEYWORDS and ~x86 so it should be ACCEPT_KEYWORDS=~x86 emerge...

I can't get this to work. Here is what I did and you hopefully someone will tell me if I am wrong

Code:
ACCEPT_KEYWORDS=~x86 emerge synce-kde
  emerged fine, 14 packages

# synce-serial-config ttyS0

You can now run synce-serial-start to start a serial connection.

#exit
   exit root and become normal user

$ dccm
    no output

$ su - 
   become root

# synce-serial-start

synce-serial-start is now waiting for your device to connect
 (assuming this is a problem)

# pstatus
pstatus: Unable to initialize RAPI: An unspecified failure has occurred
  (also assuming this is a problem)


I also tried synce-serial-config ttyS1 and got the same outputs.

Can someone please tell me what I am doing wrong. I really don't care if I get evolution or jpilot working, but one or the other would be nice. I also emerged kitchensynce so I could use that too if someone will help me :)
_________________
I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!

The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain-
Back to top
View user's profile Send private message
BWoso
l33t
l33t


Joined: 31 Dec 2003
Posts: 920
Location: Cleveland Ohio, USA

PostPosted: Sun Sep 05, 2004 6:36 pm    Post subject: Reply with quote

Okay, I got it to kinda work. My PDA says connected and will sync with multisync, but not all of the information gets put in evolution. Fifteen of my entries, not the first fifteen, and not the last fifteen, just a random fifteen, got put into evolution. Is there any way to get multisync to sync the rest of my contacts?
_________________
I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!

The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain-
Back to top
View user's profile Send private message
BWoso
l33t
l33t


Joined: 31 Dec 2003
Posts: 920
Location: Cleveland Ohio, USA

PostPosted: Wed Sep 08, 2004 5:17 pm    Post subject: Reply with quote

One more question... With MS activesync you can view the files on the device just like it is another HD. Is there a way to do this in Gentoo with multisync or another program? I was wondering because I have a camera for my pocket pc and I would like to be able to take the pictures off of it and put them on my computer. Thanks for any help.
_________________
I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!

The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain-
Back to top
View user's profile Send private message
anxt
Apprentice
Apprentice


Joined: 25 Feb 2003
Posts: 254
Location: Frozen Tundra, Canada

PostPosted: Wed Oct 27, 2004 5:03 pm    Post subject: Reply with quote

BWoso wrote:
One more question... With MS activesync you can view the files on the device just like it is another HD. Is there a way to do this in Gentoo with multisync or another program? I was wondering because I have a camera for my pocket pc and I would like to be able to take the pictures off of it and put them on my computer. Thanks for any help.


app-pda/synce-gnomevfs

Works quite well (maybe even better than activesync, go figure...activesync often hangs on transfers of large files, at least on my windows machine)

I hope this isn't to simplistic an answer, but I am quite pleased with the result.

---------------------------------

FWIW, this converts pocketword to oofice usable files or html

http://adrian.dimulescu.free.fr/article.php3?id_article=10

it compiled and worked for me today.

I have hotplug sort of working, but I seem to have to kill and restart dccm and I am not sure as to why this is the case. I could for the script to do this, but that doesn't seem like a great solution.

I had to put (for a viewsonic v35):

synce 0x0003 0x0543 0x0ed9 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00

Into my /etc/hotplug/usb.usermap, when i put it in synce.usermap, hotplug seem to ignore it. *SHRUG*
Back to top
View user's profile Send private message
Dawnmist
n00b
n00b


Joined: 11 Jul 2004
Posts: 29
Location: Australia

PostPosted: Thu Nov 04, 2004 7:23 am    Post subject: Reply with quote

I've been using synce at work now for about 6 months, and am actually *very* happy with the 0.9 version update. Lots of bugs/missing functionality before that, it's now starting to look like a truely usable program when you've got it actually up and running. Is a bitch to configure properly though.

Quote:
I have hotplug sort of working, but I seem to have to kill and restart dccm and I am not sure as to why this is the case. I could for the script to do this, but that doesn't seem like a great solution.

I had to put (for a viewsonic v35):

synce 0x0003 0x0543 0x0ed9 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00

Into my /etc/hotplug/usb.usermap, when i put it in synce.usermap, hotplug seem to ignore it. *SHRUG*


Haven't tried getting this working on my Gentoo system at home as yet, but on a Red Hat system at work I've found that you need to disconnect the activesync connection within the pocketpc *before* disconnecting the pocket pc cables.

Quote:
Okay, I got it to kinda work. My PDA says connected and will sync with multisync, but not all of the information gets put in evolution. Fifteen of my entries, not the first fifteen, and not the last fifteen, just a random fifteen, got put into evolution. Is there any way to get multisync to sync the rest of my contacts?


Sounds like you've reused a previous "partnership" - the pocket pc has transferred only the items that had been modified since the last sync using that partnership.

It is possible to do a full sync - but you'll need to go back afterwards and clean out the entries that get duplicated when you do it. To do it you'll have to play around with partnerships and replace one if you've already got the maximum of two, and it's a complete pain in the arse. Alternatively (and I'm not sure just how feasible this is, depends on the size of your contact list, etc) go into every entry and modify it slightly, triggering a sync for that item.

DON'T use the same partnership for more than one computer! It'll screw up your syncing. A discussion of what actually happens with partnerships, and why Micro$oft locked it to only two can be found here.

Quote:
emerge -s multisync
Searching...
[ Results for search key : multisync ]
[ Applications found : 2 ]


If you haven't already realised, you'll need both....

Quote:
One more question... With MS activesync you can view the files on the device just like it is another HD. Is there a way to do this in Gentoo with multisync or another program? I was wondering because I have a camera for my pocket pc and I would like to be able to take the pictures off of it and put them on my computer. Thanks for any help.


konqueror can do this if you've got it installed (I don't at home, which is part of why I haven't got synce installed there yet). In the location bar, replace the "file://whatever" with "rapip:/My Documents" (note the single slash). I've found that konqueror wants to automatically add a second slash if you don't give a directory after the first one, use the first one then the "up" button to get to the root directory. It should then remember this from then on and give it as a drop-down choice when you're typing.

Haven't tried synce-gnomevfs, thanks for the tip! Will definitely look into this, I'm tending to use fvwm these days with a few gnome components, so a working replacement to konqueror is appreciated!

This page also has details of the command line tools which can be used to copy/move/rename/create files on the Pocket PC, so you're not locked to a graphical filemanager interface.


If you're having trouble with getting a partnership/connection to stay up, try looking through the doc at We're stuffed bug - you will need to have some stuff activated in the kernel (although I remember coming across some kernel options regarding the ipaq, so they probably just need to be turned on).

If you've HAD a working connection at some stage, and it all just stops connecting (or rather connecting then disconnecting within a few seconds), make sure that you completely shut down activesync in the pocket pc, killall dccm, and possibly rerun synce-serial-stop to close of the "open" connection, then restart everything (put the pocket pc into standby and then turn it back on again too). And next time make sure you disconnect activesync in the ipaq BEFORE disconnecting the cable to it in future.

Cheers,
Dawnmist.
_________________
The optimist feels this is the best of all possible worlds, while the pessimist fears this is true.
Back to top
View user's profile Send private message
feardapenguin
Guru
Guru


Joined: 23 Jul 2003
Posts: 414
Location: Texas

PostPosted: Sat Nov 13, 2004 1:37 am    Post subject: Reply with quote

I've finally got a connection with my IPaq but pstatus gives me an error:

Code:
$ pstatus
pstatus: Unable to initialize RAPI: An unspecified failure has occurred

How did you get past this problem?
Back to top
View user's profile Send private message
Mben
Guru
Guru


Joined: 29 Mar 2004
Posts: 465
Location: New York, USA

PostPosted: Sat Nov 13, 2004 3:10 am    Post subject: Reply with quote

did you:

start dccm as a normal user?
run pstatus as a normal user?


you should starting as a normal user

dccm
su
synce-serial-start
exit
pstatus
Back to top
View user's profile Send private message
feardapenguin
Guru
Guru


Joined: 23 Jul 2003
Posts: 414
Location: Texas

PostPosted: Sat Nov 13, 2004 4:31 am    Post subject: Reply with quote

Yes to all of the above.

Note that this is an IPAQ device connecting via a USB port. Here is the process I am following. I'm sure the problem is glaringly obvious to someone who knows what to look for.

1) First of all, some setup info. /etc/ppp/synce-device is configured as follows:
Code:
]# cat /etc/ppp/synce-device
# Modifications to this file will be lost next time you run synce-serial-config
/dev/ttyS0 115200
connect '/usr/bin/synce-serial-chat'
nodefaultroute
noauth
local
192.168.131.102:192.168.131.201
ms-dns 192.168.131.102
crtscts
linkname synce-device

This was auto configured (except for ttyS0... see below). I have no idea if any of this is correct.

2) OK, I plug the device into USB and turn it on. dmesg shows:
Code:
usb 2-1: new full speed USB device using address 7
ipaq 2-1:1.0: PocketPC PDA converter detected
usb 2-1: PocketPC PDA converter now attached to ttyUSB0

Note that the device mentioned here is ttyUSB0 but I have no /dev file by that name. As shown in #1 above I could only get it to recognize /dev/ttyS0.

3) Start dccm (as user). Log shows:
Code:
Nov 12 22:10:52 [su] PAM pam_putenv: delete non-existent entry; REMOTEHOST
Nov 12 22:10:52 [PAM-env] Unknown PAM_ITEM: <XAUTHORITY>
Nov 12 22:10:52 [su] PAM pam_putenv: delete non-existent entry; XAUTHORITY
Nov 12 22:10:52 [su(pam_unix)] session opened for user root by user(uid=500)
Nov 12 22:10:52 [su] PAM pam_putenv: delete non-existent entry; REMOTEHOST
Nov 12 22:10:52 [PAM-env] Unknown PAM_ITEM: <XAUTHORITY>
Nov 12 22:10:52 [su] PAM pam_putenv: delete non-existent entry; XAUTHORITY

What's all this? Are these errors or warnings?

4) Next, start synce-serial-start (as root). Receive message:
Code:
# synce-serial-start
Warning!
You have firewall rules that may prevent SynCE from working properly!
synce-serial-start is now waiting for your device to connect

I don't know whether this message is bogus or not. My iptables are set on ALLOW for the ports suggested in the documentation:
Code:
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:5678
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:5679

5) At this point I have the following procs running:
Code:
<snip>
user     10251     1  0 22:10 ?        00:00:00   dccm
root     10295     1  0 22:12 ttyS0    00:00:00   /usr/sbin/pppd call synce-device
root     10296 10295  0 22:12 ttyS0    00:00:00     /usr/bin/synce-serial-chat

6) But pstatus returns the following:
Code:
$ pstatus
pstatus: Unable to initialize RAPI: An unspecified failure has occurred
Back to top
View user's profile Send private message
mattjgalloway
l33t
l33t


Joined: 16 Mar 2004
Posts: 761
Location: Coventry, UK

PostPosted: Sat Nov 13, 2004 9:25 am    Post subject: Reply with quote

Just noticed my old post has been dug up...

I finally got SynCE and Multisync talking. For me I just emerged everything, set my IPAQ module to load with the correct parameters and then did:

dccm (as normal user)
synce-serial-start (as root)

And that works for me...

You're synce-serial-start error is a common one I had when I hadn't set up IPTables properly. Here are the lines I use to get it working:

Code:
$IPT -t filter -A INPUT --protocol tcp  --destination-port 5678 -j ACCEPT
$IPT -t filter -A INPUT --protocol udp  --destination-port 5678 -j ACCEPT
$IPT -t filter -A INPUT --protocol tcp  --destination-port 5679 -j ACCEPT
$IPT -t filter -A INPUT --protocol udp  --destination-port 5679 -j ACCEPT
$IPT -t filter -A INPUT --protocol tcp  --destination-port 990 -j ACCEPT
$IPT -t filter -A INPUT --protocol udp  --destination-port 990 -j ACCEPT


[Substitute $IPT for iptables - it's just the way kmyfirewall works...]
_________________
AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard
Back to top
View user's profile Send private message
Woody2143
n00b
n00b


Joined: 26 Mar 2003
Posts: 19
Location: Atlanta, GA

PostPosted: Sat Nov 13, 2004 11:18 am    Post subject: Reply with quote

feardapenguin wrote:
3) Start dccm (as user). Log shows:
Code:
Nov 12 22:10:52 [su] PAM pam_putenv: delete non-existent entry; REMOTEHOST
Nov 12 22:10:52 [PAM-env] Unknown PAM_ITEM: <XAUTHORITY>
Nov 12 22:10:52 [su] PAM pam_putenv: delete non-existent entry; XAUTHORITY
Nov 12 22:10:52 [su(pam_unix)] session opened for user root by user(uid=500)
Nov 12 22:10:52 [su] PAM pam_putenv: delete non-existent entry; REMOTEHOST
Nov 12 22:10:52 [PAM-env] Unknown PAM_ITEM: <XAUTHORITY>
Nov 12 22:10:52 [su] PAM pam_putenv: delete non-existent entry; XAUTHORITY

What's all this? Are these errors or warnings?


Those error messages have been coming up in a few different posts round the forums as of late. It seems the lastest pam update b0rked a few things in terms of remote logins. Nobody has a good answer and a proper fix from what I have seen, but if you need to get in to the box do the following:

Edit /etc/security/pam_env.conf
Comment out the following lines:
Code:
# REMOTEHOST    DEFAULT= OVERRIDE=@{PAM_RHOST}
# DISPLAY               DEFAULT=${REMOTEHOST}:0.0 OVERRIDE=${DISPLAY}
# XAUTHORITY    DEFAULT= OVERRIDE=@{XAUTHORITY}


This may somehow be a very evil or Very Bad Thing to do security wise so use at your own risk; but I can say for sure that it solved my own problems with logging in remotely.
_________________
-- Woody2143
Back to top
View user's profile Send private message
Mben
Guru
Guru


Joined: 29 Mar 2004
Posts: 465
Location: New York, USA

PostPosted: Sat Nov 13, 2004 1:01 pm    Post subject: Reply with quote

not sure about the firewall thing, i use a commercial hardware router as a firewall. i do know that my axim shows up in /dev/usb/tts/ not /dev/usbTTy0
Back to top
View user's profile Send private message
feardapenguin
Guru
Guru


Joined: 23 Jul 2003
Posts: 414
Location: Texas

PostPosted: Sat Nov 13, 2004 3:52 pm    Post subject: Reply with quote

Thanks all for the advice. I notice that matt included a firewall rule for udp. I'll try that.

I've wondered if the problem may be with setting the device up as ttyS0. I don't even have a /dev/usb directory let alone anything called ttyUSB0 so I was forced to use something else. Does it matter?

BTW, don't know if it makes any difference but this is a udev setup.

Man I'd love to get this working.
Back to top
View user's profile Send private message
Mben
Guru
Guru


Joined: 29 Mar 2004
Posts: 465
Location: New York, USA

PostPosted: Sat Nov 13, 2004 8:24 pm    Post subject: Reply with quote

ttys0 should be your serial port. 'com1'
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Thu Feb 24, 2005 7:40 pm    Post subject: Reply with quote

Was this ever resolved? I'm still having the same problem.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
BWoso
l33t
l33t


Joined: 31 Dec 2003
Posts: 920
Location: Cleveland Ohio, USA

PostPosted: Fri Feb 25, 2005 1:45 am    Post subject: Reply with quote

I never got it working like I wanted to, hopefully something will come out, or has come out that makes this easier.
_________________
I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!

The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain-
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum