Greetings!
We are currently trying to set up a gateway using a variety of RAKWireless products (LoRa RAK5146 + PoE Hat + RAK2013 cellular module) using our own custom PCB board and a Raspberry Pi 3B+. And it uses the quectel EG95-E chip.
Due to pinout differences between the lora module and the cellular module, we are following the instructions and installed this repository: GitHub - RAKWireless/quectel-CM-for-rpi, where we connect the cellular module to the USB port of the raspberry.
We have been having issues with this repository due to random behaviour and errors, especially this one:
qmi_rak2013[369]: [08-09_02:58:34:073] QmiWwanThread poll err/hup/inval
qmi_rak2013[369]: [08-09_02:58:34:073] poll fd = 7, events = 0x0008
This error message floods the logs with thousands of messages per second which in some cases crashes or fills the RPi’s memory. We have seen events 0x0008, 0x0009 and 0x0018 in some cases but the most problematic one has been 0x0008.
We have tried to make scripts and patches to try to monitor this behaviour and so far we have seen that sometimes it keeps killing the wwan0 and eth0 interfaces and then creating them again, some times it recovers by itself, sometimes the qmi_connect.service never comes back up or says it can’t read the SIM or stops working, some devices don’t have any issues at all and so on.
I connected one device today and after 10 minutes the wwan0 interface and eth0 interface apparently had been reset at least 4 times.
Any help would be appreciated.

