This page describes how to patch a recent linux kernel so that your Window Mobile device can be used via usb.

/!\ If you are following these instructions, you should not install any of the usb-rndis-* drivers.

/!\ You must have a kernel from version 2.6.21 or later.

As of version 2.6.21, the Linux kernel has most of the required support built in, and thus doesn't require the usb-rndis-lite driver.

First, patch your kernel

For 2.6.21 kernels

cd /usr/src/linux
wget http://synce.svn.sourceforge.net/svnroot/synce/trunk/patches/linux-2.6.21-rndis_host-wm5.patch
patch -p1 < linux-2.6.21-rndis_host-wm5.patch

For 2.6.22 and 2.6.23 kernels

cd /usr/src/linux
wget http://synce.svn.sourceforge.net/svnroot/synce/trunk/patches/linux-2.6.22-rndis_host-wm5.patch
patch -p1 < linux-2.6.22-rndis_host-wm5.patch

Configure you're kernel

You need the following options in your kernel config:

CONFIG_USB_USBNET=y
CONFIG_USB_NET_CDCETHER=y
CONFIG_USB_NET_RNDIS_HOST=y

Selecting them as modules will also work.

Compile your kernel

Finally, build and install your kernel as usual.

SynceInstallation/KernelPatch (last edited 2008-02-01 01:23:29 by IainBuchanan)