Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pi zero w - cannot find module #12

Closed
mentaluproar opened this issue Sep 25, 2019 · 1 comment
Closed

pi zero w - cannot find module #12

mentaluproar opened this issue Sep 25, 2019 · 1 comment

Comments

@mentaluproar
Copy link

I cannot figure out where to put the modules so modules.conf can get systemd to load them automatically at startup.

@oandrew
Copy link
Owner

oandrew commented Sep 25, 2019

You need to install them using make.
If you build on the same machine where you use them then you can simply run this from the same directory where you built the modules:

$ make -C /lib/modules/$(uname -r)/build M=$PWD modules_install
$ modinfo g_ipod_gadget # should find it 

More info here:
https://www.kernel.org/doc/Documentation/kbuild/modules.txt

Also check out DKMS:
#8
https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_Support

@oandrew oandrew closed this as completed Nov 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants