Re: API Call proposal

2015-04-21 Thread Dan Williams
On Tue, 2015-04-21 at 11:59 +0200, Aleksander Morgado wrote: On Tue, Apr 21, 2015 at 11:42 AM, Riccardo Vangelisti riccardo.vangeli...@sadel.it wrote: Fiuu... ;) I've attach'd the previuosly patch with CallLog renamed to Voice as you want :) I think this is already a good start for

Re: Reconnecting after disconnect not possible

2015-04-29 Thread Dan Williams
On Wed, 2015-04-29 at 18:26 +, Bernd Eggink wrote: On 29.04.2015 14:21, Aleksander Morgado wrote: On Tue, Apr 28, 2015 at 9:17 PM, Bernd Eggink mono...@sudrala.de wrote: first of all, I'm happy that I got mobile broadband working under Linux on my Toshiba Portege, using ModemManager and

Re: [RFC PATCH] cli: avoid requiring specific modem if only a single modem is found in the system

2015-04-30 Thread Dan Williams
On Thu, 2015-04-30 at 17:36 +0200, Aleksander Morgado wrote: This change will allow running mmcli operations without needing to specify neither the index nor the path of the modem object, but only if a single modem is found in the system. E.g.: Enabling the modem, when it is the only one in

Re: Use a specific device ?

2015-06-11 Thread Dan Williams
On Thu, 2015-06-11 at 10:36 +0200, Jean-Christian de Rivaz wrote: Le 11. 06. 15 09:29, Bjørn Mork a écrit : Jean-Christian de Rivaz j...@eclis.ch writes: Le 10. 06. 15 23:37, Bjørn Mork a écrit : Jean-Christian de Rivaz j...@eclis.ch writes: There is not so much modem manufacturers

Re: Use a specific device ?

2015-06-11 Thread Dan Williams
On Thu, 2015-06-11 at 11:19 +0200, Jean-Christian de Rivaz wrote: Le 11. 06. 15 10:48, Bjørn Mork a écrit : Jean-Christian de Rivaz j...@eclis.ch writes: In my experience this is not true. Many vendors, many of them no-name Asian ones, release many devices each year, especially when

Re: Use a specific device ?

2015-05-28 Thread Dan Williams
On Thu, 2015-05-28 at 18:39 +0200, Aleksander Morgado wrote: On Thu, May 28, 2015 at 4:41 PM, Jean-Christian de Rivaz j...@eclis.ch wrote: Like I said on the NM lists, I'd rather have ModemManager read the symlinks and advertise *those* over D-Bus instead of adding new MM-specific tagging

Re: GPS raw problem

2015-08-19 Thread Dan Williams
On Wed, 2015-08-19 at 07:10 +, Ahmed Tafesh wrote: Hello I have a Problem in RAW GPS, i enabled the gps-raw root@wica:/# mmcli -m 0 --location-status /org/freedesktop/ModemManager1/Modem/0 Location | capabilities: '3gpp-lac-ci, gps-raw, gps-nmea,

[review] dcbw/huawei-at-dhcp: use AT^DHCP response if available for NDISDUP-capable devices

2015-08-19 Thread Dan Williams
Hi, I had at least one report of a HiSense device that had successful AT^NDISSTATQRY reply but DHCP didn't work. There's been discussion on this in the past [1] with no real conclusion that I can see, but maybe ^DHCP works here instead. So I just went ahead and did that. It'll need more

Re: [review] dcbw/huawei-at-dhcp: use AT^DHCP response if available for NDISDUP-capable devices

2015-08-19 Thread Dan Williams
On Wed, 2015-08-19 at 22:07 +0200, Thomas Schäfer wrote: I am not sure if I understand your question. The E3372s-153 (speedstick v) answers to at^dhcp? But at the moment I don't understand the answer. My second problem is now, that there is no interface, where I could use it. It gets

Re: small footprint device for USSD/SMS

2015-08-03 Thread Dan Williams
On Mon, 2015-08-03 at 22:00 +0100, João M. S. Silva wrote: Hi, Sorry about the newbie question: Do you know of any modular device to run USSD sessions? And eventually SMS? Or GPRS? By modular I mean not a USB dongle, but a smaller PCB which I can embed in my machine instead of plugin

Re: Sierra Wireless (Dell Wireless 5570 HSPA+ (42Mbps) Mobile Broadband Card)

2015-07-13 Thread Dan Williams
to network. Regards Bartosz Nitkiewicz 2015-07-13 20:37 GMT+02:00 Bartosz Nitkiewicz bart...@nitkiewicz.eu: No. There is /dev/cdc-wdm0 on boot, but after a while it disappears. 2015-07-13 19:57 GMT+02:00 Dan Williams d...@redhat.com: On Mon, 2015-07-13 at 19:46 +0200, Bartosz

Re: Multiple Modems (USB Dongle) problem

2015-10-21 Thread Dan Williams
On Wed, 2015-10-21 at 10:12 -0500, Dan Williams wrote: > On Mon, 2015-10-19 at 09:40 +0200, Aleksander Morgado wrote: > > Hey John, > > > > On Sat, Oct 17, 2015 at 3:16 PM, John Whitmore <arig...@gmail.com> wrote: > > > This is a development list so possib

Re: Multiple Modems (USB Dongle) problem

