Giter Club home page Giter Club logo

xmm7360_usb's Introduction

XMM7360 modem to USB

This is basically a kernel module version of the python script xmm2usb found in James Wah's repository. Please be aware that this is a hacky approach that results the device to be reported by lcpci as:

02:00.0 Wireless controller [0d40]: Intel Corporation XMM7360 LTE Advanced Modem (rev ff) (prog-if ff)
	!!! Unknown header type 7f
	Kernel driver in use: xmm7360_usb

This is because the module disables the PCIe root port link, breaking all communication to the device, but the entry stays there because it has a driver in use. It should be pretty harmless though, and can be fixed by simply unloading the module with rmmod (which will also revert all changes though).

I have tested this to work with my Lenovo X1 Carbon (7th Gen) and do not guarantee it to work on any other laptop. Improvements are welcome though.

Installation

WARNING: There is a risk of bricking your laptop so you better know what you are doing from here onwards, remember you were warned.

Simply run the following:

make
sudo make install
sudo modprobe xmm7360_usb

Then after the modem boots in USB mode follow the instructions in the original repository to unlock the modem and set it to MBIM mode. Just to document it here as well, what worked for me was connecting to the serial and running:

at@nvm:fix_cat_fcclock.fcclock_mode?
at@nvm:fix_cat_fcclock.fcclock_mode=0
at@store_nvm(fix_cat_fcclock)
AT+GTUSBMODE?
AT+GTUSBMODE=7
AT+CFUN?
AT+CFUN=15

Everything simply worked on my machine from that onwards, and the automatically loaded module makes sure that the modem stays in USB mode even through reboots.

xmm7360_usb's People

Contributors

juhovh avatar mpxc avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.