Error in user YAML: (<unknown>): mapping values are not allowed in this context at line 1 column 49
---
:stop_sign: these notes are outdated. :stop_sign:
build tools were changed for `libqmi > 1.30`
check out the official docs: https://modemmanager.org/docs/libqmi/building/
---
qmicli
(building on libqmi
) as shipped with Ubuntu 20.04 can’t interface with 5G chipsets as the 5G-NR-related symbols are missing. Support begins with 1.26.4
in Ubuntu 20.10, but I think it doesn’t hurt to have the lastest release — new features are being added quite fast.
Remove the old libqmi, if any.
sudo systemctl stop ModemManager.service
sudo apt remove libqmi-glib5 libqmi-proxy libqmi-utils
libmbim:
git clone https://gitlab.freedesktop.org/mobile-broadband/libmbim.git
cd libmbim
./autogen.sh
./configure
make -j `nproc`
sudo make install
libqmi and qmicli:
sudo apt install autoconf autoconf-archive libtool libglib2.0-dev libgudev-1.0-dev
git clone https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
cd libqmi
./autogen.sh
./configure
make -j `nproc`
sudo make install
Now ModemManager:
sudo apt install autopoint xsltproc libsystemd-dev
git clone https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git
cd ModemManager
./autogen.sh
./configure --with-systemd-journal --enable-plugin-qcom-soc
make -j `nproc`
sudo make install
TODO: proper configure parameters, consider switching back to archlinux, no systemd-unit now so manual ModemManager start required
i marked the post as outdated. thanks!