Re: Fibocom L850-GL hangs upon connect.

2018-08-08 Thread Daniel Wood
Yes, it does have two AT ports. However, once ttyACM0 gets tied up and times out after 10 command retries, ModemManager removes the modem: ModemManager[13213]: [1533754896.224557] (tty/ttyACM0) at port timed out 10 consecutive times, marking modem '/org/freedesktop/ModemManager1/Modem/0' as inval

[PATCH] build: require libmbim 1.17.3

2018-08-08 Thread Ben Chan
libmbim 1.17.3 adds the support for MBIM_CID_PCO, which is used by commit d68078b2ce0f ("broadband-modem-mbim: check if modem implements MBIM_CID_PCO"). --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f400eb54..7fa4f60d 100644

[review] USSD support for MBIM

2018-08-08 Thread Aleksander Morgado
Hey, This MR adds USSD support for MBIM devices, and while at it, also ported the original MMBroadbandModem USSD support to GTask: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/merge_requests/23 The MBIM USSD logic basically matches what we had for the AT+CUSD based logic. The mai

Re: [review v2] New 'fibocom' plugin (with a new Intel XMM modem class)

2018-08-08 Thread Aleksander Morgado
>> >> I've now pushed an updated MR to suggest the Fibocom plugin, this time >> including a new "Icera-like" Intel XMM chipset detection. If the modem >> is found to be based on Intel XMM, supporting the "AT+X.." commands, >> then we will use them for things like mode switching. This updated MR >>

Re: [review v2] New 'fibocom' plugin (with a new Intel XMM modem class)

2018-08-08 Thread Ben Chan
On Wed, Aug 8, 2018 at 5:30 AM Aleksander Morgado wrote: > > Hey all, > > I've now pushed an updated MR to suggest the Fibocom plugin, this time > including a new "Icera-like" Intel XMM chipset detection. If the modem > is found to be based on Intel XMM, supporting the "AT+X.." commands, > then we

Re: [PATCH 2/2] broadband-modem-mbim: subscribe to MBIM_CID_PCO notifications

2018-08-08 Thread Aleksander Morgado
On Wed, Aug 8, 2018 at 1:52 PM, Aleksander Morgado wrote: > On Wed, Aug 8, 2018 at 12:16 AM, Ben Chan wrote: >> This patch changes MMBroadbandModem to subscribe to MBIM_CID_PCO >> notifications if the modem supports that. >> --- > > LGTM, please merge > Also merged this one myself to git master

Re: [PATCH 1/2] broadband-modem-mbim: check if modem implements MBIM_CID_PCO

2018-08-08 Thread Aleksander Morgado
> On Wed, Aug 8, 2018 at 12:16 AM, Ben Chan wrote: >> Being a part of a series that adds PCO support for MBIM modems that >> implement the MBIM_CID_PCO extension, this patch issues a >> MBIM_CID_DEVICE_SERVICES query during the modem initialization to check >> if a modem implements MBIM_CID_PCO. I

[review] Provide TAC in addition to LAC in Location interface

2018-08-08 Thread Aleksander Morgado
Hey all, This MR updates the Location interface to provide a separate Tracking Area Code value (TAC) in addition to the Location Area Code (LAC). https://gitlab.freedesktop.org/mobile-broadband/ModemManager/merge_requests/22 The generic AT-based modem implementation is updated so that the CEREG

[review v2] New 'fibocom' plugin (with a new Intel XMM modem class)

2018-08-08 Thread Aleksander Morgado
Hey all, I've now pushed an updated MR to suggest the Fibocom plugin, this time including a new "Icera-like" Intel XMM chipset detection. If the modem is found to be based on Intel XMM, supporting the "AT+X.." commands, then we will use them for things like mode switching. This updated MR includes

Re: [PATCH 2/2] broadband-modem-mbim: subscribe to MBIM_CID_PCO notifications

2018-08-08 Thread Aleksander Morgado
On Wed, Aug 8, 2018 at 12:16 AM, Ben Chan wrote: > This patch changes MMBroadbandModem to subscribe to MBIM_CID_PCO > notifications if the modem supports that. > --- LGTM, please merge > src/mm-broadband-modem-mbim.c | 76 --- > 1 file changed, 71 insertions(+),

Re: [PATCH 1/2] broadband-modem-mbim: check if modem implements MBIM_CID_PCO

2018-08-08 Thread Aleksander Morgado
Hey! On Wed, Aug 8, 2018 at 12:16 AM, Ben Chan wrote: > Being a part of a series that adds PCO support for MBIM modems that > implement the MBIM_CID_PCO extension, this patch issues a > MBIM_CID_DEVICE_SERVICES query during the modem initialization to check > if a modem implements MBIM_CID_PCO. I

Re: Fibocom L850-GL hangs upon connect.

2018-08-08 Thread Aleksander Morgado
Hey! On Wed, Aug 8, 2018 at 6:34 AM, Daniel Wood wrote: > I have been given a Fibocom L850-GL that seems to be stuck in NCM mode. > As I have not had any luck changing the mode back to MBIM: > ModemManager[25270]: [1533696762.104669] (ttyACM0): --> > 'AT+GTUSBMODE?' > ModemManager[25270]: [1533

Re: [RFC] Deprecate SubscriptionState?

2018-08-08 Thread Aleksander Morgado
Hey, >> > Why raw PCO data in hex string? Why not directly the binary data? >> > e.g. >> > "ay" instead of "s". The signature could be then "a(iay)" >> >> Yeah I'd vote for byte array eg "a(iay)" (eg array of struct of integer >> + byte array). >> > > Sounds good. We will need to indicate whether

Re: Adding AT commands to activate call audio over USB endpoint

2018-08-08 Thread Aleksander Morgado
Hey, >>> We're using a SIMCom SIM7100 modem which has the ability to exchange >>> call audio data over a USB serial endpoint⁰. To enable this, the modem >>> needs an AT command after the call has connected, AT+CPCMREG=1, and a >>> command after call has disconnected, AT+CPCMREG=0. >>> >> >> Would

Re: Adding AT commands to activate call audio over USB endpoint

2018-08-08 Thread Bob Ham
On 07/08/18 12:49, Aleksander Morgado wrote: >> We're using a SIMCom SIM7100 modem which has the ability to exchange >> call audio data over a USB serial endpoint⁰. To enable this, the modem >> needs an AT command after the call has connected, AT+CPCMREG=1, and a >> command after call has disconne