Problem with mm-1.0.0 and Dell 5560

Marek Kaluba abulak at gmail.com
Sat Dec 21 07:20:15 PST 2013


Hi,

Sorry for little delay.

I attached files with all You requested.

Network-manager-*.log are dmesg-logs.

MM* contain outputs for mmcli for these two situations.

Cheers,
Marek

On Thursday 19 December 2013 09:05:12 Bjørn Mork wrote:
> Marek Kaluba <abulak at gmail.com> writes:
> > On Wednesday 18 December 2013 13:42:11 Bjørn Mork wrote:
> >> > Still after modprobing cdc_ncm prefer_mbim=N (and restarting NM,
> >> > relogging, etc) MM coudn't find the valid data port (the same error).
> >> 
> >> Please try to include more actual results.
> >> 
> >> Which drivers are attached to the modem after this change? "mmcli -m 
0"
> >> will show this for example.  Did you get any new messages in the logs
> >> etc?
> > 
> > With mbim enabled:
> > mmcli -m 2
> > 
> > /org/freedesktop/ModemManager1/Modem/2 (device id
> > '0b23d608ea84690b65aa61baa5e39643627fe795')
> > 
> >   -------------------------
> >   Hardware |   manufacturer: 'Ericsson MBM'
> >   
> >            |          model: 'MBIM [413C:818E]'
> >            |       
> >            |       revision: 'CXP 901 8700/1 - R3C18'
> >            |      
> >            |      supported: 'gsm-umts'
> >            |      
> >            |        current: 'gsm-umts'
> >            |   
> >            |   equipment id: '358994041358732'
> >   
> >   -------------------------
> > 
> >   System   |         device:
> > '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6'
> > 
> >            |        drivers: 'cdc_acm, cdc_mbim, cdc_wdm'
> 
> Yes, we already saw that.  I was wondering whether this would show
> cdc_ncm instead when prefer_mbim=N, like expected.
> 
> >            |         plugin: 'Ericsson MBM'
> >            |   
> >            |   primary port: 'cdc-wdm1'
> >            |   
> >            |          ports: 'ttyACM0 (at), wwp0s29u1u6i6 (net), ttyACM1
> >            |          (at),
> > 
> > ttyACM2 (at), cdc-wdm1 (mbim)'
> 
> And if the net port still is picked up by MM with the ncm driver.  Both
> *should* happen, but it would be good to confirm it.
> 
> > I am pretty sure that logs shown me the same error (couldn't find valid
> > data port), BUT I will test it once again tomorrow in the evening
> > (including all possible changes in logs)
> 
> Thanks.  And if you could send the output of
> "cat /sys/kernel/debug/usb/devices" as well, or just the part for this
> modem?  That would show all the different configurations and
> altsettings.  "lsusb -vd vid:pid" will work as well, but is much longer
> and more difficult to read IMHO.  It has the advantage that it shows the
> functional descriptorss, but I don't think we need those.
> 
> Make sure to mount debugfs before you look at
> /sys/kernel/debug/usb/devices :
> 
>  mount -t debugfs none /sys/kernel/debug
> 
> 
> Bjørn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Network-manager-disable-mbim.log
Type: text/x-log
Size: 37353 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/modemmanager-devel/attachments/20131221/aa1021c3/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Network-manager-enabled-mbim.log
Type: text/x-log
Size: 45511 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/modemmanager-devel/attachments/20131221/aa1021c3/attachment-0003.bin>
-------------- next part --------------
ModemManager compiled with --disable-mbim

# rmmod cdc_mbim
# rmmod cdc_ncm
# modprobe cdc_ncm prefer_mbim=N
# mmcli -L

Found 1 modems:
        /org/freedesktop/ModemManager1/Modem/0 [Dell] DW5560

# mmcli -m 0