2015-10-21 Thread Dan Williams
On Wed, 2015-10-21 at 17:56 +0200, poma wrote: > On 21.10.2015 17:12, Dan Williams wrote: > > On Mon, 2015-10-19 at 09:40 +0200, Aleksander Morgado wrote: > >> Hey John, > >> > >> On Sat, Oct 17, 2015 at 3:16 PM, John Whitmore <arig...@gmail.com> wrote: &g

Re: [PATCH] bearer-qmi: don't add auth settings if no user/pass/auth given

2015-10-21 Thread Dan Williams
On Tue, 2015-10-20 at 11:29 +0200, Aleksander Morgado wrote: > Auth settings will be added in a QMI message only if at least one of these is > requested: > * An explicit auth preference is requested. > * User string is given and isn't empty. > * Password string is given and isn't empty. > --- >

Re: [PATCH] api: correct description of SimIdentifier property

2015-10-22 Thread Dan Williams
I forgot to CC the list, so here goes. On Thu, 2015-10-22 at 16:02 -0500, Dan Williams wrote: > In MM 0.6 days it used to be obfuscated, but that was pointless. Now > it's just the ICCID. > > --- > > diff --git a/introspection/org.freedesktop.ModemManager1.Sim.xml

Re: Force 2G/3G/4G modes (when they are not reported as supported)

2015-10-28 Thread Dan Williams
On Wed, 2015-10-28 at 12:56 -0500, Dan Williams wrote: > On Wed, 2015-10-28 at 17:04 +0100, José wrote: > > Hi, I am working with a Sierra MC7710, and this is a output example from > > ModemManager: > > ... > > > As you can see, there is only one suppo

Re: Force 2G/3G/4G modes (when they are not reported as supported)

2015-10-28 Thread Dan Williams
On Wed, 2015-10-28 at 17:04 +0100, José wrote: > Hi, I am working with a Sierra MC7710, and this is a output example from > ModemManager: ... > As you can see, there is only one supported mode (allowed: 2g, 3g, 4g; > preferred: none) which (as far as I know) offers me no contl about > which

Re: Multiple Modems (USB Dongle) problem

2015-10-21 Thread Dan Williams
On Mon, 2015-10-19 at 09:40 +0200, Aleksander Morgado wrote: > Hey John, > > On Sat, Oct 17, 2015 at 3:16 PM, John Whitmore wrote: > > This is a development list so possibly the wrong place for this question but > > please redirect me as necessary. > > > > No, this is the

[PATCH] broadband-modem-qmi: implement power-cycle reset functionality

2015-11-11 Thread Dan Williams
--- src/mm-broadband-modem-qmi.c | 49 1 file changed, 49 insertions(+) diff --git a/src/mm-broadband-modem-qmi.c b/src/mm-broadband-modem-qmi.c index 49b3e14..1b516c6 100644 --- a/src/mm-broadband-modem-qmi.c +++ b/src/mm-broadband-modem-qmi.c @@

Re: [PATCH] iface-modem-3gpp: allow LAC/CID updates reported while registering

2015-10-15 Thread Dan Williams
On Thu, 2015-10-15 at 11:39 +0200, Aleksander Morgado wrote: > When changing from idle to registered we'll load registration info before > really > reporting that we're registered (so that clients can get the new registration > info directly). During this time, we should also allow LAC/CID

Re: Help with telit udev rule please

2015-11-18 Thread Dan Williams
On Wed, 2015-11-18 at 18:07 +, Tony wrote: > Hi All, > I am trying to find out why my Telit LN930 modem wont register > to > Network. I noticed it is using the generic plugin while it should be > using telit plugin. From the udev rule for telit, I noticed the > vendor > id for my

Re: [PATCH] broadband-modem-mbim: disable CDMA capabilities until we actually support MBIM+CDMA

2015-08-31 Thread Dan Williams
On Fri, 2015-08-21 at 12:06 +0200, Aleksander Morgado wrote: > On Thu, Aug 20, 2015 at 6:43 PM, Dan Williams <d...@redhat.com> wrote: > > CDMA-capable modems (like a Sierra EM7355) will fail to even enable, > > because the internal CDMA code tries to initialize using AT comman

Re: Fundamental doubt

2015-08-31 Thread Dan Williams
On Mon, 2015-08-31 at 19:37 +0100, João M. S. Silva wrote: > Hi, > > I am using ModemManager to control an HSDPA modem: > > $ lsusb > Bus 001 Device 004: ID 12d1:1001 Huawei Technologies Co., Ltd. > E169/E620/E800 HSDPA Modem > > But now we are testing this device: SIM800L from SIMCom. > >

Re: Fundamental doubt

2015-08-31 Thread Dan Williams
On Mon, 2015-08-31 at 20:23 +0100, João M. S. Silva wrote: > Thanks for the explanation. > > On 08/31/2015 07:59 PM, Dan Williams wrote: > > Not quite correct. ModemManager does not use D-Bus to talk to the > > modem; it uses D-Bus to talk to client applications. To talk t

Re: Fundamental doubt

2015-08-31 Thread Dan Williams
On Tue, 2015-09-01 at 00:38 +0100, João M. S. Silva wrote: > On 08/31/2015 09:03 PM, Dan Williams wrote: > > serial ports and may be designated /dev/ttyS0. Do you have > > any /dev/ttySx ports and if so can you talk to the modem with them? > > Yes, I communicate for inst

