www. O S N E W S .com
News Features Interviews
BlogContact Editorials
.
Synchronizing Windows Mobile 5/6 with Mandriva 2008 Spring
By Eugenia Loli-Queru, submitted by AdamW on 2008-03-17 21:20:56
The upcoming Mandriva Linux 2008 Spring release will boast the easiest ever support for synchronizing with Windows Mobile 5 and 6 devices in any distribution. The adventurous can already try out the support in the current 2008 Spring pre-release repositories, by following the instructions here. Mandriva has uploaded a video demonstrating how easy it is to synchronize with a Windows Mobile 6 device right out of the box with Mandriva Linux 2008 Spring. Support is included for synchronizing with both KDE (KDE PIM) and GNOME (Evolution). Similarly easy synchronization is also possible with many Nokia phones and with Blackberry devices.
 Email a friend - Printer friendly - Related stories
.
Read Comments: 1-10 -- 11-20 -- 21-24
.
Good and necessary stuff.
By porcel on 2008-03-17 22:33:12
Mandriva has really gotten its act together.

Synchronization is a key area that has traditionally been immature in the linux desktop. If Mandriva through opensync can really fix this, it will be a huge relief for many of my customers.

I am doing some prep work for a deployment and would love to hear that Mandriva is ready to offer a corporate desktop release based on the 2008 Spring code. I need a minimum of three years of support for all my deployment, five been the sweet point, but I also need something newer than Mandriva's last corporate desktop.

Maybe Adam will pop by with some news about when their next corporate desktop will be released.
Permalink - Score: 5
.
RE: Good and necessary stuff.
By AdamW on 2008-03-17 22:42:53
I don't know the timeline for our next Corporate release - I mostly work on the consumer side.

However, this is actually something we could potentially add in to the current Corporate release, I think (I'm actually the one implementing this sync stuff). It's obviously something that would be useful there, too. I think once we get 2008 Spring out and this stuff has some real world testing and any further bugs are shaken out, I will talk to the Corporate maintainers about whether I could get these changes merged into CD4.
Permalink - Score: 5
.
I wonder on other Distros...
By Kokopelli on 2008-03-17 22:53:35
This looks great! One of my main remaining sore points for me is the ability to sync my WM6 phone with Linux. On the other hand I am not willing to switch distros just for this ability.

It seems to be a facet of a new release of Opensync and appropriate front end for the DE of choice. I wonder to what extent (if at all) these abilities are custom patches put in by Mandriva and at what stages these abilities will come to other distros. Does anyone know in what version of the various packages that WM6 started to be supported?

I am not trying to make this into a "X has had it forever" or "Y will get it in the next release" war so if everyone could do me a favor and not respond with specific distros I would be appreciative. I am however interested in the underlying packages that give this ability.

EDIT: Kudo's to Mandriva for a job well done. :)

Edited 2008-03-17 22:54 UTC
Permalink - Score: 2
.
RE: I wonder on other Distros...
By AdamW on 2008-03-17 23:12:27
This doesn't actually depend on any terribly new code. The opensync version used is 0.22, which has been around since early 2007. Current development version is 0.36, but using this in production is *not* recommended by the OpenSync developers (or me - I tested it, and the KDE and Evolution backends don't work). SynCE used is 0.11, which has also been around for a while.

KitchenSync - the GUI front end you see in the video taking care of the actual sync - is somewhat newer, but has still been around for a while, and MultiSync (the GTK+ alternative) has been around for ages.

synce-kpm is probably the newest bit of code in use in that video: that's the application used to create the initial sync partnership with the phone. A 0.11 version is available from SynCE project, but the Mandriva package is using the current SVN head.

What I really had to do to make it all work like you see in the video was a succession of minor things. None of them is really hard to fix on its own, but the cumulative effect of all of them is to make this a real slog to do if your distribution doesn't do it for you.

#1, the usbnet /rndis_host / cdc_ether drivers in the kernel.org kernel and most distributions does not support WM5/6 devices. SynCE have a patched build of the module that fixes this but it's not yet been accepted upstream. So the Mandriva 2008 Spring kernel has this patched version included. With previous MDV and all other distros I know of, you'd have to build these versions of the modules yourself.

#2, sync-engine (the tool that actually handles partnerships between the devices and SynCE) has a couple of bugs I fixed by backporting fixes from SVN.