/org/freedesktop/ModemManager1/Modem/0 (device id 'f1f831063dbe34d741e5ea2723b18b70786ebd95')
  -------------------------
  Hardware |   manufacturer: 'Dell'
           |          model: 'DW5560'
           |       revision: 'R3C11'
           |      supported: 'gsm-umts'
           |        current: 'gsm-umts'
           |   equipment id: '358994041358732'
  -------------------------
  System   |         device: '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6'
           |        drivers: 'cdc_acm, cdc_mbim, cdc_wdm'
           |         plugin: 'Ericsson MBM'
           |   primary port: 'ttyACM0'
           |          ports: 'ttyACM0 (at), ttyACM1 (at), ttyACM2 (at)'
  -------------------------
  Numbers  |           own : 'unknown'
  -------------------------
  Status   |           lock: 'none'
           | unlock retries: 'sim-pin (3), sim-pin2 (3), sim-puk (10), sim-puk2 (10)'
           |          state: 'disabled'
           |    power state: 'low'
           |    access tech: 'unknown'
           | signal quality: '0' (cached)
  -------------------------
  Modes    |      supported: 'allowed: any; preferred: none'
           |        current: 'allowed: any; preferred: none'
  -------------------------
  Bands    |      supported: 'unknown'                                                                                                                         
           |        current: 'unknown'                                                                                                                         
  -------------------------                                                                                                                                    
  IP       |      supported: 'ipv4, ipv6'                                                                                                                      
  -------------------------                                                                                                                                    
  3GPP     |           imei: '358994041358732'                                                                                                                 
           |  enabled locks: 'none'                                                                                                                            
           |    operator id: 'unknown'                                                                                                                         
           |  operator name: 'unknown'                                                                                                                         
           |   registration: 'unknown'                                                                                                                         
  -------------------------                                                                                                                                    
  SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'
-------------- next part --------------
ModemManager compiled with --enable-mbim



# mmcli -L

Found 1 modems:
        /org/freedesktop/ModemManager1/Modem/0 [Ericsson MBM] MBIM [413C:818E]

#mmcli -m 0

/org/freedesktop/ModemManager1/Modem/0 (device id '0b23d608ea84690b65aa61baa5e39643627fe795')
  -------------------------
  Hardware |   manufacturer: 'Ericsson MBM'
           |          model: 'MBIM [413C:818E]'
           |       revision: 'CXP 901 8700/1 - R3C18'
           |      supported: 'gsm-umts'
           |        current: 'gsm-umts'
           |   equipment id: '358994041358732'
  -------------------------
  System   |         device: '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6'
           |        drivers: 'cdc_acm, cdc_mbim, cdc_wdm'                                                                                                      
           |         plugin: 'Ericsson MBM'                                                                                                                    
           |   primary port: 'cdc-wdm2'                                                                                                                        
           |          ports: 'ttyACM1 (at), wwp0s29u1u6i6 (net), cdc-wdm2 (mbim), ttyACM2 (at), ttyACM0 (at)'                                                  
  -------------------------                                                                                                                                    
  Numbers  |           own : 'unknown'                                                                                                                         
  -------------------------                                                                                                                                    
  Status   |           lock: 'none'                                                                                                                            
           | unlock retries: 'unknown (4294967295)'                                                                                                            
           |          state: 'disabled'                                                                                                                        
           |    power state: 'on'                                                                                                                              
           |    access tech: 'unknown'                                                                                                                         
           | signal quality: '0' (cached)                                                                                                                      
  -------------------------                                                                                                                                    
  Modes    |      supported: 'allowed: 2g, 3g; preferred: none'                                                                                                
           |        current: 'allowed: 2g, 3g; preferred: none'                                                                                                
  -------------------------                                                                                                                                    
  Bands    |      supported: 'unknown'                                                                                                                         
           |        current: 'unknown'                                                                                                                         
  -------------------------
  IP       |      supported: 'ipv4, ipv6, ipv4v6'
  -------------------------
  3GPP     |           imei: '358994041358732'
           |  enabled locks: 'none'
           |    operator id: 'unknown'
           |  operator name: 'unknown'
           |   registration: 'unknown'
  -------------------------
  SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'
