Update @pdcastro,
I have been working on this for a week. Sadly I think that is a valuable week wasted. I am not experienced with installing modules into kernels and this was a trying process for me.
The repo you linked only supports kernel versions 4.7 forward. Unless I am wrong the current kernel in Balena OS is 4.14.98.
I contacted the manufacturer and was provided a driver. I can’t talk about it much, but this looks really similar. After some modifications, I managed to get the driver to build.
The modifications were to create a new setting in the make file that passed through the tmp path the Linux headers were put in during the build. This allowed the make file to load its required environment set and it worked. I finally built a module. Then when I tried to use insmod it continuously failed with the message:
insmod: ERROR: could not insert module cant_share_propritiary_nda_stuff_raspberrypi3_2.29.0+rev1.prod/module_name.ko: Invalid module format
This was very frustrating. dmesg, which I now know is where to look for error messages with insmod shows hundreds of:
module_name is a replacement for something I probably can’t share.
[ 90.805662] module_name: disagrees about version of symbol skb_pull
[ 90.811625] module_name: Unknown symbol skb_pull (err -22)
[ 90.818561] module_name: disagrees about version of symbol netif_napi_del
[ 90.825050] module_name: Unknown symbol netif_napi_del (err -22)
Here is the rest:
dmesg.log (7.0 KB)
It seems to complain about the version a lot. I have no idea what it is talking about and I really don’t have more time to put into this.
I am just putting this here so anyone that finds this in the future can not go down this path.
Right now I am trying to find a mPCI card that supports monitor and has drivers out of the box.
Thanks for everyone that helped with this. I wish I could share more to give back the community.
-Thomas