Can someone explain step by step how to install a module on a kernel with headers installed? I have Debian with Kernel 3.19.0 for banana pi from http://www.igorpecovnik.com/2014/09/07/banana-pi-debian-sd-image/comment-page-2/#comment-4729 and would like to install the smi2021 module needed for somagic easycap from https://github.com/jonjonarnearne/smi2021.
So there are 2 options:
1) Install module with full kernel source, by downloading kernel 3.19.0 from kernel.org - This does not work as the custom modules from debian-kernel3.19.0-bananapi are not compatible with the kernel from kernel.org
2) Install module without full kernel, with only using the already built in kernel headers. - I would like to use this option as I already have the kernel headers installed.
So can anyone show how to install step by step kernel modules with kernel headers already installed?
I tried to do as said in the comment from blog post posted above but can't do it. I get stuck at step 2: copy from /boot the config file to .config in /usr/src/linux
kernel-package
. Or you try to do a local build of just the module against your existing kernel. Or you could try Debianizing that module (assuming nobody else has done it) and install the module as a binary Debian package. Think about how you want to do it, and how much work you want to put into it.