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 writes: > > > > > ___ > > ModemManager-devel mailing list > > ModemManager-devel@lists.freedesktop.org > >

[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-17 Thread Bjørn Mork
Dan Williams writes: > ___ > ModemManager-devel mailing list > ModemManager-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel Forgot something here, maybe? Bjørn

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 ___

AW: MC7455 not working

2016-06-17 Thread Thomas Lang
Hi, I put IPv6 on Ignore, but still same behaviour. I think the problem is somewhere else not IPv6. First what is strange I need to start PC with enabled ModemManger Service otherwise starting ModemManager manualy the Simcard will fail. Second when I start the PC with ModemManager as a service

Re: MC7455 not working

2016-06-17 Thread Bjørn Mork
Aleksander Morgado writes: > On Fri, Jun 17, 2016 at 5:56 PM, Thomas Lang wrote: >> ModemManager[835]: QMI IPv4 Settings: >> ModemManager[835]: Address: 100.76.202.73/30 >> ModemManager[835]: Gateway: 100.76.202.74 >>

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

2016-06-17 Thread Thomas Schäfer
Hi, Assumed I applied the patch correctly. It doesn't work. The logfile is attached. k5160 and K5150 do not work with it. Regards, Thomas k5160.tar.7z Description: application/7z-compressed ___ ModemManager-devel mailing list

AW: MC7455 not working

2016-06-17 Thread Thomas Lang
Hi, Another trace. The last one for today. I personally can't see a difference. Attempt not working: go@ubuntu:~$ sudo ModemManager ModemManager[835]: ModemManager (version 1.5.992) starting in system bus... ModemManager[835]: (ttyUSB2): port attributes not fully set ModemManager[835]:

AW: MC7455 not working

2016-06-17 Thread Thomas Lang
Hmm, so itried dieffrent things out and what I have observed is that if I don’t use NM and MM as sudo systemctl enable NetworkManager ModemManager. The SIM card fails. You could see this in the last mail. When I start the PC after power down. And stop MM with : sudo service ModemManager stop

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

2016-06-17 Thread Aleksander Morgado
On Fri, Jun 17, 2016 at 5:46 PM, Dan Williams wrote: > 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, >