How to determine if a specific module is loaded in linux kernel
I am just curious is there any way to determine if a particular module is loaded/installed. $lsmod lists all modules (device driver loaded). Is there any way to check or a command that returns true/false boolean output if a module name is polled. for eg. if keyboard.o exists return true else false. i need this tip to complete my driver auto refresh program. PS: tried modinfo. i am using busybox client in my test DUT so can you give some alternatives other than modinfo ? johnshen64 not sure if modinfo modname and checking $? will work for you, just a suggestion. /tmp$ sudo modinfo e1000 /tmp$