Good Linux tool, Module Assistant
Module Assistant is a powerful tool to build Debian kernel modules without re-compile the whole linux kernel. Module Assitant extramly facilitate the process of building kenerl modules by automatically download the module source code from Debian package repository and compile the source code to generate kernel module binary file.
Moduel Assistant requires to run as root. With Module Assistant, the process of building kernel module is simplyfied to 5 steps.
- Install Module Assistant,
$ sudo apt-get install module-assistant
- Prepare the artifact for building kernel modules,
$ sudo m-a prepare
The command will automatically download and install the kernel headers corresponding to current kernel and needed building tools like gcc, make and so on.
- Update the module assitant suppored module list,
$ sudo m-a update
- Check supported module list,
$ sudo m-a list
- Build the needed module, such as, the module for Logitech Quickcam,
$ sudo m-a a-i qc-usb-source
Option a-i stands for automatic installation.
This work is licensed under a Creative Commons Attribution 3.0 Unported License.