Version Information: karl@karl-acer2:~$ apt show modemmanager Package: modemmanager Version: 1.7.990-1
karl@karl-acer2:~$ apt show network-manager Package: network-manager Version: 1.10.6-3 Cheers, KK Am 2018-05-04 um 15:53 schrieb Karl Kashofer: > Dear All, please help... > > I cant get my wwan modem to work on a current debian testing buster system: >> Linux karl-acer2 4.15.0-3-amd64 #1 SMP Debian 4.15.17-1 (2018-04-19) > x86_64 GNU/Linux > > I have a Huawei ME906E, apparently: > lsusb: > Bus 002 Device 005: ID 12d1:1570 Huawei Technologies Co., Ltd. > > tar zxOvf /usr/share/usb_modeswitch/configPack.tar.gz 12d1:1570 > 12d1:1570 > # Huawei ME906E > Configuration=0 > > When i boot up its in config 1 and using the option driver: > > T: Bus=01 Lev=01 Prnt=01 Port=05 Cnt=03 Dev#= 5 Spd=480 MxCh= 0 > D: Ver= 2.00 Cls=ff(vend.) Sub=02 Prot=01 MxPS=64 #Cfgs= 2 > P: Vendor=12d1 ProdID=1570 Rev=00.01 > S: Manufacturer=Huawei Technologies Co., Ltd. > S: Product=HUAWEI Mobile Broadband Module > C: #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=500mA > I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=01 Driver=option > I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=02 Driver=option > I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=03 Driver=option > I: If#= 3 Alt= 0 #EPs= 3 Cls=0b(scard) Sub=00 Prot=00 Driver=(none) > I: If#= 4 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=02 Prot=07 Driver=(none) > > In that state it is not detected by Network-Manager or ModemManager. > > I can switch it to cdc_mbim mode using: > echo 0 > /sys/bus/usb/devices/1-6/bConfigurationValue > echo 2 > /sys/bus/usb/devices/1-6/bConfigurationValue > > getting > T: Bus=01 Lev=01 Prnt=01 Port=05 Cnt=03 Dev#= 5 Spd=480 MxCh= 0 > D: Ver= 2.00 Cls=ff(vend.) Sub=02 Prot=01 MxPS=64 #Cfgs= 2 > P: Vendor=12d1 ProdID=1570 Rev=00.01 > S: Manufacturer=Huawei Technologies Co., Ltd. > S: Product=HUAWEI Mobile Broadband Module > C: #Ifs= 2 Cfg#= 2 Atr=a0 MxPwr=500mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim > I: If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim > > and this in dmesg: > [ 235.323742] option1 ttyUSB0: GSM modem (1-port) converter now > disconnected from ttyUSB0 > [ 235.323783] option 1-6:1.0: device disconnected > [ 235.324085] option1 ttyUSB1: GSM modem (1-port) converter now > disconnected from ttyUSB1 > [ 235.324129] option 1-6:1.1: device disconnected > [ 235.324387] option1 ttyUSB2: GSM modem (1-port) converter now > disconnected from ttyUSB2 > [ 235.324415] option 1-6:1.2: device disconnected > [ 247.558706] usbcore: registered new interface driver cdc_ncm > [ 247.561999] usbcore: registered new interface driver cdc_wdm > [ 247.585903] cdc_mbim 1-6:2.0: setting rx_max = 16384 > [ 247.586246] cdc_mbim 1-6:2.0: setting tx_max = 16384 > [ 247.586250] cdc_mbim 1-6:2.0: NDP will be placed at end of frame for > this device. > [ 247.586389] cdc_mbim 1-6:2.0: cdc-wdm0: USB WDM device > [ 247.586792] cdc_mbim 1-6:2.0 wwan0: register 'cdc_mbim' at > usb-0000:00:14.0-6, CDC MBIM, fe:4c:f9:b2:9f:05 > [ 247.586967] usbcore: registered new interface driver cdc_mbim > [ 247.591280] cdc_mbim 1-6:2.0 wwp0s20u6c2: renamed from wwan0 > > It is now recognized by NetworkManager and i can open a wwan connection. > However, its no good, i can apparently send data out, but nothing comes > back. > As you can see in the attached image of modemmanager-gui, data is being > sent out, but nothing comes back. Internet is dead, i cant ping anything. > > Internet searches come up with this thread: > http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=2485&start=0 > > However, i checked, the cdc_ncm patch is already included in the module > for my kernel. > > Then again, in cdc_ncm.c i find this paragraph: > /* Reset data interface. Some devices will not reset properly > * unless they are configured first. Toggle the altsetting to > * force a reset. > * Some other devices do not work properly with this procedure > * that can be avoided using quirk CDC_MBIM_FLAG_AVOID_ALTSETTING_TOGGLE > > So maybe my modem has a problem with that patch ? > I have not yet found out how to apply quirk > CDC_MBIM_FLAG_AVOID_ALTSETTING_TOGGLE, how do you set that ? > > I already contacted the modeswitch guys, who recommended the > modemmanager list: > http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=3&t=2784 > > In summary, i can force my modem into cdc_mbim mode, but it does not work. > > Any help appreciated. > Cheers, > KK > > > > _______________________________________________ > ModemManager-devel mailing list > ModemManager-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel > -- ************************************************** Mag. Dr. Karl Kashofer Waldertgasse 31 8020 Graz ************************************************** _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel