Xmm7360-pci

From ArchWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Since for AMD Thinkpads from 2020 Lenovo Thinkpad T14 (AMD) Gen 1, Lenovo ThinkPad T14s (AMD) Gen 1, Lenovo Thinkpad L14 (AMD) Gen 1, Lenovo Thinkpad L15 (AMD) Gen 1 with AMD processors only PCIe is routed to the LTE modem, the only solution is an alpha stage driver written with Python 3 found at https://github.com/xmm7360/xmm7360-pci.

Hardware

This driver is intended to work with Fibocom L850-GL LTE by PCIe, not by mode switch to USB, which is not supported on AMD models, but with commands directly to the modem. Fibocom "supports" Linux but only in USB mode. There is no sign of driver beeing developt. For newer generations (L860 ?) Lenovo is developing a driver.

lspci | grep XMM

shows the Intel name Intel XMM7360 (PCI ID 8086:7360)

> 05:00.0 Wireless controller [0d40]: Intel Corporation XMM7360 LTE Advanced Modem (rev 01)

Thanks to https://github.com/abrasive for his work!

Preparation

Get the linux headers and build tools.

Install these packages: acpi_call python-pyroute2 python-configargparse

Remove PIN in Windows and check that it is a working card. Alternativly echo the PIN with

`echo "AT+CPIN=\"0000\"" | sudo tee -a /dev/ttyXMM1`

after the make && make load steps. Replace `0000` with your pin code.(ref. https://github.com/xmm7360/xmm7360-pci/pull/21/files)

Compile and run

git clone https://github.com/xmm7360/xmm7360-pci.git
cd xmm7360-pci
make && make load
make && make load
sudo python3 rpc/open_xdatachannel.py --apn apn.url
echo "nameserver 1.1.1.1"