Difference between revisions of "Sync and connect with Windows Mobile"

From ArchWiki
Jump to: navigation, search
(few minor corrections)
(14 intermediate revisions by 7 users not shown)
Line 1: Line 1:
=Introduction=
+
[[Category:Mobile devices]]
 
This page is a howto for connecting your Windows Mobile device with Archlinux. Afterwards you can sync and install cabs just like you can do with activesync in windows.
 
This page is a howto for connecting your Windows Mobile device with Archlinux. Afterwards you can sync and install cabs just like you can do with activesync in windows.
 
It uses the kde app synce-kde, but gnome and *box users can relax, the only qt-deps are qscintilla-2.3.2-2  and pyqt-4.4.4-2. And they are small.
 
It uses the kde app synce-kde, but gnome and *box users can relax, the only qt-deps are qscintilla-2.3.2-2  and pyqt-4.4.4-2. And they are small.
  
=Installation=
+
==Installation==
 +
# [[pacman|Install]] {{Pkg|synce-odccm}} and {{Pkg|synce-kde}},available in the [[Official Repositories]].
 +
# [[pacman|Install]] {{Pkg|synce-sync-engine}}, available in the [[Official Repositories]].
  
1: install synce-odccm and synce-kde (both in repos)
+
==Connecting to your phone==
 +
# Start odccm: {{bc|# odccm}}
 +
# Start sync-engine. You can use "sync-engine -d" to have it running in the background as a daemon.
 +
# Start synce-kpm
 +
# Connect your WM phone.
  
$ pacman -S synce-odccm synce-kde
+
Now you can sync your phone, install cabs and so on. Have fun.Before syncing you will have to crete a partnership with your phone. Just as with active sync in Windows.
  
2: Install sync-engine from AUR
+
==Troubleshooting==
If you have [[yaourt]] installed, this is done easily by
+
If your phone does not show in synce-kpm, make sure the activesync-setting in your phone is set to "activesync", and not "mass storage device"" or similar. (Settings → Connections → USB connection settings)
$ yaourt -S sync-engine
+
  
 +
==Other problems==
 +
There is only one problem I have experienced with this. Sometimes it will stop working, and you will get an error report on your phone saying device.exe had a problem and was teminated.
 +
To fix this, simply go to USB-connection setting, choose "mass storage device" and select Ok, and then select "active sync" and again ok.
  
=Connecting to your phone=
+
If the above did not work, you might have to quit/kill sync-engine and odccm, and restart them. Start odccm first. This seems to be necessary when sync-engine is stuck at " Authorization pending - waiting for password on device" You will get output if you start sync-engine without the -d option.
  
 +
I think this problem arises after the phone has suspended, but I'm not quite sure what really causes it.
  
1: Start odccm. It  requires root privileges, so:
+
==Work with PocketPC files from file manager==
$ sudo odccm
+
There is a [http://www.lvivier.info/SynceFS/ SynCE FS] project, which is aimed to provide a possibility to work with winmobile device filesystem as a remote filesystem. It ts based on [http://synce.sourceforge.net SynCE] and [http://www.coda.cs.cmu.edu/ Coda].
or, as root, just
+
# odccm
+
  
2: Start sync-engine. You can use "sync-engine -d" to have it running in the background as a daemon.
+
Install {{AUR|syncefs}}, available in the [[Arch User Repository]]. To use SynCE FS, you need a working SynCE installation.
  
3: Start synce-kpm
+
At the first step you need to load {{ic|coda}} [[kernel module]].
  
4: Connect your WM phone.
+
At the next step you need to start SynCE tools: {{ic|odccm}} and {{ic|sync-engine}}.
  
Now you can sync your phone, install cabs and so on. Have fun.Before syncing you will have to crete a partnership with your phone. Just as with active sync in Windows.
+
Finally you can mount your PocketPC filesystem with a command:
 +
{{bc|mount /mnt/synce}}
  
 +
(Directory /mnt/synce is normally created during installation. If not - please create it manually.)
  
=Troubleshooting=
+
Now you can use your PocketPC filesystem from /mnt/synce directory.
If your phone does not show in synce-kpm, make sure the activesync-setting in your phone is set to "activesync", and not "mass storage device"" or similar. (Settings->Connections->USB connection settings)
+
  
=Other problems=
+
{{Tip|
There is only one problem I have experienced with this. Sometimes it will stop working, and you will get an error report on your phone saying device.exe had a problem and was teminated.
+
To mount PocketPC filesystem as ordinal user (non-root), you need to add the following to your fstab:
To fix this, simply go to USB-connection setting, choose "mass storage device" and select Ok, and then select "active sync" and again ok.
+
{{bc|<nowiki>none /mnt/synce cefs rw,user,noauto,codadev=/dev/cfs0 0 0</nowiki>}}
 
+
}}
If the above did not work, you might have to quit/kill sync-engine and odccm, and restart them. Start odccm first. This seems to be necessary when sync-engine is stuck at " Authorization pending - waiting for password on device" You will get output if you start sync-engine without the -d option.
+
 
+
I think this problem arises after the phone has suspended, but I'm not quite sure what really causes it.
+

Revision as of 13:13, 13 June 2012

This page is a howto for connecting your Windows Mobile device with Archlinux. Afterwards you can sync and install cabs just like you can do with activesync in windows. It uses the kde app synce-kde, but gnome and *box users can relax, the only qt-deps are qscintilla-2.3.2-2 and pyqt-4.4.4-2. And they are small.

Installation

  1. Install synce-odccm and synce-kde,available in the Official Repositories.
  2. Install synce-sync-engine, available in the Official Repositories.

Connecting to your phone

  1. Start odccm:
    # odccm
  2. Start sync-engine. You can use "sync-engine -d" to have it running in the background as a daemon.
  3. Start synce-kpm
  4. Connect your WM phone.

Now you can sync your phone, install cabs and so on. Have fun.Before syncing you will have to crete a partnership with your phone. Just as with active sync in Windows.

Troubleshooting

If your phone does not show in synce-kpm, make sure the activesync-setting in your phone is set to "activesync", and not "mass storage device"" or similar. (Settings → Connections → USB connection settings)

Other problems

There is only one problem I have experienced with this. Sometimes it will stop working, and you will get an error report on your phone saying device.exe had a problem and was teminated. To fix this, simply go to USB-connection setting, choose "mass storage device" and select Ok, and then select "active sync" and again ok.

If the above did not work, you might have to quit/kill sync-engine and odccm, and restart them. Start odccm first. This seems to be necessary when sync-engine is stuck at " Authorization pending - waiting for password on device" You will get output if you start sync-engine without the -d option.

I think this problem arises after the phone has suspended, but I'm not quite sure what really causes it.

Work with PocketPC files from file manager

There is a SynCE FS project, which is aimed to provide a possibility to work with winmobile device filesystem as a remote filesystem. It ts based on SynCE and Coda.

Install syncefsAUR, available in the Arch User Repository. To use SynCE FS, you need a working SynCE installation.

At the first step you need to load coda kernel module.

At the next step you need to start SynCE tools: odccm and sync-engine.

Finally you can mount your PocketPC filesystem with a command:

mount /mnt/synce

(Directory /mnt/synce is normally created during installation. If not - please create it manually.)

Now you can use your PocketPC filesystem from /mnt/synce directory.

Tip:

To mount PocketPC filesystem as ordinal user (non-root), you need to add the following to your fstab:

none /mnt/synce cefs rw,user,noauto,codadev=/dev/cfs0 0 0