-------------- next part --------------
T:  Bus=02 Lev=02 Prnt=02 Port=05 Cnt=01 Dev#=  3 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  4
P:  Vendor=413c ProdID=818e Rev= 0.00
S:  Manufacturer=Dell
S:  Product=DW5560
S:  SerialNumber=635F39A8C0C83DM0
C:* #Ifs=11 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 0 Cls=02(comm.) Sub=08 Prot=00 Driver=(none)
I:* If#= 1 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
E:  Ad=8a(I) Atr=03(Int.) MxPS=  32 Ivl=16ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
E:  Ad=89(I) Atr=03(Int.) MxPS=  32 Ivl=16ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 5 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=09 Prot=01 Driver=cdc_wdm
E:  Ad=88(I) Atr=03(Int.) MxPS=  32 Ivl=16ms
I:  If#= 6 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=cdc_mbim
E:  Ad=86(I) Atr=03(Int.) MxPS=  32 Ivl=8ms
I:* If#= 6 Alt= 1 #EPs= 1 Cls=02(comm.) Sub=0e Prot=00 Driver=cdc_mbim
E:  Ad=86(I) Atr=03(Int.) MxPS=  32 Ivl=8ms
I:  If#= 7 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_mbim
I:  If#= 7 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=cdc_mbim
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 7 Alt= 2 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 8 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=09 Prot=01 Driver=cdc_wdm
E:  Ad=87(I) Atr=03(Int.) MxPS=  32 Ivl=16ms
I:* If#= 9 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
E:  Ad=84(I) Atr=03(Int.) MxPS=  32 Ivl=16ms
I:* If#=10 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
C:  #Ifs= 9 Cfg#= 2 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=02(comm.) Sub=08 Prot=00 Driver=
I:  If#= 1 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=
E:  Ad=8a(I) Atr=03(Int.) MxPS=  32 Ivl=16ms
I:  If#= 2 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 3 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=
E:  Ad=89(I) Atr=03(Int.) MxPS=  32 Ivl=16ms
I:  If#= 4 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 5 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=09 Prot=01 Driver=
E:  Ad=88(I) Atr=03(Int.) MxPS=  32 Ivl=16ms
I:  If#= 6 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=
E:  Ad=86(I) Atr=03(Int.) MxPS=  32 Ivl=8ms
I:  If#= 6 Alt= 1 #EPs= 1 Cls=02(comm.) Sub=0e Prot=00 Driver=
E:  Ad=86(I) Atr=03(Int.) MxPS=  32 Ivl=8ms
I:  If#= 7 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=
I:  If#= 7 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 7 Alt= 2 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 8 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=09 Prot=01 Driver=
E:  Ad=87(I) Atr=03(Int.) MxPS=  32 Ivl=16ms
C:  #Ifs= 5 Cfg#= 3 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=02(comm.) Sub=08 Prot=00 Driver=
I:  If#= 1 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=
E:  Ad=86(I) Atr=03(Int.) MxPS=  32 Ivl=8ms
I:  If#= 1 Alt= 1 #EPs= 1 Cls=02(comm.) Sub=0e Prot=00 Driver=
E:  Ad=86(I) Atr=03(Int.) MxPS=  32 Ivl=8ms
I:  If#= 2 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=
I:  If#= 2 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 2 Alt= 2 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 3 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=
E:  Ad=84(I) Atr=03(Int.) MxPS=  32 Ivl=16ms
I:  If#= 4 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
C:  #Ifs= 3 Cfg#= 4 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=02(comm.) Sub=08 Prot=00 Driver=
I:  If#= 1 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0d Prot=00 Driver=
E:  Ad=86(I) Atr=03(Int.) MxPS=  32 Ivl=8ms
I:  If#= 1 Alt= 1 #EPs= 1 Cls=02(comm.) Sub=0e Prot=00 Driver=
E:  Ad=86(I) Atr=03(Int.) MxPS=  32 Ivl=8ms
I:  If#= 2 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=01 Driver=
I:  If#= 2 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=01 Driver=
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:  If#= 2 Alt= 2 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms


More information about the ModemManager-devel mailing list