Way to prevent MM from periodically reading packet stats
Aleksander Morgado
aleksander at aleksander.es
Mon Feb 26 22:48:14 UTC 2018
Hey,
> I have MM version 1.6.4 running on Linux and I am using it to communicate
> with a Telit LE910 V2 over MBIM and AT.
>
> Along with MM I have running my own process that sends and receives AT
> commands over one of the serial interfaces (ttyACM0).
>
> -------------------------
>
> Hardware | manufacturer: 'Generic'
>
> | model: 'MBIM [1BC7:0032]'
>
> | revision: '20.00.504'
>
> | supported: 'gsm-umts, lte'
>
> | current: 'gsm-umts, lte'
>
> -------------------------
>
> System | device:
> '/sys/devices/platform/soc/soc:internal-regs/d005e000.usb/usb1/1-1'
>
> | drivers: 'cdc_acm, cdc_mbim'
>
> | plugin: 'Generic'
>
> | primary port: 'cdc-wdm0'
>
> | ports: 'ttyACM3 (at), cdc-wdm0 (mbim), wwan0 (net)'
>
>
>
>
>
> Apparently MM fails reading packet statistics from the Modem and this
> happens periodically. I see the following error -
>
> ModemManager[1949]: <warn> Reloading stats failed: OperationNotAllowed
>
This is handled in git master already, we just stop reloading stats if
we get that error once, see commit 95284506.
>
>
> I suspect that MM’s periodic stats request(assuming this is over MBIM) is
> interfering with my AT requests over ttyACM0, which fail occasionally (i.e I
> don’t get responses to AT commands send over ttyACM0 ocassionally).
>
I would very highly doubt that, but no idea without looking at Telit's firmware.
>
> I would like to know if there is a way to configure MM to prevent polling
> for stats and if it may interfere with using one of the serial ports
> independently of MM?
>
You could backport patch 95284506 to your version of MM, or just
update and use the 1.8-rc1 tag, which will be compatible with 1.6.x.
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list