huawei signal info patch by Dan

Dan Williams dcbw at redhat.com
Fri Dec 9 16:47:07 UTC 2016


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


More information about the ModemManager-devel mailing list