Snapdragon X55 5G connectivity issue

Hi all,

I recently installed EndeavorOS (Plasma) on my x1 nano Gen2 and I love it so far! Thanks to everyone who has contributed to such a great experience!

I do have issues connecting to my german mobile carrier (Telekom), though.
mmcli shows details about the modem and the SIM, however, the state is “disabled” and power state is “low” (outputs pasted below). In addition, the lock is “sim-pin2” - does that mean that I need to provide my PIN2 in order to unlock? (from my carrier, I have information about PIN, PIN2, PUK and PUK2… not sure whether this is a global or local thing).
I have tried various steps, e.g. fcc unlocking and configuring connection parameters in Plasma’s network connections GUI. No luck in enabling that connection.

Any help is appreciated - thanks!
-crumble

$ mmcli -m 0
  ------------------------------------
  General   |                    path: /org/freedesktop/ModemManager1/Modem/0
            |               device id: c9e1c84fd87c2a97db7d408e238fe6ad8fc64291
  ------------------------------------
  Hardware  |            manufacturer: foxconn
            |                   model: Qualcomm Snapdragon X55 5G
            |       firmware revision: T99W175.F0.6.0.0.6.DT.003
            |                          039  1  [Jul 12 2022 11:00:00]
            |          carrier config: DT
            | carrier config revision: 0A011F03
            |            h/w revision: Qualcomm Snapdragon X55 5G
            |               supported: gsm-umts, lte, 5gnr
            |                 current: gsm-umts, lte, 5gnr
            |            equipment id: 016147000012311
  ------------------------------------
  System    |                  device: /sys/devices/pci0000:00/0000:00:1c.0/0000:08:00.0
            |                 drivers: mhi-pci-generic
            |                  plugin: foxconn
            |            primary port: wwan0mbim0
            |                   ports: wwan0 (net), wwan0at0 (at), wwan0mbim0 (mbim), 
            |                          wwan0qcdm0 (ignored)
  ------------------------------------
  Numbers   |                     own: +49170*******  (correct phone number)
  ------------------------------------
  Status    |                    lock: sim-pin2
            |          unlock retries: sim-pin2 (3)
            |                   state: disabled
            |             power state: low
  ------------------------------------
  Modes     |               supported: allowed: 3g; preferred: none
            |                          allowed: 4g; preferred: none
            |                          allowed: 3g, 4g; preferred: 4g
            |                          allowed: 3g, 4g; preferred: 3g
            |                          allowed: 5g; preferred: none
            |                          allowed: 4g, 5g; preferred: 5g
            |                          allowed: 4g, 5g; preferred: 4g
            |                          allowed: 3g, 5g; preferred: 5g
            |                          allowed: 3g, 5g; preferred: 3g
            |                          allowed: 3g, 4g, 5g; preferred: 5g
            |                          allowed: 3g, 4g, 5g; preferred: 4g
            |                          allowed: 3g, 4g, 5g; preferred: 3g
            |                 current: allowed: 3g, 4g, 5g; preferred: 4g
  ------------------------------------
  Bands     |               supported: utran-1, utran-3, utran-4, utran-6, utran-5, utran-8, 
            |                          utran-9, utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5, 
            |                          eutran-7, eutran-8, eutran-12, eutran-13, eutran-14, eutran-17, 
            |                          eutran-18, eutran-19, eutran-20, eutran-25, eutran-26, eutran-28, 
            |                          eutran-29, eutran-30, eutran-32, eutran-34, eutran-38, eutran-39, 
            |                          eutran-40, eutran-41, eutran-42, eutran-46, eutran-48, eutran-66, 
            |                          eutran-71, utran-19, ngran-1, ngran-2, ngran-3, ngran-5, ngran-7, 
            |                          ngran-8, ngran-12, ngran-20, ngran-25, ngran-28, ngran-38, ngran-40, 
            |                          ngran-41, ngran-48, ngran-66, ngran-71, ngran-77, ngran-78, ngran-79
            |                 current: utran-1, utran-4, utran-5, utran-8, utran-2, eutran-1, 
            |                          eutran-2, eutran-3, eutran-4, eutran-5, eutran-7, eutran-8, 
            |                          eutran-12, eutran-13, eutran-14, eutran-17, eutran-18, eutran-19, 
            |                          eutran-20, eutran-25, eutran-26, eutran-28, eutran-29, eutran-30, 
            |                          eutran-32, eutran-34, eutran-38, eutran-39, eutran-40, eutran-41, 
            |                          eutran-42, eutran-46, eutran-48, eutran-66, eutran-71, ngran-1, 
            |                          ngran-2, ngran-3, ngran-5, ngran-7, ngran-8, ngran-12, ngran-20, 
            |                          ngran-25, ngran-28, ngran-38, ngran-41, ngran-66, ngran-71, ngran-77, 
            |                          ngran-78, ngran-79
  ------------------------------------
  IP        |               supported: ipv4, ipv6, ipv4v6
  ------------------------------------
  3GPP      |                    imei: 016147000012311
            |           enabled locks: fixed-dialing
            |    packet service state: detached
  ------------------------------------
  3GPP EPS  |    ue mode of operation: csps-2
            |  initial bearer ip type: ipv4v6
  ------------------------------------
  3GPP 5GNR |               mico mode: unsupported
            |               drx cycle: unsupported
  ------------------------------------
  SIM       |        primary sim path: /org/freedesktop/ModemManager1/SIM/0
            |          sim slot paths: slot 1: /org/freedesktop/ModemManager1/SIM/0 (active)
            |                          slot 2: none

