Re: InvalidTransition after flashing firmware

2017-09-13 Thread Bjørn Mork
Nathaniel Haggard writes: > After doing something like qmicli -d /dev/cdc-wdm0 > --dms-select-stored-image=modem1,pri1 > > I set the modem as offline, then reset, and then rebooted the host system. > When it booted again MC7455 connected to tmobile, and Great! > I guess select-stored-image is

Re: [review] https://github.com/cbchan/ModemManager/tree/gtask-plugins-icera

2017-09-13 Thread Aleksander Morgado
On Tue, Sep 12, 2017 at 6:45 PM, Ben Chan wrote: > This branch contains a series of patches that port icera plugin to use GTask: > > https://github.com/linux-mobile-broadband/ModemManager/compare/master...cbchan:gtask-plugins-icera Pushed to git master, all looked good. -- Aleksander https://al

Re: [review] https://github.com/cbchan/ModemManager/tree/gtask-plugins-novatel

2017-09-13 Thread Aleksander Morgado
On Tue, Sep 12, 2017 at 6:45 PM, Ben Chan wrote: > This branch contains a series of patches that port novatel and > novatel-lte plugins to use GTask: > > https://github.com/linux-mobile-broadband/ModemManager/compare/master...cbchan:gtask-plugins-novatel Pushed to git master, all looked good. --

Re: InvalidTransition after flashing firmware

2017-09-13 Thread Nathaniel Haggard
After doing something like qmicli -d /dev/cdc-wdm0 --dms-select-stored-image=modem1,pri1 I set the modem as offline, then reset, and then rebooted the host system. When it booted again MC7455 connected to tmobile, and root@LEDE:~# qmicli -d /dev/cdc-wdm0 --dms-list-stored-images [/dev/cdc-wdm0] D

Re: InvalidTransition after flashing firmware

2017-09-13 Thread Nathaniel Haggard
root@LEDE:~# qmicli -p -d /dev/cdc-wdm0 --dms-get-firmware-preference firmware preference successfully retrieved: [image 0] Image type: 'modem' Unique ID: '002.026_000' Build ID: '"02.24.05.06_GENERIC' [image 1] Image type: 'pri' Unique ID: '002.026_000' Build ID: '"02.24.05.06_GENERIC' root

Re: Python libmm problems

2017-09-13 Thread Dan Williams
On Wed, 2017-09-13 at 18:41 +0100, Colin Helliwell wrote: > > On 13 September 2017 at 17:57 Dan Williams wrote: > > > > On Wed, 2017-09-13 at 17:23 +0100, colin.helliw...@ln-systems.com > > wrote: > > > > > I'm trying to write some python to get the operator id off the > > > modem. > > > Due to

Re: InvalidTransition after flashing firmware

2017-09-13 Thread Bjørn Mork
Nathaniel Haggard writes: > After flashing the firmware to GENERIC (tmobile) on MC7455 I get an error > about InvalidTransition. It is failing to set the modem to 'online' mode from 'low power' mode. My best guess is that this is becasue it is forced in low power mode by a mismatch between the c

InvalidTransition after flashing firmware

2017-09-13 Thread Nathaniel Haggard
After flashing the firmware to GENERIC (tmobile) on MC7455 I get an error about InvalidTransition. Here are the firmware files: -rwxr-xr-x1 root root 64432017 May 19 14:38 SWI9X30C_02.24.05.06.cwe -rwxr-xr-x1 root root 3889 Jul 13 20:40 SWI9X30C_02.24.05.06_GENERIC_0

Re: Python libmm problems

2017-09-13 Thread Colin Helliwell
> On 13 September 2017 at 17:57 Dan Williams wrote: > > On Wed, 2017-09-13 at 17:23 +0100, colin.helliw...@ln-systems.com > wrote: > > > I'm trying to write some python to get the operator id off the > > modem. > > Due to limited knowledge of such things, I'm *not* using any > > notifcation > >

Re: Python libmm problems

2017-09-13 Thread Dan Williams
On Wed, 2017-09-13 at 17:23 +0100, colin.helliw...@ln-systems.com wrote: > I'm trying to write some python to get the operator id off the > modem.  > Due to limited knowledge of such things, I'm *not* using any > notifcation > callbacks etc, but simply trying to poll things. > I've wrapped the func

Python libmm problems

2017-09-13 Thread colin.helliwell
I'm trying to write some python to get the operator id off the modem. Due to limited knowledge of such things, I'm *not* using any notifcation callbacks etc, but simply trying to poll things. I've wrapped the functionality into a class (thinking to thus be able to easily contain the modem's object

Re: [PATCH 1.6] bearer-mbim: ensure session is disconnected before trying to connect

2017-09-13 Thread Aleksander Morgado
On Tue, Sep 12, 2017 at 6:46 PM, Aleksander Morgado wrote: > Hey! > > > On Sep 12, 2017 17:31, "Dan Williams" wrote: > > If a suspend/resume cycle happens or ModemManager is restarted (e.g. > after a crash) the modem may be left with a given session id > connected. With this change we're forcing