Quote:
Originally posted by quentusrex
I was reading an article in the magazine 'LINUX Journal' August 2004 Issue. It was talking about working with usb devices and it says to modify the kernel module source for a usb device. It shows how to modify the file devio.c then it says 'a simple compile, install and module load' well... umm... i'm new to linux. how would I compile the new file? how would I install it? and how would I load this new module? the rest of the article is very detailed, but this one section assumes these are known actions.
i'm using Debian Sarge with a 2.6.7-1-386 kernel. please help if you can.
|
I haven't tried what you are doing, so this is a bit
generic :) ... may not quite be the same for you
(I'm not using the 2.6 kernel, either).
Commonly there's a Makefile in each subdirectory
of the kernel source tree. Once you're done editing
a simple "make" should compile it. Install in case of
a module means to copy the new .o file to the location
in /lib/modules/<version-mumble>/<>/<> where the
predecessor lives.
Cheers,
Tink