Xmm7360-pci

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

$ 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.

gollark: Only ONE of those things was injokes.
gollark: <@426438310722797576> Welcome to ESOTERIC PROGRAMMING LANGUAGES™™™. Enjoy your stay. The number floor(2π) must be acknowledged. Please make esolang.
gollark: Hmm, so you think I should release apiohazards into random.org?
gollark: * statistical apiotests
gollark: Have you *run* statistical tests on its output?
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.