I'm using an NXP embedded linux board and I compiled u-boot, the kernel and am using a linaro rootfs.
On it I installed freeswitch and loaded mod_gsmopen with a Huawei module and it didn't work. After a little bit of reading the conf file I found that it was trying to read ttyUSB3, so I tried finding the correct ttyUSB but I can't find any /dev/ttyUSB modules, even though it detects the module.
I've tried using lsusb, lsblk and lsmod but only lsusb gives me something about the USB module.
After some reading and trying to find a similar problem, I saw some posts telling me to try
Modprobe command gives me the result:
modprobe: ERROR: ../libkmod/libkmod.c:557 kmod_search_moddep() could not open moddep file '/lib/modules/4.1.15/modules.dep.bin'
And depmod gives me:
depmod: ERROR: could not open directory /lib/modules/4.1.15: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
I found on a post to do something likes this:
apt-get install --reinstall linux-image-`uname -r\`
But it doesn't find the package. When I do an
apt-cache search linux-image I get many results, ranging from linux-image-4.4 to 4.9, which leads me to believe that there isn't any linux-image available for my version of the kernel and I don't know if I can install something from a newer version of the kernel.
My solution so far has been downloading kernel 4.9.34 which is longterm and recompile it from scratch again, but there is a chance that the problem persists and also this tkes a long time in my machine. Does anyone have any easier solutions?
PS: I'm on armhf, i.MX6ULL module from NXP. Also, /lib/modules does not exist on my machine