huawei signal info patch by Dan

Mats Berndtsson matsgmxli at outlook.com
Fri Dec 9 23:13:25 UTC 2016


Den 9 dec. 2016 8:29 em skrev Mats Berndtsson <matsgmxli at outlook.com>:
>
>
> Den 9 dec. 2016 17:47 skrev Dan Williams <dcbw at redhat.com>:
> >
> > On Fri, 2016-12-09 at 09:58 +0000, Mats Berndtsson wrote:
> > > Den 9 dec. 2016 10:42 fm skrev Mats Berndtsson <matsgmxli at outlook.com
> > > >:
> > > >
> > > >
> > > >
> > > > Den 9 dec. 2016 12:10 fm skrev Aleksander Morgado <aleksander at aleks
> > > > ander.es>:
> > > > >
> > > > >
> > > > > On Thu, Dec 8, 2016 at 11:58 PM, Mats Berndtsson <matsgmxli at outlo
> > > > > ok.com> wrote:
> > > > > >
> > > > > > pi at plutten:~ $ sudo mmcli -m 0 --signal-get
> > > > > >
> > > > > > /org/freedesktop/ModemManager1/Modem/0
> > > > > >   -------------------------
> > > > > >   Refresh rate: '5' seconds
> > > > > > mmcli: symbol lookup error: mmcli: undefined symbol:
> > > > > > mm_signal_get_rscp
> > > > >
> > > > > Did you by any chance configure without a specific --prefix?
> > > > >
> > > > > Could be that you installed in /usr/local and the mmcli is trying
> > > > > to
> > > > > load libmm-glib from /usr/lib instead.
> > > > >
> > > > > Try:
> > > > > $ LD_LIBRARY_PATH=/usr/local/lib mmcli -m 0 --signal-get
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Aleksander
> > > > > https://aleksander.es
> > > > > ___
> > > > I configured like
> > > > configure --prefix=/usr  --with-dbus-sys-dir=/etc/dbus-1/system.d
> > > >
> > > > /usr/local/lib is empty
> > > >
> > > > Funny thing is, the command works first times after reboot, then
> > > > not again after a few hours.
> > >
> > > Also i havet this in syslog every 5 seconds
> > >
> > > plutten:~ $ tail /var/log/syslog
> > > Dec  9 10:54:23 plutten ModemManager[406]:
> > > mm_get_uint_from_match_info: assertion 's != NULL' failed
> > > Dec  9 10:54:28 plutten ModemManager[406]:
> > > mm_get_uint_from_match_info: assertion 's != NULL' failed
> > > Dec  9 10:54:33 plutten ModemManager[406]:
> > > mm_get_uint_from_match_info: assertion 's != NULL' failed
> > > Dec  9 10:54:38 plutten ModemManager[406]:
> > > mm_get_uint_from_match_info: assertion 's != NULL' failed
> > > Dec  9 10:54:43 plutten ModemManager[406]:
> > > mm_get_uint_from_match_info: assertion 's != NULL' failed
> > > Dec  9 10:54:48 plutten ModemManager[406]:
> > > mm_get_uint_from_match_info: assertion 's != NULL' failed
> >
> > That should be fixed by "libmm-glib,helpers: don't warn when trying to
> > read invalid match info index" which I pushed to the branch and MM 1.6
> > git.  Are you sure you've got that commit?
> >
> > Dan
> When it comes to git i'm not sure of anything :D
>
> i will try with a new clone of mm-1-6 and report...

I pulled and built fresh, at least this persists :

Dec 10 00:10:05 plutten ModemManager[407]: mm_get_uint_from_match_info: assertion 's != NULL' failed
Dec 10 00:10:10 plutten ModemManager[407]: mm_get_uint_from_match_info: assertion 's != NULL' failed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20161209/e410c40d/attachment-0001.html>


More information about the ModemManager-devel mailing list