Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
script to compile and run libqmi (works in raspberry pi)
#!/bin/bash
# instructions in INSTALL file on repository https://github.com/freedesktop/libqmi/
git clone https://github.com/freedesktop/libqmi/
cd libqmi
git checkout 1.28.2
# get dependencies libraries (Ubuntu)
sudo apt-get install glib-networking libmbim-glib-dev autoconf-archive python
# compilation
NOCONFIGURE=1 ./autogen.sh
./configure --without-udev
make
sudo make install
# start module (assuming /dev/cdc-wdm0)
sudo qmi-network /dev/cdc-wdm0 start
@alvaro893
Copy link
Author

@rma153 That's pretty old, it seems it doesn´t compile anymore on my desktop. However there is a github repo here https://github.com/freedesktop/libqmi/ and the last version is 1.28.2

It works if you follow the instructions on the repo, anyway I updated the script with what worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment