Sprint Aircard 341U modem issue

dailijin dailijin126 at 126.com
Wed Dec 13 10:47:33 UTC 2017



Hi Aleksander,


Yes, I have merged RAWIP logic in qmi_wwan.c, but issue still happened. maybe I need to double check the RAWIP logic again.


The strange issue is when plugin the USB modem, the qmi status always is "connected", even I stop it by manual, but don't take effect. so I have no chance to execute command "echo Y > /sys/class/net/wwan0/qmi/raw_ip ". this maybe the reason. 


[root at tvupack]# qmi-network  /dev/cdc-wdm0 status
state file:/tmp/qmi-network-state_cdc-wdm0
Getting status with 'qmicli -d /dev/cdc-wdm0 --wds-get-packet-service-status '...
Status: connected
[/opt/tvu/TVUTransporter/firmware_upgrade root at tvupack]
[root at tvupack]# qmi-network  /dev/cdc-wdm0 stop
state file:/tmp/qmi-network-state_cdc-wdm0
Network already stopped
Clearing state...
[/opt/tvu/TVUTransporter/firmware_upgrade root at tvupack]
[root at tvupack]# qmi-network  /dev/cdc-wdm0 status
state file:/tmp/qmi-network-state_cdc-wdm0
Getting status with 'qmicli -d /dev/cdc-wdm0 --wds-get-packet-service-status '...
Status: connected








--

Best Regards,
Dai,Lijin



At 2017-12-13 17:02:31, "Aleksander Morgado" <aleksander at aleksander.es> wrote:
>Hey,
>
>AC341U (the model with pid 9055 like the one you have) needs raw-ip
>support, so kernel 4.5 at least. Or did you backport the raw-ip
>support to 4.4?
>
>On Wed, Dec 13, 2017 at 8:32 AM, dailijin <dailijin126 at 126.com> wrote:
>> Hi All,
>>
>> I encounter a strange issue about Aircard 341U modem based on kernel 4.4.0
>> kernel, the modem can get IP 192.168.1.4, but ping network always fail. no
>> care use qmi_wwan or GobiNet driver.
>>
>> Is there anyone encounter similar issue?
>>
>> Below is my log.
>>
>> [root at tvupack]# dmesg  | grep 3-2
>> [    0.909404] usb 3-2: new high-speed USB device number 2 using xhci_hcd
>> [    1.098249] usb 3-2: config 1 has an invalid interface number: 8 but max
>> is 3
>> [    1.098251] usb 3-2: config 1 has no interface number 1
>> [    1.099126] usb 3-2: New USB device found, idVendor=1199, idProduct=9055
>> [    1.099128] usb 3-2: New USB device strings: Mfr=1, Product=2,
>> SerialNumber=3
>> [    1.099129] usb 3-2: Product: AC341U
>> [    1.099130] usb 3-2: Manufacturer: NETGEAR, Inc.
>> [    1.099131] usb 3-2: SerialNumber: 355745050921254
>> [    2.852290] qmi_wwan 3-2:1.8: cdc-wdm0: USB WDM device
>> [    2.852386] qmi_wwan 3-2:1.8 wwan0: register 'qmi_wwan' at
>> usb-0000:01:00.0-2, WWAN/QMI device, 5e:a0:c4:41:70:96
>> [    2.932159] GobiSerial 3-2:1.2: GobiSerial converter detected
>> [    2.932312] usb 3-2: GobiSerial converter now attached to ttyUSB0
>> [    2.934539] GobiSerial 3-2:1.3: GobiSerial converter detected
>> [    2.934623] usb 3-2: GobiSerial converter now attached to ttyUSB1
>> [    2.935935] GobiSerial 3-2:1.0: GobiSerial converter detected
>> [    2.936004] usb 3-2: GobiSerial converter now attached to ttyUSB2
>>
>> [root at tvupack]# qmi-network  /dev/cdc-wdm0 status
>> state file:/tmp/qmi-network-state_cdc-wdm0
>> Getting status with 'qmicli -d /dev/cdc-wdm0 --wds-get-packet-service-status
>> '...
>> Status: connected
>>
>> [root at tvupack]# ifconfig wwan0
>> wwan0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
>>         inet 192.168.1.4  netmask 255.255.255.0  destination 192.168.1.4
>>         unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen
>> 1000  (UNSPEC)
>>         RX packets 24  bytes 2870 (2.8 KiB)
>>         RX errors 0  dropped 0  overruns 0  frame 0
>>         TX packets 678  bytes 47442 (46.3 KiB)
>>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>>
>>
>> --
>> Best Regards,
>> Dai,Lijin
>>
>>
>>
>>
>>
>> _______________________________________________
>> libqmi-devel mailing list
>> libqmi-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
>>
>
>
>
>-- 
>Aleksander
>https://aleksander.es
>_______________________________________________
>libqmi-devel mailing list
>libqmi-devel at lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20171213/cd5746d3/attachment-0001.html>


More information about the libqmi-devel mailing list