Huawei ME909s-120 modem goes offline and disappears

Aleksander Morgado aleksander at aleksander.es
Mon Jan 20 10:21:14 UTC 2020


Hey

> > Were you able to test these changes yourself? Could you get a MM debug
> > log while testing them?
>
> To be honest, I am struggling a bit. It is not trivial to deploy a binary on
> balenaOS, because of a read only filesystem and other things. I asked the
> balena staff and they suggested setting up a system build for balenaOS
> including the patched version of mm. So first I teached my self a bit to
> set up a Yocto Linux build.
>
> Finally I managed to get an OS image built. I installed it and retried the test.
> Unfortunately the modem disappeared again after a couple of hours.
> I have attached the logs to this email. Could you check it please?
>
> To be honest I am not sure if I messed something up while building balena
> along with mm. Is it correct that mm shows a version 1.13.0?
>
> If you think it could be an issue with my Yocto skills, I can try to rebuild the
> OS..
>


I can't confirm whether the patches were applied on your build or not,
because I don't see the new log messages added during port probing.
What I can confirm is that the new logic I wrote is not being run,
either because the new logic isn't there (may be a build issue
applying the patches) or because the new logic isn't being triggered
at all (may be some wrong logic in the patch).

ModemManager[20667]: <info>  [1579195762.289892] [device
/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4] creating modem
with plugin 'Huawei' and '5' ports
ModemManager[20667]: <warn>  [1579195762.298651] Could not grab port
(tty/ttyUSB5): 'Cannot add port 'tty/ttyUSB5', unhandled serial type'
ModemManager[20667]: <debug> [1579195762.299395] (ttyUSB4) type 'at'
claimed by /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4
ModemManager[20667]: <debug> [1579195762.299992] (ttyUSB3) type 'at'
claimed by /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4
ModemManager[20667]: <warn>  [1579195762.300249] Could not grab port
(tty/ttyUSB2): 'Cannot add port 'tty/ttyUSB2', unhandled serial type'
ModemManager[20667]: <debug> [1579195762.300779] (ttyUSB1) type 'at'
claimed by /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4
ModemManager[20667]: <debug> [1579195762.300960]
(/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4) tty/ttyUSB1 at
(primary)
ModemManager[20667]: <debug> [1579195762.301086]
(/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4) tty/ttyUSB3 at
(secondary)
ModemManager[20667]: <debug> [1579195762.301247]
(/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4) tty/ttyUSB1
data (primary)

Maybe you could add an additional patch in your system build in order
to e.g. add some specific log on MM daemon boot or something? Just to
make sure the build is picking your patches.

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list