QMICLI

Aleksander Morgado aleksander at aleksander.es
Wed Oct 7 09:35:45 UTC 2020


Hey,

>
> 1) i try to use
> qmicli -p -d /dev/cdc-wdm0 --wds-get-packet-service-status
>
> instead checking signal strength, but it make error:
>
> 2-10-2020 16:32:47 root         ERROR    Error system command: qmicli -p -d /dev/cdc-wdm0 --wds-get-packet-service-status
> 02-10-2020 16:32:47 root         ERROR    error: couldn't create QmiDevice: Couldn't query file info: Error when getting information for file “/dev/cdc-wdm0”: No such file or directory
>
> 02-10-2020 16:32:49 root         INFO     Error system command: error: couldn't create QmiDevice: Couldn't query file info: Error when getting information for file “/dev/cdc-wdm0”: No such file or directory
>

Does the /dev/cdc-wdm0 file exist when this issue happens? It may be
because the device goes away by itself (e.g. crashing).

>
> 2) i have this error
> root at raspberrypi:/home/pi# git clone https://gitlab.freedesktop.org/mobile-broadband/libqmi.git
> Cloning into 'libqmi'...
> remote: Enumerating objects: 12964, done.
> remote: Counting objects: 100% (12964/12964), done.
> remote: Compressing objects: 100% (3706/3706), done.
> remote: Total 12964 (delta 9962), reused 12075 (delta 9183), pack-reused 0
> Receiving objects: 100% (12964/12964), 3.51 MiB | 683.00 KiB/s, done.
> Resolving deltas: 100% (9962/9962), done.
> Checking out files: 100% (760/760), done.
> root at raspberrypi:/home/pi# cd libqmi
> root at raspberrypi:/home/pi/libqmi# NOCONFIGURE=1 ./autogen.sh
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal --force -I m4
> autoreconf: configure.ac: tracing
> autoreconf: running: libtoolize --copy --force
> libtoolize: putting auxiliary files in '.'.
> libtoolize: copying file './ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
> libtoolize: copying file 'm4/libtool.m4'
> libtoolize: copying file 'm4/ltoptions.m4'
> libtoolize: copying file 'm4/ltsugar.m4'
> libtoolize: copying file 'm4/ltversion.m4'
> libtoolize: copying file 'm4/lt~obsolete.m4'
> autoreconf: running: /usr/bin/autoconf --force
> configure.ac:65: error: Unexpanded AX_ macro found. Please install GNU autoconf-archive
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> configure.ac:66: error: Unexpanded AX_ macro found. Please install GNU autoconf-archive
> autoreconf: /usr/bin/autoconf failed with exit status: 1
> root at raspberrypi:/home/pi/libqmi#

If only the configure error message could tell you what to do... oh
wait, it does: Please install GNU autoconf-archive :D

-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list