Updated May 00
2.3.99 USB backport to 2.2.14
From: Peter Freeman <email@example.com>
To: LinuxSA Mailing List <firstname.lastname@example.org>
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 www.linux-usb.org 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: http://www.suse.cz/development/usb-backport/
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
"cp 2.2.14.tar.gz /usr/src"
Change dir to /usr/src
Remove your existing linux symlink
Create a dir for the new kernel
(can be anything, we'll call it
Make a new symlink to that
"ln -s /usr/src/linux-2.2.14 linux"
Untar the kernel
"tar -zxvf 2.2.14.tar.gz"
Copy the USB patch to the linux
"cp usb.diff /usr/src/linux"
Change dir to
Apply the patch
"gzip -dc usb.diff | -p1"
Cleanup the source
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.