Disable a driver in Linux Kernel
Hello friends, today i will teach you how to disable a driver in Linux Kernel -
a) List the name of the driver with "lsmod" command. Make a note, this should be different from the file name no *.ko / or *.o in the end.
b) As root, type "rmmod drivername". At this point of time, make sure that the devices are not in use. You can also check the manual for the command by typing "man rmmod"
c) List the name of the drivers again by typing "lsmod", the driver should not be seen.
The next best alternative would be to blacklist it in the aim of a module. You can do the same with the following measures -
echo "blacklist driver name" > /etc/modprobe.d/blacklist
Regards to all
|