Linux Step By Steps


Updated May 00

2.3.99 USB backport to 2.2.14 kernels
From: Peter Freeman <>
To: LinuxSA Mailing List <>

Hi all

As there's been a bit of talk on this list recently about USB, I thought I'd post my experiences with the latest USB backport patch, where to get it, how to install it etc.

Basically the backport patch is the new USB code from the latest dev. kernel (2.3.99) made suitable for 2.2.14 kernels (the current stable kernel)

The main site for Linux USB stuff is Here you'll find links to a lot of bits & pieces, mostly uninteresting unless you're a programmer.

The three worth looking at are below.

Backport patch:

Working Devices:
Linux USB Guide:

The USB guide is quite handy for info on setting up your particular device.  I used it for my USB modem.  Its fairly straightforward stuff really.

Anyway, I'll presume you have the tar files of the 2.2.14 kernel & also the USB backport patch.

I'll refer to these as 2.2.14.tar.gz & usb.diff respectively.

This will start from scratch & presume you dont have a kernel source tree for 2.2.14 already, it wont work with any other kernel afaik. Certainly not 2.2.12, grin ;-), been there, broke that!

Also, this presumes you are logged in as root. All commands are in quotes as such: "make xconfig"

Copy 2.2.14.tar.gz to /usr/src
"cp 2.2.14.tar.gz /usr/src"

Change dir to /usr/src
Remove your existing linux symlink
"rm linux"

Create a dir for the new kernel (can be anything, we'll call it
"mkdir linux-2.2.14"

Make a new symlink to that dir
"ln -s /usr/src/linux-2.2.14 linux"

Untar the kernel sources
"tar -zxvf 2.2.14.tar.gz"

Copy the USB patch to the linux dir
"cp usb.diff /usr/src/linux"

Change dir to /usr/src/linux
Apply the patch
"gzip -dc usb.diff | -p1"

Cleanup the source tree
"make distclean"

Compile your new kernel following the usual procedure
ie:"make xconfig; make dep; make clean; make bzImage; make modules; make
(you'll now have a USB support option in xconfig, check the notes for
each option to work out which USB drivers you need)

If u have any other queries, just post the list, I'll see what I can do.

I'm no expert, but this is how I got USB working on my PC & there doesnt
seem to be a whole lot of info about on how to get it working, apart
from the brief bit on the backport site.