Results 1 to 2 of 2
i want to compile the device driver programming...what is the produre to include an module....what are all the things i have to do...and how to do that things....please anyone help ...
- 08-17-2008 #1Linux User
- Join Date
- Aug 2008
- Location
- Trichy,India
- Posts
- 308
device driver programming
i want to compile the device driver programming...what is the produre to include an module....what are all the things i have to do...and how to do that things....please anyone help me....
- 08-17-2008 #2
Please be more specific. Do you have a compiled driver module or just source code? You can tell by the filename suffix: .tar.gz or .tar.bz2 are source; .o or .ko are compiled modules.
If it is already compiled, you can include it in the kernel with the command "modprobe name" where name is the plain name of the driver without the .o or .ko suffix.
If it is source code you need to unpack it first and then compile it. Unzip it with gunzip (for .gz) or bunzip2 (for .bz2) and then unpack it with tar -xvf (filename). You will get a directory full of files including a README and/or INSTALL file which you should read carefully. It will tell you exactly what commands you need to use to compile the module."I'm just a little old lady; don't try to dazzle me with jargon!"


Reply With Quote