Re: [review] dcbw/huawei-at-dhcp: use AT^DHCP response if available for NDISDUP-capable devices

2015-09-01 Thread Dan Williams
On Thu, 2015-08-20 at 23:06 +0200, Thomas Schäfer wrote: > Hi, > > Please forget my last mail about the missing net-interface. > > I have three linux-installations. I just used the one where huawei_cdc_ncm > doesn't load. I don't know why. > > I have to solve the problem before I do

Re: FW: MM v1.4.6/Telit HE910-D SMS question

2015-09-02 Thread Dan Williams
On Wed, 2015-09-02 at 17:03 +0200, Aleksander Morgado wrote: > On Wed, Sep 2, 2015 at 4:53 PM, Highland, Glenn > wrote: > > > > Aleksander suggested that I propose the change below to the mailing list. > > > > Essentially we're encountering a problem with SMS

Re: ptxdist-2013.12.0 + ModemManager + Cinterion PLS8 rel.1

2015-09-01 Thread Dan Williams
On Tue, 2015-09-01 at 14:16 +0100, Raul Suarez Moreno wrote: > On Tue, Sep 1, 2015 at 1:05 PM, Aleksander Morgado > wrote: > > > > > > > Sorry, that was my fault. I attach here the full ModemManager debug log > > just > > > from the system booting until the modem

Re: ptxdist-2013.12.0 + ModemManager + Cinterion PLS8 rel.1

2015-09-01 Thread Dan Williams
On Tue, 2015-09-01 at 10:35 -0500, Dan Williams wrote: > On Tue, 2015-09-01 at 14:16 +0100, Raul Suarez Moreno wrote: > > On Tue, Sep 1, 2015 at 1:05 PM, Aleksander Morgado <aleksan...@aleksander.es > > > wrote: > > > > > > > > > > Sorry, tha

Re: [PATCH v2] core: process SMS +CGMR response with regex

2015-09-15 Thread Dan Williams
On Tue, 2015-09-15 at 20:15 +, Nick Stevens wrote: > Variability in the response style from certain modems causes the parsing > of the +CGMR response to fail. For example, the Telit HE910 inserts an > empty string ("") in the second field of the response, causing the > sscanf implementation to

Re: [PATCH v3] core: process SMS +CGMR response with regex

2015-09-17 Thread Dan Williams
On Thu, 2015-09-17 at 21:31 +, Nick Stevens wrote: > Variability in the response style from certain modems causes the parsing > of the +CGMR response to fail. For example, the Telit HE910 inserts an > empty string ("") in the second field of the response, causing the > sscanf implementation to

Re: AT commands

