Start Free Trial
Come for the solution, stay for everything else.
Start Free Trial
how to use modprobe command
I want to use modprobe command instead of insmod command to insert module.
"modprobe mydevice" is not working and giving error as mydevice not found.
what is the correct way to use modprobe command
Linux OS Dev
8/22/2022 - Mon
As long as you are root or using "sudo" to act as root, your above command is OK. But of course the module you are trying to load must exist on the PC (available modules are usually located under /dev/modules/"Kernel-Versi
on"/.... and have a .ko extenstion.
Another thing to remember is that there should also be a device attached to the PC that needs that module to run.
if you run "man modprobe" you get a short info on how to use modprobe.
ASKER CERTIFIED SOLUTION
Log in or sign up to see answer
Become an EE member today
7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
If it's still not working, after following the above advice, please provide the specific example of the module you are trying to load and also provide the exact error message.
# modprobe usblp
FATAL: Module usblp not found.
Your help has saved me hundreds of hours of internet surfing.
Plans and Pricing
Certified Expert Program
© 1996-2022 Experts Exchange, LLC. All rights reserved. Covered by US Patent