Gentoo Wiki




I have been trying to do this on and off for a few months but I finally got it working and I thought I should share before I forget how I did it. I guess it will also help me next time I need to do it.

This is a rough version. I'll cleanup after the weekend ;)

--ecosta 18:30, 8 January 2007 (UTC)


This is what I have:

kernel: 2.6.18-gentoo-r3
kde   : 3.5.5
Xorg  : xorg-server-1.1.1-r1
iPAQ  : rx3715
OS    : windows mobile 2003 second edition


Make sure it supports your iPAQ

# grep -i ipaq /usr/src/linux/.config

You will also need USB support for the device

# grep -i ohci_hcd /usr/src/linux/.config

... and PPP

# grep -i ppp /usr/src/linux/.config
# CONFIG_PPPOE is not set

The ipaq module was not connecting until I also enabled following (S200 a.k.a. HTC Prophet, WM6, linux kernel 2.6.24).

# grep -i rndis /usr/src/linux/.config

This option can be enabled from Device Drivers->Network Device Support->USB Network adapters->Multi purpose USB Networking Framework->Host for RNDIS and ActiveSync devices

Note that it must be compiled as module otherwise ipaq module would not connect. I still get following error in log.

rndis_host: probe of 4-1:1.0 failed with error -16
usbcore: registered new interface driver rndis_host

Anyway, I can only get to the Connectivity section now and I keep hacking.


Prepare packages

# grep pda /etc/portage/package.keywords
app-pda/synce-kde ~x86
app-pda/synce-serial ~x86
app-pda/synce-rra ~x86
app-pda/synce-libsynce ~x86
app-pda/synce-librapi2 ~x86
app-pda/dynamite ~x86
app-pda/orange ~x86
app-pda/syncekonnector ~x86
app-pda/synce ~x86
app-pda/synce-dccm ~x86
app-pda/synce-multisync_plugin ~x86
# grep pda /etc/portage/package.use
app-pda/synce-kde               -arts -avantgo -debug -xinerama

emerge packages

emerge -av app-pda/syncekonnector app-pda/synce-kde app-pda/synce-serial

This should pull with it the following packages... check to make sure your versions are the same or higher!

[ebuild  N    ] app-pda/synce-libsynce-0.9.1  0 kB
[ebuild  N    ] app-pda/synce-librapi2-0.9.1  0 kB
[ebuild  N    ] app-pda/synce-rra-0.9.1  0 kB
[ebuild  N    ] app-pda/dynamite-0.1  0 kB
[ebuild  N    ] app-pda/orange-0.3  0 kB
[ebuild  N    ] app-pda/syncekonnector-0.3.2  USE="arts -debug -xinerama" 0 kB
[ebuild  N    ] app-pda/synce-kde-0.9.1  USE="-arts -avantgo -debug -xinerama" 0 kB
[ebuild  N    ] app-pda/synce-serial-0.9.1  0 kB


Put your PDA in your cradle or connect it to your USB device in whatever way. now type

dmesg | tail

You should see something like the following

usb 2-3: new full speed USB device using ohci_hcd and address 9
usb 2-3: configuration #1 chosen from 2 choices
ipaq 2-3:1.0: PocketPC PDA converter detected
usb 2-3: PocketPC PDA converter now attached to ttyUSB0

If you get that far, all is well :) Now we need to configure ppp, but don't worry, it's soooo simple.

# /usr/sbin/synce-serial-config ttyUSB0

This will create a file that looks like the following:

# cat /etc/ppp/peers/synce-device
# Modifications to this file will be lost next time you run synce-serial-config
/dev/ttyUSB0 115200
connect '/usr/bin/synce-serial-chat'
linkname synce-device


You are almost there! If your iPAQ is not connected to your box via USB, do it now.

In KDE, go to K > Utilities > Raki An icon should now show on your task bar

now run the following from the shell as root

# /usr/sbin/synce-serial-start

The Raki icon on your taskbar should get colorfull and your PDA should show it's authenticating.

Config Raki

Oh joy! Now all I had to do was configure Raki and sync!

Here are my settings: pocket_pc is the name of my pda

leftp click on raki icon > pocket_pc > configure pocket_pc I selected Apointment, Contact, Task select Apointment and chose config I did not select any Free Sync options 'cause I honestly don't know what it is yet, I just got it working remember ;) In Calendar file I selected my calendar: /home/username/.kde3.5/share/apps/korganizer/std.ics and did the same for Address book. Contact and Task seem to have been updated acordingly.


Now all that is left to do, after you backed up your PDA and your PC of course, is to use the sync button in Raki. It will sync PDA -> PC and PC -> PDA

Automate connection

Create the following file

# cat /etc/udev/rules.d/60-ipaq.rules
# udev rules file for SynCE
BUS!="usb", ACTION!="add", KERNEL!="ttyUSB*", GOTO="synce_rules_end"
# Establish the connection

Then run the following or reboot

 # udevstart

Now plugin your PDA and you'll see it sync.


Retrieved from ""

Last modified: Fri, 05 Sep 2008 20:50:00 +0000 Hits: 6,532