Skip to content

Instantly share code, notes, and snippets.

@aleksasiriski
Last active April 26, 2024 16:32
Show Gist options
  • Save aleksasiriski/aef30c6b03785277c8f7a79a472b97c9 to your computer and use it in GitHub Desktop.
Save aleksasiriski/aef30c6b03785277c8f7a79a472b97c9 to your computer and use it in GitHub Desktop.
Fedora Atomic - Commands needed to have a working xmm7360 wwan module tested on Thinkpad T14 and T14s

Overlay kernel headers and needed packages:

rpm-ostree install kernel-devel kernel-headers gcc make python-pip

Reboot to apply:

reboot

Clone the repo to your home dir:

git clone git@github.com:xmm7360/xmm7360-pci

Make and save this script to setup wwan modem on fresh boot / after waking from suspend.

#!/usr/bin/env bash

# Enable read-write /usr
sudo rpm-ostree usroverlay

# Unload iosm kernel driver
sudo rmmod iosm

# CD into the xmm7360 dir
cd ~/xmm7360-pci

# Make and Load xmm7360
sudo ./scripts/lte.sh setup

# Setup LTE
sudo lte up
sudo lte down

# Fix xmm7360, (repeat this step twice if needed, just copy this last line and readd it)
sudo ./scripts/lte.sh setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment