M.2 XMM7360 (L850) on 5.19.1: "SIM not inserted"
As it seems like there is kernel support (thanks to https://github.com/torvalds/linux/commit/1f52d7b622854b8bd7a1be3de095ca2e1f77098e) for this WWAN card, I would like to use it with Modem Manager
Previously I was using it with https://github.com/xmm7360/xmm7360-pci
Kernel: 5.19.1-051901-generic MM: 1.18.10-1 Lenovo X1 Carbon Gen6
Logs:
Aug 15 10:08:47 blacky ModemManager[1638]: <info> [device /sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0] creating modem with plugin 'generic' and '3' ports
Aug 15 10:08:47 blacky ModemManager[1638]: <warn> [plugin/generic] could not grab port wwan0at0: Cannot add port 'wwan/wwan0at0', unhandled port type
Aug 15 10:08:47 blacky ModemManager[1638]: <info> [base-manager] modem for device '/sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0' successfully created
Aug 15 10:08:47 blacky ModemManager[1638]: <warn> [modem0] couldn't load supported IP families: SIM not inserted
Aug 15 10:08:47 blacky ModemManager[1638]: <info> [modem0] state changed (unknown -> locked)
Aug 15 10:08:47 blacky ModemManager[1638]: <warn> [modem0] modem couldn't be initialized: Couldn't check unlock status: SIM not inserted
Aug 15 10:08:47 blacky ModemManager[1638]: <info> [modem0] state changed (locked -> failed)
Aug 15 10:08:47 blacky NetworkManager[1570]: <info> [1660550927.8372] manager: (wwan0at1): new Broadband device (/org/freedesktop/NetworkManager/Devices/6)
Aug 15 10:08:47 blacky NetworkManager[1570]: <info> [1660550927.8374] device (wwan0at1): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Aug 15 10:08:47 blacky NetworkManager[1570]: <info> [1660550927.8376] device (wwan0at1): modem state 'failed'
Aug 15 10:08:47 blacky NetworkManager[1570]: <info> [1660550927.8377] modem-broadband[wwan0at1]: failed to retrieve SIM object: No SIM object available
Config:
root@blacky:~# mmcli -L
/org/freedesktop/ModemManager1/Modem/0 [Fibocom] L850 LTE Module","L850
root@blacky:~# mmcli -m 0
-----------------------------
General | path: /org/freedesktop/ModemManager1/Modem/0
| device id: 47ff9568ca7899a6c0f9a7fb7d130572abf1a05f
-----------------------------
Hardware | manufacturer: Fibocom
| model: L850 LTE Module","L850
| firmware revision: 18500.5001.00.05.27.16
| supported: gsm-umts, lte
| current: gsm-umts, lte
| equipment id: 015184006627272
-----------------------------
System | device: /sys/devices/pci0000:00/0000:00:1c.2/0000:03:00.0
| drivers: iosm
| plugin: generic
| primary port: wwan0at1
| ports: wwan0 (net), wwan0at1 (at)
-----------------------------
Status | state: failed
| failed reason: sim-missing
| power state: on
-----------------------------
Modes | supported: allowed: 3g, 4g; preferred: none
| current: allowed: any; preferred: none
I have fcc lock disabled permanently by introducing commands (from https://github.com/xmm7360/xmm7360-usb-modeswitch#fcc-lock):
at@nvm:fix_cat_fcclock.fcclock_mode=0
at@store_nvm(fix_cat_fcclock)
and to confirm it:
AT+CFUN?
+CFUN: 1,0
OK
The SIM doesn't have PIN enabled, on windows works like a charm. So the SIM card is present and proved working
I'm not the only one with the issue, there are more people there: https://github.com/xmm7360/xmm7360-pci/issues/31 but this issue tracker seems like more appropriate place.