#3, sync-engine doesn't run automatically when it's needed, in the default upstream configuration. You have to run it manually, or you can't create any partnerships, and you have to make sure it's running whenever you want to synchronize. I created a dbus activation profile for it, so that it gets run automatically when anything tries to access it via dbus. (I'm indebted to John Carr for this idea).

#4, synce has a bug which prevents a default configuration being created the first time you try and do anything with it, if there isn't one already. This stops anything working. This is partially fixed in upstream SVN, but the distro's synce packages have to make sure to package the default configuration file in the correct place to be copied, which I fixed in ours.

there's a bunch of other little things like this I had to fix. As I said, it's all small things that add up. And then the other big thing is to make it easy to put it all together, which is what the metapackage does in Mandriva. Without the task-wm5sync metapackages that make it easy to install all the necessary stuff, it's not actually easy to know that what you need for all this to work is synce, opensync, odccm, libopensync-plugin-synce , libopensync-plugin-kdepim , synce-kpm and kitchensync. It took me quite a lot of research and reading to figure this out. :)

it wouldn't be super-hard to implement this in most distros; all it needs is a maintainer with a test device and the willingness to put it all together. I started working on this around Tuesday last week, just to get my own device working, but it became obvious that it would be reasonably easy and very nice to implement a system so it'd work for most Mandriva users. I'm going to push as many of my changes upstream as possible, and I'm happy to answer any questions any maintainers for other distros have if they try to implement this stuff for their own distro and get into trouble anywhere. Of course, all the patches and changes in the MDV packages are available in our SVN repository.
Permalink - Score: 9
.
how?
By pooo on 2008-03-17 23:13:45
Are these updates to synce and multisync? If so they should appear upstream and be available for other distros shortly.
Permalink - Score: 1
.
RE: how?
By AdamW on 2008-03-17 23:23:32
See above. No, it's mostly improvements to packaging; the upstream stuff works, distros just haven't packaged it well until now.
Permalink - Score: 3
.
RE[2]: I wonder on other Distros...
By WorknMan on 2008-03-17 23:36:09
Wow, that sounds like a pain in the ass. Even with the packages making it easy in Mandriva, there's probably going to be nothing in the phone's manual telling people using Linux how to do that, so I would hope that when you plugged in the phone without any of these packages installed, there would be at least something popping up, informing users what they need to do.

I don't think I would ever go through what you just said you did. I'm getting too old for that sh*t :)
Permalink - Score: 3
.
Hallelujah!
By HappyGod on 2008-03-17 23:38:08
This is excellent news! I recently posted to OSNews that WM6 support was unlikely to come to Linux (based on prior experience). Glad to see I was wrong about that.

I remember trying SynCE ages ago, and with a lot of pain you could get a WM5 device going, but WM6 was always much more of a challenge, and the forums were always really pessimistic about it ever getting off the ground.

Nice work Mandriva.
Permalink - Score: 2
.
RE[3]: I wonder on other Distros...
By AdamW on 2008-03-17 23:44:01
worknman: the point is that with MDV from 2008 Spring you don't have to go through all that stuff, that's the stuff I had to go through to fix it in the packages so no-one *else* has to go through it. =)

It would indeed be nice for something to pop up and offer to install the metapackage when you plugged in an appropriate device. This is probably too big a thing to get into 2008 Spring, but I had already thought of it and we'll look at getting it into 2009.
Permalink - Score: 5
.
RE: Hallelujah!
By AdamW on 2008-03-17 23:45:18
Yeah, SynCE has good support for WM6 devices now. Actually it's all hidden by SynCE, as far as the user is concerned the process is exactly the same for WM5 and WM6. WM 6.1 works, too: I updated my Apache to 6.1 this morning and tested, it works no problem, same way as 5 and 6. The video was done with my Apache running WM6.

Edited 2008-03-17 23:46 UTC
Permalink - Score: 3

Read Comments 1-10 -- 11-20 -- 21-24

No new comments are allowed for stories older than 10 days.
This story is now archived.

.
News Features Interviews
BlogContact Editorials
.
WAP site - RSS feed
© OSNews LLC 1997-2007. All Rights Reserved.
The readers' comments are owned and a responsibility of whoever posted them.
Prefer the desktop version of OSNews?