XS Stick W100-2 from 4G Systems - qmi_wwan - option

Aleksander Morgado aleksander at aleksander.es
Sat Nov 28 17:16:46 PST 2015


On Sun, Nov 15, 2015 at 7:41 PM, Thomas Schäfer <tschaefer at t-online.de> wrote:
> this is a copy from my post at:
>
> http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=3&t=2434
>
> some parts are relevant for linux kernel, but I have no access to usb-linux
> mailing list any more.
>
>
>
> ( there is a german discussion about this device here:
> https://forum.ubuntuusers.de/topic/inte ... st-7903378
> )
>
> 4gsystems sells two total different LTE-surfsticks under the same name.
>
> The first one was from alcatel with a different firmware.
>
> The newer version of XS Stick W100 is from "omega"
>
> Code:
> T:  Bus=01 Lev=01 Prnt=01 Port=03 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=1c9e ProdID=9bfe Rev=02.32
> S:  Manufacturer=USB Modem
> S:  Product=USB Modem
> S:  SerialNumber=1234567890
> C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
>
>
> One successful switch is (see ubuntu forum, link above)
> Code:
> usb_modeswitch -v 1c9e -p 9bfe -S
>
>
> The result is a switch from 1c9e:9bfe to 1c9e:9b01.
> Under windows the driver switches to the same ID, and uses MI03\6 for network
> and MI01\6 for modem.
> The XS-Manager from 4G-systems uses the networkinterface.
>
> At the moment no driver grabs the device, so nothing happens(except storage):
> Code:
> T:  Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#=  4 Spd=480 MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=1c9e ProdID=9b01 Rev=02.32
> S:  Manufacturer=USB Modem
> S:  Product=USB Modem
> S:  SerialNumber=
> C:  #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=500mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
> I:  If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
> I:  If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
> I:  If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
> I:  If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
>
>
>
>
> after loading qmi_wwan and option (in this order!)
>
> echo "1c9e 9b01" > /sys/bus/usb/drivers/qmi_wwan/new_id
> echo "1c9e 9b01" > /sys/bus/usb-serial/drivers/option1/new_id
>
>
>
>
> Code:
> T:  Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#=  4 Spd=480 MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=1c9e ProdID=9b01 Rev=02.32
> S:  Manufacturer=USB Modem
> S:  Product=USB Modem
> S:  SerialNumber=
> C:  #Ifs= 5 Cfg#= 1 Atr=80 MxPwr=500mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
> I:  If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
> I:  If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
> I:  If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
> I:  If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
>
>
> Now all important things are there:
>
> wwp0s29f7u2i3 (net), ttyUSB2 (at), cdc-wdm0 (qmi), ttyUSB1 (at)
>
> There is also ttyUSB0, but it is not usable, at least not for at.
>
> The device works well with qmi and ModemManager-NetworkManager.
>
> Unfortunately dualstack is configured(addresses, routes, DNS-Resolver) , but
> only ipv4 works.
> I don't know why. (Windows configures/uses only ipv4)

Is it too late to ask for some ModemManager --debug logs to have as reference?

Thanks for the details!

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list