View Single Post
Old 01-22-2005, 06:53 PM   #7 (permalink)
skaven
Insane
 
Location: Austin, TX
Chances are you've already got a kernel source tree in /usr/src. Just create a symlink to it like so:

If your kernel source is "/usr/src/linux-2.4.22-your-os-i386-etc", then type:

(as root)
cd /usr/src
ln -s linux-2.4.22-your-os-i386-etc linux

and that will create a symlink, /usr/src/linux, that points to your kernel source tree.

The directions they give indicate that the kernel must have been "make config'd" -- but chances are it's already like that without even touching it.

What's left is to go to your unpacked source, do 'make' then 'make install'. The make install part must be done as root, as it will probably try to copy a kernel module to /lib/modules/2.4.XX-your-kernel-version.

Once installed, you can run 'make devs' as root to create the appropriate device files in /dev.

Then you'll need to insert the module you just built. You'll use 'modprobe' for this, as root. So, for example, if the 'make install' copied over "joystick.o" into your modules dir, then run 'modprobe joystick'. If there's no output, that's probably good. Run 'dmesg' to see that your joystick initialized properly.

Hope this helps some.
skaven is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76