Last active
April 1, 2025 12:00
-
-
Save alvaro893/f5b8dd026eb98959e8c6c59a45b63cc2 to your computer and use it in GitHub Desktop.
script to compile and run libqmi (works in raspberry pi)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the github repo doesn't exist anymore