Acer Travelmate Huawei ME906E 12d1:1570

Karl Kashofer karl.kashofer at gmx.at
Fri Mar 15 20:39:10 UTC 2019


some more info:
> karl at karl-acer2:~$ mmcli -m 24
>   --------------------------
>   General  |      dbus path: /org/freedesktop/ModemManager1/Modem/24
>            |      device id: 20a6ea01070a5cfbf57a23af244a7645728eef2b
>   --------------------------
>   Hardware |   manufacturer: Huawei Technologies Co., Ltd.
>            |          model: HUAWEI Mobile Broadband Module
>            |       revision: 12.103.39.00.00
>            |   h/w revision: MD1MU736M
>            |      supported: gsm-umts
>            |        current: gsm-umts
>            |   equipment id: 866274019603897
>   --------------------------
>   System   |         device: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-6
>            |        drivers: cdc_mbim
>            |         plugin: Huawei
>            |   primary port: cdc-wdm0
>            |          ports: cdc-wdm0 (mbim), wwp0s20u6c2 (net)
>   --------------------------
>   Status   | unlock retries: unknown (3)
>            |          state: connected
>            |    power state: on
>            |    access tech: umts
>            | signal quality: 83% (cached)
>   --------------------------
>   Modes    |      supported: allowed: 2g, 3g; preferred: none
>            |        current: allowed: 2g, 3g; preferred: none
>   --------------------------
>   IP       |      supported: ipv4, ipv6, ipv4v6
>   --------------------------
>   3GPP     |           imei: 866274019603897
>            |    operator id: 23201
>            |  operator name: bob
>            |   registration: roaming
>   --------------------------
>   SIM      |      dbus path: /org/freedesktop/ModemManager1/SIM/24
>   --------------------------
>   Bearer   |      dbus path: /org/freedesktop/ModemManager1/Bearer/5

Regards,
Karl

Am 15.03.19 um 21:36 schrieb Karl Kashofer:
> Dear All...
>
> I have now retried getting that blasted thing to work in the current
> buster kernel, 4.19.0-2-amd64  but still same problem.
>
> I applied the cdc_mbim_info_avoid_altsetting_toggle patch to no avail.
>
> Cant get any data down, some packages are sent out.
>
> Please help, my original post attached here:
>
> 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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
>

--
**************************************************
Mag. Dr. Karl Kashofer
Waldertgasse 31
8020 Graz
**************************************************


More information about the ModemManager-devel mailing list