Additional Helpful Commands for Setting Up the Driver
Command | Result | Application Area |
---|---|---|
insmod | Show loaded modules and accessing programs | Diagnosis |
modinfo modinfo <modulename> |
Show information on loaded modules | Diagnosis |
modprobe Loading: modprobe –a <modulename> Unloading: Modprobe –r <modulename> |
Load/unload modules including implicit dependencies | Loading and unloading manually |
depmod | Enter information on module dependencies into file /lib/module/<Kernelversion>/modules.dep so that module can be loaded automatically during system start | Important step during Installation |
- |
Load module automatically during system start: Entry in file /etc/modules |
Important step during Installation |
Commands for Driver Set-Up