This is unlikely as it had been previously working on this same device a while ago. I will investigate using a different device but in the meantime, is there any other ways that I can check if the SIM card is recognised or not? For example if I unplug it and plug it back in is there any other way to tell?
I have tested multiple SIM cards, even my own personal one that I use daily on my phone but still with the same results. I have also tried to use a standard SIM card compared to a micro SIM card with the standard adapter but still with the same results. I even tried having a SIM card in both SIM card slots but no luck.
Ok thank you for your help, I will investigate the hardware.
Do you also know why I would have lost my available cdc-wdm1 and 2 ports when running: sudo mmcli -m 0 after completing a firmware upgrade and updating the ModemManager package, and and idea of how I would recover them? They were previously listed there before the update.
Here is the output of the following commands, and also attached is the output of the ModemManager service logs which I am unsure what these errors mean and could they relate to why the modem is not detecting the SIM card perhaps? Do you have any idea based on these responses and logs?
Thank you for your help.
sudo mmcli -m 0 --command='AT!UDUSBCOMP=?'
response: '0 - reserved NOT SUPPORTED
1 - DM AT SUPPORTED
2 - reserved NOT SUPPORTED
3 - reserved NOT SUPPORTED
4 - reserved NOT SUPPORTED
5 - reserved NOT SUPPORTED
6 - DM NMEA AT QMI SUPPORTED
7 - DM NMEA AT RMNET1 RMNET2 RMNET3 SUPPORTED
8 - DM NMEA AT MBIM SUPPORTED
9 - MBIM SUPPORTED
10 - NMEA MBIM SUPPORTED
11 - DM MBIM SUPPORTED
12 - DM NMEA MBIM SUPPORTED
13 - Config1: comp6 Config2: comp8 NOT SUPPORTED
14 - Config1: comp6 Config2: comp9 SUPPORTED
15 - Config1: comp6 Config2: comp10 NOT SUPPORTED
16 - Config1: comp6 Config2: comp11 NOT SUPPORTED
17 - Config1: comp6 Config2: comp12 NOT SUPPORTED
18 - Config1: comp7 Config2: comp8 NOT SUPPORTED
19 - Config1: comp7 Config2: comp9 SUPPORTED
20 - Config1: comp7 Config2: comp10 NOT SUPPORTED
21 - Config1: comp7 Config2: comp11 NOT SUPPORTED
22 - Config1: comp7 Config2: comp12 NOT SUPPORTED'
We tried have two separate MC7304 modems now, one with the latest firmware and one with the original manufacturers firmware, both with the same results. We have even tried using the latest Ubuntu distro, but still with the same results. I have a bad feeling that it may be one command that we are missing to send to the modem to configure it to be in the correct mode or to properly detect the SIM card.
Do you know a list of important settings/commands that we should set on the modem to ensure it operates in the correct mode, such as which “UDUSBCOMP” mode and any others you can think of? and explain what modes are good for what purpose?
Also would you be able to point me to a good guide which details how to setup one of these modems from scratch on an embedded Linux machine. I will try to set it up from scratch and see if I have missed anything.