You might need to do an fcc unlock. Try these two symlinks:

➜  ~ file /etc/ModemManager/fcc-unlock.d/105b:e0c3 
/etc/ModemManager/fcc-unlock.d/105b:e0c3: symbolic link to /usr/share/ModemManager/fcc-unlock.available.d/105b:e0c3
➜  ~ file /usr/share/ModemManager/fcc-unlock.available.d/105b:e0c3
/usr/share/ModemManager/fcc-unlock.available.d/105b:e0c3: symbolic link to 105b

Hey, thanks for the quick reply. I had done an fcc unlock already by doing

sudo ln -sft /etc/ModemManager/fcc-unlock.d /usr/share/ModemManager/fcc-unlock.available.d/*

(following documentation at https://modemmanager.org/docs/modemmanager/fcc-unlock/ )

It’s still unclear to me whether this is an issue with unlocking the SIM (with sim pin 2 or something else) or a driver/firmware issue with the Snapdragon X55.

im not sure what your issue is. but just doing what docs say did not give me an unlock i had to make my own links like above. I’m using an X55 too by the way.

That is interesting indeed. I have checked on my symlinks. I do not have a 105b:e0c3 entry indeed.

Here is what I have:

$ ll /usr/share/ModemManager/fcc-unlock.available.d/
insgesamt 44
drwxr-xr-x 1 root root  158  1. Okt 11:20 .
-rwx------ 1 root root  765 12. Aug 11:12 1eac
lrwxrwxrwx 1 root root    4 12. Aug 11:12 1eac:1001 -> 1eac
-rwx------ 1 root root  615 12. Aug 11:12 2c7c
lrwxrwxrwx 1 root root    4 12. Aug 11:12 2c7c:030a -> 2c7c
lrwxrwxrwx 1 root root    4 12. Aug 11:12 03f0:4e1d -> 1199
-rwx------ 1 root root 2650 12. Aug 11:12 105b
lrwxrwxrwx 1 root root    4 12. Aug 11:12 105b:e0ab -> 105b
lrwxrwxrwx 1 root root    4 12. Aug 11:12 413c:81a3 -> 1199
lrwxrwxrwx 1 root root    4 12. Aug 11:12 413c:81a8 -> 1199
-rwx------ 1 root root  771 12. Aug 11:12 1199
lrwxrwxrwx 1 root root    4 12. Aug 11:12 1199:9079 -> 1199

and in /etc :

$ ll /etc/ModemManager/fcc-unlock.d/
insgesamt 44
drwxr-xr-x 1 root root 158  5. Okt 17:12 .
lrwxrwxrwx 1 root root  51  5. Okt 17:12 1eac -> /usr/share/ModemManager/fcc-unlock.available.d/1eac
lrwxrwxrwx 1 root root  56  5. Okt 17:12 1eac:1001 -> /usr/share/ModemManager/fcc-unlock.available.d/1eac:1001
lrwxrwxrwx 1 root root  51  5. Okt 17:12 2c7c -> /usr/share/ModemManager/fcc-unlock.available.d/2c7c
lrwxrwxrwx 1 root root  56  5. Okt 17:12 2c7c:030a -> /usr/share/ModemManager/fcc-unlock.available.d/2c7c:030a
lrwxrwxrwx 1 root root  56  5. Okt 17:12 03f0:4e1d -> /usr/share/ModemManager/fcc-unlock.available.d/03f0:4e1d
lrwxrwxrwx 1 root root  51  5. Okt 17:12 105b -> /usr/share/ModemManager/fcc-unlock.available.d/105b
lrwxrwxrwx 1 root root  56  5. Okt 17:12 105b:e0ab -> /usr/share/ModemManager/fcc-unlock.available.d/105b:e0ab
lrwxrwxrwx 1 root root  56  5. Okt 17:12 413c:81a3 -> /usr/share/ModemManager/fcc-unlock.available.d/413c:81a3
lrwxrwxrwx 1 root root  56  5. Okt 17:12 413c:81a8 -> /usr/share/ModemManager/fcc-unlock.available.d/413c:81a8
lrwxrwxrwx 1 root root  51  5. Okt 17:12 1199 -> /usr/share/ModemManager/fcc-unlock.available.d/1199
lrwxrwxrwx 1 root root  56  5. Okt 17:12 1199:9079 -> /usr/share/ModemManager/fcc-unlock.available.d/1199:9079

Am I missing something here?

Hi again,

I’ve had the chance to read the FCC-unlock docs more carefully.
According to https://modemmanager.org/docs/modemmanager/fcc-unlock/#fcc-unlock-procedures-in-modemmanager--1184-1 , the FCC unlock script for the Foxconn SDX55 is 105b:e0ab (not 105b:e0c3 as @ironrobin suggested).

In the meantime I did also try a different SIM card and another OS (Ubuntu) - same situation there. No luck connecting.

Thanks