gcadapter-oc-kmod icon indicating copy to clipboard operation
gcadapter-oc-kmod copied to clipboard

need help getting the module to load on reboot (pop os)

Open willbohlke opened this issue 2 years ago • 1 comments

I placed the "gcadapter_oc.ko" file in the usr/lib/modules directory, gcadapter-oc.conf file with the text "gcadapter_oc" in the usr/lib/modules-load.d directory, and ran "sudo depmod" in the /modules directory.

it doesnt run automatically on boot. What went wrong here?

willbohlke avatar Apr 09 '23 23:04 willbohlke

You need to place it in the directory for the specific kernel you have installed.

Once you've built the module you can try running this:

sudo mkdir -p "/lib/modules/$(uname -r)/extra"
sudo cp gcadapter_oc.ko "/lib/modules/$(uname -r)/extra"
sudo depmod

(I don't use Pop!_OS but it seems like it uses /lib/modules instead of /usr/lib/modules, you can try both if it doesn't work)

hannesmann avatar Apr 14 '23 13:04 hannesmann