Hello Aleksander,

I found no qmi wwan device present in /dev directory even though the 
qmi_wwan.ko module is inserted. I am running Linux version 4.1.15 and I have 
mini PCie Quectel UC20 modem module installed on my development board. Is that 
the qmi wwan device is only created when USB based modem is installed on a 
development board? The question is about using the commands:

mmcli -m 0 --simple-disconnect
mmcli -m 0 --simple-connect="pin=1234,apn=internet"

These commands work properly as I assume when USB based modem is installed on 
the development board. I want to use these commands in case when mini PCIe 
based modem is installed. However at this moment the command:

mmcli -m 0 --simple-connect="pin=1234,apn=internet"

is giving me an error:

Failed to find primary AT port

I am looking forward to get a help from you. 

Best Regards,

Jan Graczyk

-----Original Message-----
From: Aleksander Morgado [mailto:aleksan...@aleksander.es] 
Sent: Thursday, April 6, 2017 12:35 PM
To: Jan Graczyk <j...@nytec.com>
Cc: modemmanager-devel@lists.freedesktop.org
Subject: Re: ModemManager: symbol lookup error: ModemManager: undefined symbol: 
mm_kernel_event_properties_get_type

On 06/04/17 21:26, Jan Graczyk wrote:
> I have used ./configure --with-qmi=yes than make and make install and I have 
> run ModemManager with a command ModemManager --debug. Am I missing any other 
> option in ./configure? Thank you for your help.

If you are not using --prefix=/somewhere in ./configure, by default it will get 
installed under /usr/local. i.e. the daemon in /usr/local/bin/ModemManager and 
the libraries in /usr/local/lib.

There are distributions out there that include /usr/local/bin by default in the 
$PATH, but then, they don't add /usr/local/lib in the default paths for library 
loading. This is likely your case: you're running /usr/local/bin/ModemManager 
but it is trying to link to /usr/lib/libmm-glib.so, instead of 
/usr/local/lib/libmm-glib.so.

Given that you're upgrading MM to a completely new version which also includes 
DBus updates, you may want to directly just install under /usr, overwriting 
whatever was there before... for that you can just configure using 
--prefix=/usr.

Otherwise, if you do want to keep installing under /usr/local, you'll need to 
explicitly update the LD_LIBRARY_PATH when running ModemManager like this:

$ sudo LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/ModemManager


--
Aleksander
https://aleksander.es
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to