I have a Fibocom L850-GL LTE modem on my ThinkPad X1 Carbon 6th gen running Arch Linux. The modem is recognized, but the SIM is not detected. Here's what I've tried and the relevant information:
ModemManager
, but it transitions from "unknown" to "locked" to "failed" due to a missing SIM.mmcli -m 0 --command="ATI3"
results in a timeout error (GDBus.Error.Serial.ResponseTimeout
)./dev/wwan0at0
but fails to run the AT command due to a serial command timeout.dmesg
shows that the iosm
driver is loaded and the device is recognized.mmcli -m 0 --reset
, but it reports that the operation is unsupported.dialout
group.Relevant logs:
ModemManager[14586]: [modem0] processing user request to run AT command 'ATI3'... ModemManager[14586]: [wwan0at0/at] opening serial port... ModemManager[14586]: [wwan0at0/at] device open count is 1 (open) ModemManager[14586]: [wwan0at0/at] --> 'ATI3<CR><LF>' ModemManager[14586]: [modem0] failed running AT command 'ATI3': Serial command timed out ModemManager[14586]: [wwan0at0/at] device open count is 0 (close)
What could be causing this serial command timeout, and why is the SIM not being detected? Is there an issue with the iosm
driver, or could it be a configuration problem with ModemManager
or the serial interface?
The modem was stuck with repeated errors such as SIM not inserted and timeouts on serial ports with ModemManager.
I used the script open_xdatachannel.py from the xmm7360-pci library to open the serial port that was blocked xmm7360-pci GitHub Repository once this script was executed, the serial port opened correctly.
After that, I restarted ModemManager with the command :
sudo systemctl restart ModemManager
The modem then correctly detected the SIM card and connected to the network.
The problem was linked to the opening of the modem's serial port, which prevented ModemManager from operating correctly. Running this script solved the problem and established the connection.