Xmm7360-pci

From ArchWiki

Thinkpads with an AMD processor since 2020 (e.g. Lenovo Thinkpad L/T14 (AMD) Gen 1, Lenovo ThinkPad T14s (AMD) Gen 1, Lenovo Thinkpad L15 (AMD) Gen 1) connect only PCIe to the LTE modem.

Fibocom "supports" Linux only in USB mode. There is no sign of an official driver being developed. For newer generations (L860 ?), Lenovo is developing a driver.

To get this hardware working on Linux, the only solution is an alpha stage driver, written with Python 3, found at https://github.com/xmm7360/xmm7360-pci.

This driver is intended to work with Fibocom L850-GL LTE, without switching to USB (since it is not supported on AMD models) but with direct commands to the modem. To verify if you have this hardware, do the following:

$ lspci -nn | grep 8086:7360
05:00.0 Wireless controller [0d40]: Intel Corporation XMM7360 LTE Advanced Modem [8086:7360] (rev 01)

Preparation

Install the Linux headers and build tools (linux-headers and base-devel) along with these packages: acpi_call, python-pyroute2 and python-configargparse

Remove PIN in Windows and check that it is a working card.

Alternatively echo the PIN with

# echo "AT+CPIN=\"0000\"" >> /dev/ttyXMM1

after the make && make load steps.

Replace 0000 with your pin code. (c.f. https://github.com/xmm7360/xmm7360-pci/pull/21/files)

Installation

Tango-inaccurate.pngThe factual accuracy of this article or section is disputed.Tango-inaccurate.png

Reason: Should we not point users to the xmm7360-pci-dkms-gitAUR and xmm7360-pci-utils-gitAUR packages instead of building from source and installing files without having them tracked by pacman? There is also xmm7360-usb-modeswitch-gitAUR available. (Discuss in Talk:Xmm7360-pci)
$ git clone https://github.com/xmm7360/xmm7360-pci.git
$ cd xmm7360-pci
$ make && make load
# python3 rpc/open_xdatachannel.py --apn apn.url
# echo "nameserver 1.1.1.1" >> /etc/resolv.conf
# ip link set wwan0 up

Linux Kernel 5.18

Support for this device has been added since Linux 5.18 (see torvalds/linux@1f52d7b). However, according to this issue https://github.com/xmm7360/xmm7360-pci/issues/31 (latest updates July 2022) the modem still doesn't work and complains about a missing sim card.