Hey,

> 
> ############################
> Modem 12d1:1001 needs a very long time to initialize and isn't able to
> register:
> 
> T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#=  3 Spd=480 MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=12d1 ProdID=1001 Rev=00.00
> S:  Manufacturer=HUAWEI Technology
> S:  Product=HUAWEI Mobile
> C:  #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=500mA
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
> I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
> I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
> 
> Logfile: http://www.hjit.de/mm.log


I can see the access tech changing a lot umts->gprs->unknown->umts... is
there good coverage? if there is an antenna, is it connected?

If you test this same exact setup with MM 0.6.x it ends up registered?


> ############################
> Modem 0bdb:1926 doesn't find a valid data port
> 
> T:  Bus=03 Lev=01 Prnt=01 Port=03 Cnt=03 Dev#=  4 Spd=480 MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  4
> P:  Vendor=0bdb ProdID=1926 Rev=00.00
> S:  Manufacturer=Lenovo
> S:  Product=H5321 gw
> S:  SerialNumber=12924B04A98B48M0
> C:  #Ifs=11 Cfg#= 1 Atr=e0 MxPwr=0mA
> I:  If#= 0 Alt= 0 #EPs= 0 Cls=02(commc) Sub=08 Prot=00 Driver=(none)
> I:  If#= 1 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=cdc_acm
> /bin/usb-devices: line 79: printf: 0a: invalid number
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
> I:  If#= 2 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
> I:  If#= 3 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=cdc_acm
> I:  If#= 4 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
> I:  If#= 5 Alt= 0 #EPs= 1 Cls=02(commc) Sub=09 Prot=01 Driver=cdc_wdm
> I:  If#= 6 Alt= 1 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
> I:  If#= 7 Alt= 2 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
> /bin/usb-devices: line 79: printf: 08: invalid octal number
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=09 Prot=01 Driver=cdc_wdm
> /bin/usb-devices: line 79: printf: 09: invalid octal number
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=cdc_acm
> 
> Logfile: http://www.hjit.de/nodataport.log


Wait, you didn't compile ModemManager with MBIM support, did you? MM is
explicitly ignoring the MBIM ports, and that can only happen if it
wasn't compiled with libmbim-glib support. You can get libmbim here:

http://www.freedesktop.org/wiki/Software/libmbim/



> ############################
> These modems crash when the lock facility MM_MODEM_3GPP_FACILITY_PH_SIM
> is requested:
> 
> So the question is: for which modems the lock request should be
> excluded, it seems that it effects more than one modem.
> Udev Enviroment? by vendor/device id? global (if the request is not
> needed)? for all option devices with serial ports?
> 
> T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  5 Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=0af0 ProdID=6600 Rev=00.01
> S:  Manufacturer=Option N.V.
> S:  Product=GlobeTrotter 3G+ Module
> S:  SerialNumber=Serial Number
> C:  #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
> I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
> I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
> 
> T:  Bus=01 Lev=01 Prnt=01 Port=03 Cnt=02 Dev#=  4 Spd=480 MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=1199 ProdID=683c Rev=00.05
> S:  Manufacturer=Sierra Wireless, Incorporated
> S:  Product=Mini Card
> C:  #Ifs= 7 Cfg#= 1 Atr=e0 MxPwr=0mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=sierra
> I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=sierra
> I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=sierra
> I:  If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sierra
> I:  If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sierra
> I:  If#= 5 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sierra
> I:  If#= 6 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=sierra
> 
> 
> temp. patch below
> 
> --- mm-broadband-modem.c~    2013-07-19 07:41:30.000000000 +0200
> +++ mm-broadband-modem.c    2013-11-06 19:22:33.000000000 +0100
> @@ -3309,6 +3309,8 @@
>           return;
>       }
> 
> +    ctx->facilities &= ~MM_MODEM_3GPP_FACILITY_PH_SIM;
> +
>       /* Ignore facility locks specified by the plugins */
>       if (MM_BROADBAND_MODEM
> (self)->priv->modem_3gpp_ignored_facility_locks) {
>           gchar *str;
> 

Sigh... I wonder if we should just fully skip PH_SIM always.

-- 
Aleksander
_______________________________________________
networkmanager-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/networkmanager-list

Reply via email to