# Unable to detect SIM card on MC7304

**URL:** <https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634>\
**Category:** MC/EM Series\
**Created:** [April 28, 2023, 1:07am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634 "2023-04-28T01:07:05Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmiller](https://avatars.discourse-cdn.com/v4/letter/t/cab0a1/32.png) [@tmiller](https://forum.sierrawireless.com/u/tmiller)\
**Post date:** [April 28, 2023, 1:07am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/1 "2023-04-28T01:07:05Z")

</div>

The SIM card is definitely plugged into the device and I am wondering if it may be an issue of the modem not being in the correct mode to detect the SIM card?

I am running Ubuntu Server 16.04 and have just updated the modem to the latest firmware version and custom Telstra NVU. I am using a Telstra SIM card.

Additionally before I updated the modem I could see cdc-wdm1 and 2 listed in the ports below but now they are missing.

Here is my output from `sudo mmcli -m 0`:

```auto
-----------------------------
  General | dbus path: /org/freedesktop/ModemManager1/Modem/0
           | device id: 498dd272bdc775771d25c1babfeb4b3433f70194
  -----------------------------
  Hardware | manufacturer: Sierra Wireless, Incorporated
           | model: MC7304
           | firmware revision: SWI9X15C_05.05.58.00 r27038 carmd-fwbuild1 2015/03/04 21:30:23
           | supported: gsm-umts
           | current: gsm-umts
           | equipment id: 356853052002559
  -----------------------------
  System | device: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.4
           | drivers: qcserial, qmi_wwan
           | plugin: sierra
           | primary port: ttyUSB2
           | ports: ttyUSB0 (qcdm), ttyUSB2 (at), wwp0s20u5u4i8 (unknown)
  -----------------------------
  Status | state: failed
           | failed reason: sim-missing
           | power state: on
           | signal quality: 0% (cached)
  -----------------------------
  Modes | supported: allowed: 2g, 3g, 4g; preferred: none
           | current: allowed: any; preferred: none
  -----------------------------
  IP | supported: ipv4, ipv6, ipv4v6

```

Here is my output of `sudo nmcli device connect ttyUSB2` even though I would like to use cdc-wdm1 but now that it is missing I am using ttyUSB2 since it is the primary port now.

```auto
Error: Failed to add/activate new connection: gsm: GSM mobile broadband connection requires a 'gsm' setting

```

Any help or suggestions would be greatly appreciated.  
Thank you.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [April 28, 2023, 1:28am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/2 "2023-04-28T01:28:03Z")

</div>

what is the return of AT+CPIN? in AT command port?

---

<div class="post-metadata">

**Author:** ![tmiller](https://avatars.discourse-cdn.com/v4/letter/t/cab0a1/32.png) [@tmiller](https://forum.sierrawireless.com/u/tmiller)\
**Post date:** [April 28, 2023, 1:44am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/3 "2023-04-28T01:44:38Z")

</div>

Hi jyijyi,  
Thanks for your reply,  
The output of `sudo mmcli -m 0 --command='AT+CPIN?'` is:

```auto
error: command failed: 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.SimNotInserted: SIM not inserted'

```

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [April 28, 2023, 1:47am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/4 "2023-04-28T01:47:13Z")

</div>

could this be hardware issue on SIM slot?

---

<div class="post-metadata">

**Author:** ![tmiller](https://avatars.discourse-cdn.com/v4/letter/t/cab0a1/32.png) [@tmiller](https://forum.sierrawireless.com/u/tmiller)\
**Post date:** [April 28, 2023, 2:13am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/5 "2023-04-28T02:13:23Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [April 28, 2023, 2:16am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/6 "2023-04-28T02:16:40Z")

</div>

is that all SIM cards behaves the same?  
Or just one SIM card being tested?

---

<div class="post-metadata">

**Author:** ![tmiller](https://avatars.discourse-cdn.com/v4/letter/t/cab0a1/32.png) [@tmiller](https://forum.sierrawireless.com/u/tmiller)\
**Post date:** [April 28, 2023, 2:20am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/7 "2023-04-28T02:20:46Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [April 28, 2023, 3:11am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/8 "2023-04-28T03:11:55Z")

</div>

seems the SIM pin of the MC module has some problem.  
what is the return of “AT+CFUN?” and “AT!PCINFO?”

---

<div class="post-metadata">

**Author:** ![tmiller](https://avatars.discourse-cdn.com/v4/letter/t/cab0a1/32.png) [@tmiller](https://forum.sierrawireless.com/u/tmiller)\
**Post date:** [April 28, 2023, 3:26am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/9 "2023-04-28T03:26:05Z")

</div>

```auto
sudo mmcli -m 0 --command='AT+CFUN?'

response: '+CFUN: 1'

```

```auto
sudo mmcli -m 0 --command='AT!PCINFO?'

response: 'State: Online
LPM force flags - W_DISABLE:0, User:0, Temp:0, Volt:0, BIOS:0, GOBIIM:0
W_DISABLE: 0
Poweroff mode: 2
LPM Persistent: 0'

```

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [April 28, 2023, 3:27am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/10 "2023-04-28T03:27:51Z")

</div>

seems nothing wrong…  
I can only guess the SIM pin of the MC module has some problem.

---

<div class="post-metadata">

**Author:** ![tmiller](https://avatars.discourse-cdn.com/v4/letter/t/cab0a1/32.png) [@tmiller](https://forum.sierrawireless.com/u/tmiller)\
**Post date:** [April 28, 2023, 4:01am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/11 "2023-04-28T04:01:50Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [April 28, 2023, 4:04am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/12 "2023-04-28T04:04:35Z")

</div>

normally these port should be available if the two RMNET interfaces are set in AT!UDUSBCOMP.

you can double check by

```auto
AT!ENTERCND="A710"
AT!UDUSBCOMP=?
AT!UDUSBCOMP?

```

---

<div class="post-metadata">

**Author:** ![tmiller](https://avatars.discourse-cdn.com/v4/letter/t/cab0a1/32.png) [@tmiller](https://forum.sierrawireless.com/u/tmiller)\
**Post date:** [May 1, 2023, 1:39am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/13 "2023-05-01T01:39:04Z")

</div>

Hi jyijyi,

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.

```auto
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'

```

```auto
sudo mmcli -m 0 --command='AT!UDUSBCOMP?'

response: '!UDUSBCOMP: 7'

```

Output of ModemManager service logs:

```auto
May 1 11:27:55 media-usb ModemManager[753]: <info> [device /sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.4] creating modem with plugin 'sierra' and '7' ports
May 1 11:27:56 media-usb ModemManager[753]: <warn> [plugin/sierra] could not grab port ttyUSB1: Cannot add port 'tty/ttyUSB1', unhandled port type
May 1 11:27:56 media-usb ModemManager[753]: <info> [base-manager] modem for device '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.4' successfully created
May 1 11:27:56 media-usb ModemManager[753]: <warn> [modem0] couldn't load carrier config: QMI PDC not supported
May 1 11:27:56 media-usb ModemManager[753]: <warn> [modem0] couldn't query SIM slots: QMI protocol error (71): 'InvalidQmiCommand'
May 1 11:28:08 media-usb ModemManager[753]: <info> [modem0] state changed (unknown -> locked)
May 1 11:28:08 media-usb ModemManager[753]: <warn> [modem0] modem couldn't be initialized: Couldn't check unlock status: Couldn't get SIM lock status after 6 retries
May 1 11:28:08 media-usb ModemManager[753]: <info> [modem0] state changed (locked -> failed)
May 1 11:28:08 media-usb ModemManager[753]: <warn> [modem0] error initializing: Modem in failed state: sim-missing

```

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [May 1, 2023, 2:31am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/14 "2023-05-01T02:31:26Z")

</div>

No idea

Maybe you can try another mc73 module and see if it can detect your sim card

---

<div class="post-metadata">

**Author:** ![tmiller](https://avatars.discourse-cdn.com/v4/letter/t/cab0a1/32.png) [@tmiller](https://forum.sierrawireless.com/u/tmiller)\
**Post date:** [May 1, 2023, 3:35am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/15 "2023-05-01T03:35:42Z")

</div>

Hi jyijyi,

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.

Thank you again for you help.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [May 1, 2023, 5:34am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/16 "2023-05-01T05:34:18Z")

</div>

What usb adaptor are you using?  
You might need to check hardware signal

> [@AirPrime MC7304 N.C. pins](https://forum.sierrawireless.com/t/airprime-mc7304-n-c-pins/7245/3):
>
> Hi Alex, I’m preparing our CPU board to connect miniPCIe modem. We have chosen three specific modems for preproduction testing (MC7304 is one of them). Comparing the pinout of these modems I found some conflicts. We need to connect signals to the miniPCIe slot to allow usage of anyone from these three modems. Therefore, we need more information about N. C. pins (because sometime N.C. means do not connect any signal, pin is used for testing, factory programming, etc."). Conflicts in detail: pi…

Btw, do you have mc74 module to verify?

---

<div class="post-metadata">

**Author:** ![streetmagician](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@streetmagician](https://forum.sierrawireless.com/u/streetmagician)\
**Post date:** [January 20, 2024, 2:27am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/17 "2024-01-20T02:27:59Z")

</div>

Hi tmiller,

Did you ever work this out? I am trying to use the same mc7304 on a qotom q1900g4-m mobo, freebsd OS with a Telstra SIM. I am also having trouble with SIM detection. I did get it to work once when i was checking the BIOS on the mobo, didnt change anything and then booted from there, it detected and was connecting! with no issues. But unfortunately, after another reboot was undetected again. I reckon it may have something to do with a low power mode on the mc7304??

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [January 20, 2024, 2:32am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/18 "2024-01-20T02:32:42Z")

</div>

could this be hardware issue on SIM slot?  
have you tried more different SIM cards?

did you check AT!CUSTOM?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/f/f853d78ca1c81a6a094e760d58271c780ac4a816.png)

---

<div class="post-metadata">

**Author:** ![streetmagician](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@streetmagician](https://forum.sierrawireless.com/u/streetmagician)\
**Post date:** [January 20, 2024, 11:58pm UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/19 "2024-01-20T23:58:10Z")

</div>

OMG, i figured out my problem… i put the antennas on the outside of my firewall casing and now it works. I had them mounted on the inside before and it wasn’t working… got confused with the “SIM not inserted” error but that was not what was really going on. _facepalm_

---

<div class="post-metadata">

**Author:** ![ehtesham.khan](https://avatars.discourse-cdn.com/v4/letter/e/eb8c5e/32.png) [@ehtesham.khan](https://forum.sierrawireless.com/u/ehtesham.khan)\
**Post date:** [July 5, 2024, 6:05am UTC](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634/20 "2024-07-05T06:05:38Z")

</div>

Hi Tmiller,  
I am facing same issue. We had sold some systems with MC-7430 to our customer it was working fine and all of the sudden reporting as Missing SIM. The mmcli -m 0 comes up as Missing SIM or Modem not found. Its not only on one unit but 3. Were you able to solve this issue? What were your findings, if you can please share

[Next page](https://forum.sierrawireless.com/t/unable-to-detect-sim-card-on-mc7304/29634.md?page=2)
