MM compile Fails: error: unknown type name 'GTestDBus'

2015-04-16 Thread Ali Nematollahi
Hi I am using Debian Wheezy 7.5 on an embedded target. I'm trying to install ModemManager on it. I tried apt-get and it installed a very old version. Version which does not have a support for Cinterion modems. I've got the 1.4.6 source and I'm trying to build it on the actual target. It works well

Re: MM compile Fails: error: unknown type name 'GTestDBus'

2015-04-16 Thread Ali Nematollahi
make systems stronger, faster, > smarter and more energy efficient.* > > [image: cid:image001.png@01CB2756.11A52F20] > > Bellevue, WA | Boise, ID | Kent, WA | Los Angeles, CA | Pasco, WA | > Portland, OR |Sacramento, CA | Salt Lake City, UT | Westminster, CO > > > > >

Re: MM compile Fails: error: unknown type name 'GTestDBus'

2015-04-17 Thread Ali Nematollahi
Great! I compiled and installed libqmi and applied the patch and I was able to compile MM!! The problem is I have other bigger problems that I'll start a new post on. Thanks so much!! On Fri, Apr 17, 2015 at 1:04 AM, Aleksander Morgado < aleksan...@aleksander.es> wrote: > On Fri, Apr 17, 2015 a

Modem Manager 1.4.6 unable to bring up ModemManager

2015-04-17 Thread Ali Nematollahi
Hi guys I am running debian wheezy 7.5 on an embedded target. Debian comes with 0.5.2 but I need the Cinterion modem driver so I managed to compile and install MM 1.4.6. However, right off the bat, i'm running into problems. It seems to have compiled and installed everything properly but there is n

Re: Modem Manager 1.4.6 unable to bring up ModemManager

2015-04-20 Thread Ali Nematollahi
local/share/dbus-1/system-services/org.freedesktop.ModemManager1) to something else and I've tried that but it still doesn't work. I get the exact same thing. I have no /etc/init.d/ModemManager. When I try to do: systemctl enable ModemManager systemctl start ModemManager I get the error: Fai

Re: Modem Manager 1.4.6 unable to bring up ModemManager

2015-04-20 Thread Ali Nematollahi
:21 PM, Ali Nematollahi wrote: > Thanks So much!! > When I run it with Debug it give yet another error: > > root@beaglebone:/usr/share/dbus-1/system-services# whereis ModemManager > ModemManager: /usr/lib/ModemManager /usr/local/sbin/ModemManager > /usr/local/lib/ModemManager

Bringing up PPP after ModemManager is up

2015-04-20 Thread Ali Nematollahi
Hi guys I finally got Modem Manager up and running, and set it up with my Modem. It's working great and I learned a lot playing around with it. My question right now is, I managed to bring up a context on the modem but I'm not sure how to hook up the PPP to it. I have a hspa and hspa_chat that I c

Re: Bringing up PPP after ModemManager is up

2015-04-21 Thread Ali Nematollahi
count is 3 (open) ModemManager[3261]: [947012931.979398] [mm-iface-modem.c:1101] expire_signal_quality(): Signal quality value not updated in 60s, marking as not being recent ModemManager[3261]: [947012931.983252] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): --> 'AT^SIND?' sent [LCP

Re: Bringing up PPP after ModemManager is up

2015-04-21 Thread Ali Nematollahi
aleksan...@aleksander.es> wrote: > On Tue, Apr 21, 2015 at 6:36 PM, Ali Nematollahi > wrote: > > Script /usr/sbin/chat -v -f /etc/ppp/peers/hspa_chat finished (pid 4962), > > status = 0x0 > > Serial connection established. > > using channel 1 > > Using int

libmm-glib.so.0: cannot open shared object file

2016-03-01 Thread Ali Nematollahi
Hi guys I'm trying to upgrade to MM 1.4.12 and I just compiled and installed the 1.4.12 package. Everything seemingly went alright (on Debian Wheezy) but as soon as I try to run MM commands, I get this error: ModemManager --version ModemManager: error while loading shared libraries: libmm-glib.s

ModemManager DBUS API

2016-03-21 Thread Ali Nematollahi
Hi guys I'm trying to get some data out of MM through DBUS but the API does not seem to be working. I want to get for example the signal quality and I do: dbus-send --print-reply --system \ --dest=org.freedesktop.ModemManager1 \ /org/freedesktop/ModemManager1/Modem/0 \ org.freedesktop

LIBMM API, examples

2016-03-24 Thread Ali Nematollahi
Hi guys I was reading the examples on NM found here: https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/examples/C/glib and found them to be very useful. I couldn't find much however on MM and how to use libmm to interact with the modem in C. Can someone please tell me where I can f

libmm-glib.la: file not recognized: File format not recognized

2016-03-29 Thread Ali Nematollahi
Hi guys I'm writing a simple C code to interface to MM to be able to read some stats. I'm following the mmcli examples as was suggested earlier. All I'm currently reading is mm_modem_get_manufacturer (ctx->modem); so nothing complex. I have the following headers: #include "config.h" #include

ModemManager and Roaming

2016-07-18 Thread Ali Nematollahi
Hi guys I am trying to connect to AT&T and roam on a Canadian carrier. My issue is I know I have to use "allow-roaming=true" in my configuration: But the trouble is it still won't connect! I keep getting this: root@beaglebone:~# ModemManager[3100]: [946686664.703998] [mm-base-bearer.c:760] mm_