Hi,
Thanks for your query in Quectel forums.
We cannot provide this linux driver directly to the end user, because there will be authentication problems when installing this driver. Lenovo will launch a customized ubuntu in the future. It is recommended that you obtain it from Lenovo.
Thanks.
After you have the 5.13+ kernel installed you will see the device in network-manager. The main problem is that there is still an FCC lock on it which prevents you from enabling it in modem-manager. Hopefully it gets added to the https://snapcraft.io/lenovo-wwan-dpr snap. Until then I was able to get it working on a Lenovo X1 Yoga (Gen 6), Ubuntu 20.10, 5.13 kernel, Google Fi Data-Only SIM, and the followingâŚ
# Download network-manager, modem-manager, etc.,...
sudo apt update
sudo apt install network-manager network-manager-gnome modemmanager libqmi-utils gcc
# Reference: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/402#note_1064882
mkdir ~/Downloads/lenovo/snap
cd ~/Downloads/lenovo
# Download the snap
snap download lenovo-wwan-dpr --edge
# Extract the snap files
sudo mount -t squashfs -o ro lenovo-wwan-dpr_5.snap /home/$whoami/Downloads/lenovo/snap
# Download script by Joar Wandborg
wget https://gist.githubusercontent.com/joar/416f37fe81558f5be0d5131018eb7f2a/raw/b6a2a83620b044efc2d13aee86910743969218de/fcc-unlock.c
# TODO: manually modify the define statements in fcc_unlock.c appropriately
#define MBIM_DEVICE_PATH "/dev/wwan0p2MBIM"
#define MBIM2SAR_SO_PATH "/home/jonfen/Downloads/lenovo/snap/usr/lib/mbim2sar.so"
# Compile the script
gcc -o fcc_unlock_v2 fcc_unlock.c
# Run the script
sudo env VERBOSE=1 ./fcc_unlock_v2
# Enable the modem
mmcli -v --modem=0 -e
# Setup the connection, for Google Fi just pick the default T-Mobile profile, ignore their h2g2 APN
nm-connection-editor &
modem-manager-gui &
Thatâs very interesting. I wonder if it would be possible to snoop those MBIM messages so that we could add proper open source support for them? This would allow automatic unlocking from ModemManager, similar to what we have for the Sierra Wireless FCC lock implementation.
Maybe add some debug buffer printkâs in drivers/net/wwan/wwan_core.c? If I read the code correctly, those messages go through wwan_port_fops_write() and wwan_port_fops_read(). Should be pretty simple fo add a couple of print_hex_dump() lines there.
./script: Zeile 20: 3672 Speicherzugriffsfehler sudo env VERBOSE=1 ./fcc_unlock_v2
[24 Mai 2023, 19:41:24] [Debug] ModemManager process found at â:1.15â
[24 Mai 2023, 19:41:24] [Debug] Assuming â0â is the modem index
[24 Mai 2023, 19:41:24] [Debug] Modem found at â/org/freedesktop/ModemManager1/Modem/0â
this worked for me just fine after rebooting the module is working properly
Ubuntu 22.04
Thinkpad T15 gen 2
EM120R-GL LTE Modem
kernal : 6.2.0-26-generic
i had to install lenovo-wwan-dpr_24.snap instead
If anyone is still monitoring this I would appreciate any help. I am using Fedora on a Carbon X9 and my Linux knowledge is simply not enough to adequately follow the above.
I get this far:
nobara-pc:~/lenovo$ sudo mount -t squashfs -o ro lenovo-wwan-dpr_13.snap /home/$(whoami)/lenovo/snap
mount: /home/gb/lenovo/snap: special device lenovo-wwan-dpr_13.snap does not exist.
dmesg(1) may have more information after failed mount system call.
Hi and thanks for the reply, i have fedora running on a Carbon X9 and would love to get the 4g Modem working. Its a EM120R-GL 4G LTE CAT12;
I have tried the commands for the terminal above (all i can do is copy and paste into the terminal, i donât really understand what the commands all mean). I am not able to get the 4g modem to work. There is simcard in. When booting windows 10 it works.