2015-09-28 Thread Dan Williams
e a suggestion to the modem manufacturer to implement a plug-in > > for MM. I won't be able to do this by myself. > > > > Thank you for your help. > > > > > > -Message d'origine- > > De : ModemManager-devel > > [mailto:modemmanager-devel-bou

Re: libmbim-glib version with Debian Jessie

2015-09-24 Thread Dan Williams
On Thu, 2015-09-24 at 20:59 +0200, Jean-Christian de Rivaz wrote: > Hi, > > I try to compile ModemManager git master on a Debian Jessie armhf. The > configuration give two errors: > > checking for MBIM... no > configure: error: Couldn't find libmbim-glib. Install it, or otherwise > configure

Re: AT commands

2015-09-25 Thread Dan Williams
On Fri, 2015-09-25 at 15:44 +, Highland, Glenn wrote: > You need to run ModemManager in debug mode. > > From: ModemManager-devel > [mailto:modemmanager-devel-boun...@lists.freedesktop.org] On Behalf Of > Normand Roy > Sent: Friday, September 25, 2015 10:38 AM > To:

Re: M7354 IPv6 Problem

2015-09-24 Thread Dan Williams
nager! does it > mean I have to statically configure it? I know the carrier is dynamically > allocating the IP's in the PGW. Are you using NetworkManager or configuring the interface with some custom stuff using the ModemManager output? Dan > On Thu, Sep 24, 2015 at 4:19 PM, Dan Williams <d..

Re: write(9, "A", 1) = -1 EAGAIN

2015-09-23 Thread Dan Williams
On Wed, 2015-09-23 at 22:51 +0200, Jean-Christian de Rivaz wrote: > Hello, > > I use ModemManager 1.4.0 from Debian Jessie armhf on an embedded system > with a u-blox SARA-U270 modem over USB and the generic MM driver. > Sometimes MM fail to make the modem connected to the Internet because it

Re: [PATCH] mbm: don't try to load generic supported modes

2015-12-16 Thread Dan Williams
On Wed, 2015-12-16 at 10:27 +0100, Aleksander Morgado wrote: > We were trying to load the generic modes supported reported by either > *CNTI=2 or > AT+WS46=?, so that then we could filter out the MBM-specific modes > unsupported. > > But, this may not be ideal, as both these two commands may

Re: [RFC] Initial support for the new MC74XX modules

2016-01-04 Thread Dan Williams
On Tue, 2015-12-29 at 18:26 +, Jerry Hicks wrote: > Thanks Aleksander (and happy holidays!) > > Wondering what you might think about text messaging on Verizon's LTE > with the MC74XX modules? > > As I loosely understand things, Verizon requires a connection to > their IPv6 VZWIMS network for

Re: [PATCHv2] mbm: query supported modes to the modem with +CFUN=?

2016-01-04 Thread Dan Williams
On Mon, 2015-12-21 at 17:36 +0100, Aleksander Morgado wrote: > We were trying to load the generic modes supported reported by either > *CNTI=2 or > AT+WS46=?, so that then we could filter out the MBM-specific modes > unsupported. LGTM; returns the right supported modes for my MD300 and TM-506.

Re: [RFC] Initial support for the new MC74XX modules

2016-01-06 Thread Dan Williams
On Tue, 2015-12-29 at 17:56 +0100, Aleksander Morgado wrote: > Hey, > > The new Sierra MC74XX modules are very very different to all previous > Sierra modules. Among other things, they always work in raw-ip mode, > and they also don't implement "DMS UIM" commands. > > This series of patches

Re: TLV value runs over buffer

2016-01-04 Thread Dan Williams
On Wed, 2015-12-30 at 18:37 +, Hans en Dory wrote: > Hi everyone, > > For connecting to the internet I use a Huawei broad band dongle. > Unfortunately, every now and then, sometimes every 5 minutes, and > another time every half our, the connection stops, just out of the > blue.

Re: [PATCH] mbm: don't try to load generic supported modes

2015-12-21 Thread Dan Williams
On Sat, 2015-12-19 at 14:25 +0100, Aleksander Morgado wrote: > On Wed, Dec 16, 2015 at 5:55 PM, Dan Williams <d...@redhat.com> > wrote: > > Sounds fine, and both fail on my MD300 with and without a SIM. > > Perhaps > > instead we could use +CFUN=? and pars

Re: [PATCH 5/6] base-bearer: setup periodic stats loading

2015-11-30 Thread Dan Williams
On Fri, 2015-11-27 at 14:51 +0100, Aleksander Morgado wrote: > If the bearer implementation supports it, load stats periodically. By > default > every 30s for now. > --- > src/mm-base-bearer.c | 123 > +-- > src/mm-base-bearer.h | 16 +-- > 2

Re: [PATCH 1/6] introspection: new 'Stats' property in the bearer object

2015-11-30 Thread Dan Williams
On Fri, 2015-11-27 at 14:51 +0100, Aleksander Morgado wrote: > The new property is a dictionary which may include different > parameters, > depending on what is actually supported by the underlying modem. For > now, > just bytes RX/TX. > > Note that this object will expose the stats *as reported

Re: [PATCH 5/6] base-bearer: setup periodic stats loading

2015-12-01 Thread Dan Williams
On Mon, 2015-11-30 at 23:25 +0100, Aleksander Morgado wrote: > On Mon, Nov 30, 2015 at 5:33 PM, Dan Williams <d...@redhat.com> > wrote: > > > +static gboolean > > > +stats_update_cb (MMBaseBearer *self) > > > +{ > > > +/* If the implement

Re: Sierra Wireless EM7455

2016-06-03 Thread Dan Williams
On Fri, 2016-06-03 at 14:38 +0200, Ralph Plawetzki wrote: > Am 03.06.2016 um 14:09 schrieb Aleksander Morgado: > > > > --set-preferred-mode must be given along with --set-allowed-modes; > > and > > as values for them you should use one of the combinations listed as > > supported when showing the

Re: Sierra Wireless EM7455

2016-06-03 Thread Dan Williams
On Fri, 2016-06-03 at 20:36 +0200, Ralph Plawetzki wrote: > Am 03.06.2016 um 17:15 schrieb Dan Williams: > > > > For allowed modes, combinations are joined with "|".  That's non- > > obvious I suppose, though 'mmcli --help-modem' does say: > > > >  

Re: Sierra Wireless EM7455

2016-06-09 Thread Dan Williams
On Thu, 2016-06-09 at 09:27 +0200, Ralph Plawetzki wrote: > Am 08.06.2016 um 15:25 schrieb Bjørn Mork: > > > > Well, back to the real problem and possible soution: You can flip > > the > > modem into QMI mode by using a Sierra vendor specific QMI request, > > via > > the QMI-over-MBIM service.  I

Re: [PATCH] Hardening PORTCFG parse reply

2016-06-10 Thread Dan Williams
On Wed, 2016-06-01 at 14:51 +0200, Carlo Lobrano wrote: > A brief explaination of the issue that this patch solves. > I observed a probing failure at resume from memory (S3), caused by a > missing or wrong reply to #PORTCFG? AT command sent during port > probing. > This error is probably due to

Re: FCC authentication with QMI over MBIM; try 1

2016-06-10 Thread Dan Williams
On Fri, 2016-06-10 at 14:31 -0700, Aleksander Morgado wrote: > On Fri, Jun 10, 2016 at 11:57 AM, Bjørn Mork wrote: > > > > > > > > On a unrelated note: my 4G signal is rather poor. Mobile phone > > > typically flips back and forth between 2g and 3g. I have the > > > feeling > > >

Re: Huawei/Vodafone K5160 in MBIM-mode, problems with dualstack

2016-06-14 Thread Dan Williams
On Tue, 2016-06-14 at 21:42 +0200, Thomas Schäfer wrote: > Hi, > > the good news first. The modem works under linux in both modes > (cdc_ether and  > mbim). > > cdc-ether-mode works well in dualstack too without special treatment. > > I have some problem with dualstack in mbim-mode. > Using

Re: [PATCH] simtech: support QMI devices

2016-05-31 Thread Dan Williams
On Tue, 2016-05-31 at 11:24 +0200, Aleksander Morgado wrote: > --- > > Hey Yegor, > > Sorry, completely forgot about it. > > Could you try this patch and see if it works? Looks good to me. > --- >  plugins/simtech/mm-plugin-simtech.c | 79 --- > -- >  1 file

Re: [review] dcbw/mbm-connect-disconnect-cleanup: simplify and clean up mbm plugin connect and disconnect

2016-05-27 Thread Dan Williams
On Tue, 2016-05-24 at 16:54 +0200, Aleksander Morgado wrote: > On Tue, May 24, 2016 at 4:37 PM, Dan Williams <d...@redhat.com> > wrote: > > > > On Fri, 2016-05-13 at 20:03 +0200, Aleksander Morgado wrote: > > > > > > On Wed, May 11, 2016 at 8:26 PM,

Re: Sierra Wireless EM7455

2016-06-01 Thread Dan Williams
On Wed, 2016-06-01 at 19:20 +0200, Aleksander Morgado wrote: > On Wed, Jun 1, 2016 at 7:13 PM, Dan Williams <d...@redhat.com> wrote: > > > > On Wed, 2016-06-01 at 15:46 +0200, Aleksander Morgado wrote: > > > > > > On Wed, Jun 1, 2016 at 11:15 AM, Ral

Re: [PATCH 1/2] Inverted steps in update_lock_info_context_step

2016-06-01 Thread Dan Williams
On Wed, 2016-06-01 at 16:48 +0200, Aleksander Morgado wrote: > On Wed, Jun 1, 2016 at 4:34 PM, Carlo Lobrano > wrote: > > > > Hi, has this change already merged? > Not yet; IIRC Dan suggested to merge it after releasing 1.6.0. Yeah, I did suggest that, because I thought it

Re: Sierra Wireless EM7455

2016-06-01 Thread Dan Williams
On Wed, 2016-06-01 at 15:46 +0200, Aleksander Morgado wrote: > On Wed, Jun 1, 2016 at 11:15 AM, Ralph Plawetzki > wrote: > > > > iface_modem_firmware_initialize_ready(): Couldn't initialize > > interface: > > 'Firmware not supported' > We should change that message; it does

Re: [PATCH] bearer-mbim: use the context IP type MM asked to be activated instead of modem response

2016-06-17 Thread Dan Williams
On Fri, 2016-06-17 at 19:31 +0200, Thomas Schäfer wrote: > Hi, > > > Assumed I applied the patch correctly. It doesn't work. And for good reason...  try the updated patch I just sent, that should do the trick.  Thanks for testing! Dan ___

Re: [PATCH v2] bearer-mbim: use the context IP type MM asked to be activated instead of modem response

2016-06-17 Thread Dan Williams
On Fri, 2016-06-17 at 20:31 +0200, Bjørn Mork wrote: > Dan Williams <d...@redhat.com> writes: > > > > > ___ > > ModemManager-devel mailing list > > ModemManager-devel@lists.freedesktop.org > > https://lists.fre

[PATCH v2] bearer-mbim: use the context IP type MM asked to be activated instead of modem response

2016-06-17 Thread Dan Williams
MM never passes MBIM_CONTEXT_IP_TYPE_DEFAULT which would require paying attention to the ip_type in the reply to figure out what type the modem activated. Instead, MM always specifies the ip_type it wants to activate, and some modems (K5160) return a different type in the response. The modem is

Re: [PATCH v2] bearer-mbim: use the context IP type MM asked to be activated instead of modem response

2016-06-21 Thread Dan Williams
Thomas, Could you test this patch out and make sure it works?  It should fix the problem you saw before. Dan On Fri, 2016-06-17 at 13:58 -0500, Dan Williams wrote: > MM never passes MBIM_CONTEXT_IP_TYPE_DEFAULT which would require > paying > attention to the ip_type in the reply to f

Re: ModemManager using QMI doesnt always work in the first attemp.

2016-01-18 Thread Dan Williams
On Mon, 2016-01-18 at 16:55 +0100, José wrote: > I was not sure what caused the 'limited' registration state... I am > going to check if there is any firmware updates available and try > that. > > They all are nanoSIM. Not sure if there is any errors when using > Movistar and Yoigo SIMs, I will

Re: [PATCH] port-serial: remove response buffer when an error is returned

2016-01-18 Thread Dan Williams
On Sun, 2016-01-17 at 18:24 +0100, Aleksander Morgado wrote: > On 17/01/16 16:55, Dan Williams wrote: > > > When valid responses were returned to the caller of the serial > > > > command, the > > > > caller itself was responsible for removing from the

(Bjorn?) Re: Trying to get MC7354 connected to Verizon data network

2016-01-18 Thread Dan Williams
On Mon, 2016-01-18 at 15:15 -0600, Glenn Washburn wrote: > Hi All, > > I've had a ton of headaches getting my MC7354 on Verizon's M2M data > network. Using NM+MM I can get the interface to come up with an IP, > so > it seems as though I'm connected to verizon's network. However, when > I > run

Re: ModemManager auto reconnect

2016-02-09 Thread Dan Williams
On Tue, 2016-02-09 at 11:27 +1100, Brendan Simon (eTRIX) wrote: > On 9/02/2016 9:08 AM, Dan Williams wrote: > > On Tue, 2016-02-09 at 07:31 +1100, Brendan Simon (eTRIX) wrote: > > > I have a number or remotely deployed arm embedded linux systems > > > that > >

Re: [PATCH 1/5] allow optional quotes in +CREG: , "", "" (GSM 07.07 CREG=2 unsolicited) pattern; add testcase for Thuraya XT

2016-02-12 Thread Dan Williams
On Fri, 2016-02-12 at 10:15 -0600, Dan Williams wrote: > On Thu, 2016-02-11 at 16:05 +0100, Thomas Sailer wrote: > > On 02/11/2016 03:25 PM, Aleksander Morgado wrote: > > > Why not just make the single quote characters optionals? (instead > > > of  > > > pro

Re: ModemManager auto reconnect

2016-02-09 Thread Dan Williams
On Wed, 2016-02-10 at 09:10 +1100, Brendan Simon (eTRIX) wrote: > > On 10/02/2016 3:39 AM, Dan Williams wrote: > > On Tue, 2016-02-09 at 11:27 +1100, Brendan Simon (eTRIX) wrote: > > > On 9/02/2016 9:08 AM, Dan Williams wrote: > > > > On Tue, 2016-02-09 at 07:31 +

Re: [PATCH 0/2] plugin: telit: add supported and current modes loading

2016-02-04 Thread Dan Williams
On Mon, 2016-02-01 at 14:53 +0100, Daniele Palmas wrote: > This patch series adds supported and current modes loading for Telit > plugin > > Daniele Palmas (2): > plugin: telit: add supported modes loading > plugin: telit: add current mode loading > >

Re: mbm plugin gps improvements

2016-01-29 Thread Dan Williams
On Fri, 2016-01-29 at 01:00 +0100, Tomas Jura wrote: > Hi Alex > > Thanks for the feedback. The patches layout got broken due to my > email > client. Before I incorporate your comments I and send it in regular > for > review, I created a temporary git repo to see the patches in clear > format:

Re: [PATCH 0/3] PIN operations with UIM service for the MC7455

2016-02-02 Thread Dan Williams
On Tue, 2016-02-02 at 08:33 -0800, Aleksander Morgado wrote: > On Mon, Feb 1, 2016 at 9:19 AM, Bjørn Mork wrote: > > > > FWIW, the issue could be either the now outdated firmware > > > > (which I > > > > believe is not distributed widely enough to be a real problem), > > > > or the

Re: Porting async calls to GTask: newcomers welcome!

2016-02-01 Thread Dan Williams
On Sat, 2016-01-30 at 19:27 -0800, Aleksander Morgado wrote: > Hey hey, > > ModemManager git master is already using GTask already for some > things, instead of the good old GSimpleAsyncResult. GTask was > released > in GLib/GIO 2.36, and it has a really good API, including built-in >

Re: [PATCH 0/1] plugins: telit: add supported modes loading

2016-01-27 Thread Dan Williams
On Tue, 2016-01-26 at 10:03 +0100, Daniele Palmas wrote: > This patch adds supported modes loading in Telit plugin. > > The patch has basically been written for removing the only AT command > that > returns error during the initialization sequence (due to AT*CNTI not > supported > by Telit

Bug with serial port parsing rework

2016-02-18 Thread Dan Williams
Aleksander, Just ran across this; haven't looked into it yet but feel free to get there before me.  mm-1-4 git head. Dan ModemManager[19109]: [1455814962.494537] [mm-plugin-manager.c:316] port_probe_context_finished(): (Plugin Manager) 'eno1' port probe finished, last one in device

Re: [PATCH 1/2] port-serial: allow completions not in idle

2016-03-10 Thread Dan Williams
On Thu, 2016-03-10 at 17:47 +0100, Aleksander Morgado wrote: > On Thu, Mar 10, 2016 at 5:02 PM, Dan Williams <d...@redhat.com> > wrote: > > > > > > > > In addition to the problems with the references, we also update > > > the > > > common_

Re: [PATCH 2/2] port-probe: simplify task completion

2016-03-10 Thread Dan Williams
On Thu, 2016-03-10 at 09:10 +0100, Aleksander Morgado wrote: > We no longer need to complete in idle, because the limitation imposed > by the > serial port methods no longer exists. > LGTM. Dan > --- >  src/mm-port-probe.c | 230 ++-- > >  1 file

Re: Voice support methods in contemporary modems

2016-03-11 Thread Dan Williams
On Fri, 2016-03-11 at 19:17 +0100, Marcin Szewczyk wrote: > Hi, > > sorry for writing on a devel group but I really did not find any > better > place to ask. I am working on a phone-like device that could make a > voice call and sometimes send some data over the internet. I am > confused,

Re: Altair Plugin

2016-04-05 Thread Dan Williams
On Tue, 2016-04-05 at 15:35 +0100, Patrick Clark wrote: > Hi, > > I am currently running ModemManager-1.4.2 which supports an Altair > plugin > for their LTE modem. The device is found by ModemManger and can be > seen > using the command: > > mmcli -L > > However the device is locked: > >

Re: SIM7100E

2016-04-05 Thread Dan Williams
On Tue, 2016-04-05 at 10:56 +0200, Yegor Yefremov wrote: > I have a problem with SIM7100E. Though kernel creates wwan0 device, > it > is not visible in ModemManager. Try the following patch if you can; also ensure you are building ModemManager with QMI support (which is the default).  Basically,

Re: [MM - plugin] Network mode change support on Netgear AirCard 340u.

2016-04-06 Thread Dan Williams
On Wed, 2016-04-06 at 10:49 +0200, Aleksander Morgado wrote: > On Mon, Apr 4, 2016 at 11:13 AM, Jarosław Bielski m> wrote: > > > > > > > > Could you gather debug ModemManager logs while the capabilities > > > are > > > set to "gsm-umts" only? Get the modem registered in the

Re: [PATCH] UPower signaling obsolescence

2016-03-21 Thread Dan Williams
On Mon, 2016-03-21 at 10:16 +0100, Aleksander Morgado wrote: > On 20/03/16 20:39, poma wrote: > > > > "Newer upower versions no longer emit that signal since this > > handled by systemd." > > by Michael Biebl > >

Re: [PATCH] UPower signaling obsolescence

2016-03-21 Thread Dan Williams
On Mon, 2016-03-21 at 22:07 +0100, Aleksander Morgado wrote: > On Mon, Mar 21, 2016 at 5:12 PM, Dan Williams <d...@redhat.com> > wrote: > > > > On Mon, 2016-03-21 at 10:16 +0100, Aleksander Morgado wrote: > > > > > > On 20/03/16 20:39, poma wrote: > &

Re: Sierra Wireless MC7354 doesn't wake up from

2016-04-13 Thread Dan Williams
On Fri, 2016-04-08 at 17:04 +0200, Aleksander Morgado wrote: > On Fri, Apr 8, 2016 at 3:59 PM, Diego López Montes .es> wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > QMI: > > > > > > > >   flags   = "indication" > > > >

[PATCH] bearer-qmi: listen for Packet Service Status indication and handle disconnection

2016-04-13 Thread Dan Williams
Hook up to the WDS Packet Service Status indication, listen for disconnection events, and disconnect the bearer when we get one. ---  src/mm-bearer-qmi.c | 139  1 file changed, 139 insertions(+) *** testing with dual-stack (IPV4V6) appreciated!

Re: d-link dwm 157 B1 - mbim

2016-04-22 Thread Dan Williams
On Sat, 2016-04-23 at 00:02 +0200, Thomas Schäfer wrote: > Hi, > > despite windows doesn't use the mbim-mode, I attached the usb-trace. > (readable  > with wireshark). > > Maybe somebody sees the difference in what mm does different at the > beginning  > compared to the dlink-dialer.  > > The

Re: Sierra Wireless MC7354 remains in Registered - RRC Idle indefinitely on LTE mode

2016-04-29 Thread Dan Williams
On Fri, 2016-04-29 at 17:35 +0200, Diego López wrote: > Hi Dan, > > Thank you for the information, it helped a lot for approaching the > problem. > > I've been making more tests but sending traffic doesn't wake up the > modem. > > I'm going to continue working on it because I suspect that my

Re: Sierra Wireless MC7354 remains in Registered - RRC Idle indefinitely on LTE mode

2016-04-26 Thread Dan Williams
On Tue, 2016-04-26 at 17:27 +0200, Diego López wrote: > Hi, > > I'm still working with Sierra Wireless MC7354 modem, this time with > only  > LTE connection. My tests are made by using a signal attenuator with > only  > one cell. > > Bringing the modem al low signal levels I discovered two

Re: [PATCH] broadband-bearer-icera: deactivate context before authentication

2016-05-24 Thread Dan Williams
On Fri, 2016-05-13 at 20:05 +0200, Aleksander Morgado wrote: > On Wed, May 11, 2016 at 11:25 PM, Dan Williams <d...@redhat.com> > wrote: > > > > If the modem thinks a PDP context is already active it'll return > > 583 errors from IPDPCFG and IPDPACT until

Re: [review] dcbw/mbm-connect-disconnect-cleanup: simplify and clean up mbm plugin connect and disconnect

2016-05-24 Thread Dan Williams
On Fri, 2016-05-13 at 20:03 +0200, Aleksander Morgado wrote: > On Wed, May 11, 2016 at 8:26 PM, Dan Williams <d...@redhat.com> > wrote: > > > > Please review the dcbw/mbm-connect-disconnect-cleanup branch. > > > > https://cgit.freedesktop.org/ModemManag

[review] dcbw/mbm-connect-disconnect-cleanup: simplify and clean up mbm plugin connect and disconnect

2016-05-11 Thread Dan Williams
Hi, Please review the dcbw/mbm-connect-disconnect-cleanup branch. https://cgit.freedesktop.org/ModemManager/ModemManager/log/?h=dcbw/mbm-connect-disconnect-cleanup Git commit comments should have a pretty good overview of what's going on; these were spawned out of the following bugs that

Re: Could not get unlock retries soon after SIM unlock

2016-05-12 Thread Dan Williams
On Wed, 2016-05-04 at 17:21 +0200, Carlo Lobrano wrote: > Hi, > > I observed a problem in getting the number of unlock retries of some > SIMs soon after the unlock (the SIM in not completely ready I assume) > and I saw that some plug-ins inserted a little delay in > modem_after_sim_unlock to cope

Re: Newbie questions, starting point

2016-05-02 Thread Dan Williams
On Mon, 2016-05-02 at 11:31 -0400, Neil Cherry wrote: > If this is the incorrect place to ask, please point me to the correct > place. > > I have a Netgear 341u modem and I'm trying to use it as a backup > connection. > I'm not sure how to begin. The modem works fine under Win7 but I want > to >

Re: Disconnection issues after long periods of inactivity

2016-05-02 Thread Dan Williams
tps://cgit.freedesktop.org/ModemManager/ModemManager/commit/?id=80ce59385fb0bc24f9167f339d5673ede735e1c3 MM debug logging should print out the indication, even though MM doesn't handle it until this patch. Dan > On Mon, May 2, 2016 at 6:25 PM, Dan Williams <d...@redhat.com> wrote: > > &

Re: MC7455 working with PPP

2016-05-04 Thread Dan Williams
On Tue, 2016-05-03 at 14:56 +0200, Jan Haegeman wrote: > Hi all, > > After some trial and error, I managed to get the Sierra Wireless > MC7455 > modem online on Debian, kernel version 4.5.0.1. > > ModemManager version is 1.4.14-1. > PPP version is 2.4.6-3.1. > NetworkManager version is

Re: [PATCH 0/4] Add support for Telit modems in Dell plugin

2016-05-03 Thread Dan Williams
On Fri, 2016-04-29 at 12:50 +0200, Daniele Palmas wrote: > This patch series adds support for Telit modems in Dell plugin. Looks good to me, pushed to git master.  Thanks! Dan > Probing and init output available at: > http://pastebin.com/uQV87Gqa > > mmcli -m 0 > >

Re: mbim Bearer reports IP_METHOD_DHCP when namesservers are missing

2016-04-20 Thread Dan Williams
On Wed, 2016-04-20 at 17:13 +0200, Andreas Fett wrote: > Hi, > > any news on this one? > > On 03/12/15 17:54, Dan Williams wrote: > > > > For IPv6 MM should report "DHCP" if there is *any* information > > missing > > (DNS or Gateway) because tha

Re: [PATCH] broadband-modem/libqcdm: use signal strength from QCDM EVDO Pilot Sets log messages

2016-07-27 Thread Dan Williams
On Tue, 2016-07-26 at 17:44 +0200, Aleksander Morgado wrote: > On Tue, Jul 26, 2016 at 5:24 PM, Dan Williams <d...@redhat.com> > wrote: > > > > When a CDMA-only modem is registered with the EVDO network, its not > > possible to > > read signal strength in th

Re: [PATCH 13/14] zte, udev: avoid making the rules tty-only, and simplify single vendor check

2016-07-28 Thread Dan Williams
On Thu, 2016-07-28 at 00:14 +0200, Aleksander Morgado wrote: > The rules were matched only against devices with an exact 'tty' > subsystem, and > that means that we were not properly adding additional tags on e.g. > wwan or > cdc-wdm devices. > Good catch, though perhaps we want to limit the

Re: [PATCH 01/14] udev: remove ENV{DEVTYPE}!="usb_device" rules

2016-07-28 Thread Dan Williams
On Thu, 2016-07-28 at 10:19 -0500, Dan Williams wrote: > On Thu, 2016-07-28 at 00:13 +0200, Aleksander Morgado wrote: > > > > They're actually a subcase of SUBSYSTEM!="usb", which we apply just > > before. > Actually I thought this was to ensure we match

Re: [PATCH] broadband-modem/libqcdm: use signal strength from QCDM EVDO Pilot Sets log messages

2016-07-26 Thread Dan Williams
On Tue, 2016-07-26 at 10:24 -0500, Dan Williams wrote: > When a CDMA-only modem is registered with the EVDO network, its not > possible to > read signal strength in the following cases: > > 1) while a data connection is active on single-AT-port modems, > because the AT >

Re: [PATCH] broadband-modem/libqcdm: use signal strength from QCDM EVDO Pilot Sets log messages

2016-07-26 Thread Dan Williams
On Tue, 2016-07-26 at 17:44 +0200, Aleksander Morgado wrote: > On Tue, Jul 26, 2016 at 5:24 PM, Dan Williams <d...@redhat.com> > wrote: > > > > When a CDMA-only modem is registered with the EVDO network, its not > > possible to > > read signal strength in th

Re: Sierra Wireless EM8805 (UMTS-module, fujitsu notebook)

2016-07-25 Thread Dan Williams
On Sat, 2016-07-23 at 20:39 +0200, Thomas Schäfer wrote: > Hi, > > I have had a chance to test the built in EM8805. > > At first I tried windows (it was already installed) to be sure the > device  > works and to have an idea about the configuration. Unfortunately I > have only  > pictures of it.

  1   2   3   4   5   >