Created
December 20, 2016 11:01
-
-
Save strezh/01a1849128109e53a65df696d1b2c113 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copy kernel module <module> to the drivers directory. | |
$ sudo cp <module>.ko /lib/modules/$(uname -r)/kernel/drivers/ | |
Add the simple name of my module to the file /etc/modules. You can edit the file or just append to it as shown here. | |
$ echo '<module>' | sudo tee -a /etc/modules | |
Update the list of module dependencies. | |
$ sudo depmod | |
Reboot the computer and voila, it worked. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment