<div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>Here is an update on SIM8200 running on 5.6 mainline kernel, with no changes and is working well.</div><div><br></div><div>-Sebastian<br></div><div><br></div><div>ati<br>Manufacturer: SIMCOM INCORPORATED<br>Model: SIMCOM_SIM8200EA-M2<br>Revision: SIM8200EA-M2_V1.2<br>IMEI: <br>+GCAP: +CGSM<br><br>OK</div><div><br></div><div>root@al05p2:~# uname -a<br>Linux al05p2 5.6.0-2-amd64 #1 SMP Debian 5.6.14-2 (2020-06-09) x86_64 GNU/Linux<br>root@al05p2:~# lsusb<br>Bus 002 Device 002: ID 1e0e:9001 Qualcomm / Option SDXPRAIRIE-MTP _SN:D19C4AC3<br>Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br>Bus 001 Device 002: ID 0781:5571 SanDisk Corp. Cruzer Fit<br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>root@al05p2:~# lsusb -t<br>/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/7p, 5000M<br> |__ Port 3: Dev 2, If 0, Class=Vendor Specific Class, Driver=option, 5000M<br> |__ Port 3: Dev 2, If 1, Class=Vendor Specific Class, Driver=option, 5000M<br> |__ Port 3: Dev 2, If 2, Class=Vendor Specific Class, Driver=option, 5000M<br> |__ Port 3: Dev 2, If 3, Class=Vendor Specific Class, Driver=option, 5000M<br> |__ Port 3: Dev 2, If 4, Class=Vendor Specific Class, Driver=option, 5000M<br> |__ Port 3: Dev 2, If 5, Class=Vendor Specific Class, Driver=qmi_wwan, 5000M<br>/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/8p, 480M<br> |__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 480M<br>root@al05p2:~# qmicli --version<br>qmicli 1.26.0<br>Copyright (C) 2012-2020 Aleksander Morgado<br>License GPLv2+: GNU GPL version 2 or later <<a href="http://gnu.org/licenses/gpl-2.0.html">http://gnu.org/licenses/gpl-2.0.html</a>><br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.<br><br>root@al05p2:~# /usr/bin/qmicli -p -d /dev/cdc-wdm0 --wds-get-packet-service-status<br>[/dev/cdc-wdm0] Connection status: 'disconnected'<br>root@al05p2:~# /usr/bin/qmicli -p -d /dev/cdc-wdm0 --wds-start-network="ip-type=4,apn=dnn1.cn59" --client-no-release-cid<br>[/dev/cdc-wdm0] Network started<br> Packet data handle: '1446139168'<br>[/dev/cdc-wdm0] Client ID not released:<br> Service: 'wds'<br> CID: '15'<br>root@al05p2:~# /usr/bin/qmicli -p -d /dev/cdc-wdm0 --wds-get-packet-service-status<br>[/dev/cdc-wdm0] Connection status: 'connected'<br>root@al05p2:~# /sbin/udhcpc -q -O mtu -f -S -n -i wwan0<br>udhcpc: started, v1.30.1<br>udhcpc: sending discover<br>udhcpc: sending select for 21.148.240.36<br>udhcpc: lease of 21.148.240.36 obtained, lease time 7200<br>ip: RTNETLINK answers: File exists<br>root@al05p2:~# /sbin/ip route add 10.88.1.78 dev wwan0<br>root@al05p2:~# ping -c 20 10.88.1.78<br>PING 10.88.1.78 (10.88.1.78) 56(84) bytes of data.<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=1 ttl=54 time=23.9 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=2 ttl=54 time=19.5 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=3 ttl=54 time=15.4 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=4 ttl=54 time=20.1 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=5 ttl=54 time=13.5 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=6 ttl=54 time=19.5 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=7 ttl=54 time=12.5 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=8 ttl=54 time=20.5 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=9 ttl=54 time=13.5 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=10 ttl=54 time=19.8 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=11 ttl=54 time=13.2 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=12 ttl=54 time=20.1 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=13 ttl=54 time=13.2 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=14 ttl=54 time=20.2 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=15 ttl=54 time=21.5 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=16 ttl=54 time=18.5 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=17 ttl=54 time=20.0 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=18 ttl=54 time=19.5 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=19 ttl=54 time=20.6 ms<br>64 bytes from <a href="http://10.88.1.78">10.88.1.78</a>: icmp_seq=20 ttl=54 time=17.5 ms<br><br>--- 10.88.1.78 ping statistics ---<br>20 packets transmitted, 20 received, 0% packet loss, time 19018ms<br>rtt min/avg/max/mdev = 12.518/18.131/23.868/3.256 ms<br>root@al05p2:~# /usr/bin/qmicli -p -d /dev/cdc-wdm0 --wds-stop-network=1446139168 --client-cid=15<br>Network cancelled... releasing resources<br>[/dev/cdc-wdm0] Network stopped<br>root@al05p2:~# /usr/bin/qmicli -p -d /dev/cdc-wdm0 --wds-get-packet-service-status<br>[/dev/cdc-wdm0] Connection status: 'disconnected'<br>root@al05p2:~# <br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 17, 2020 at 5:57 PM Sebastian Sjoholm <<a href="mailto:sebastian.sjoholm@gmail.com">sebastian.sjoholm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>This need to be re-tested as I have some issues with the latest version.</div><div><br></div><div>However, the USB id that is in the attached source of the SimCom driver does not match the SIM8200 listed here, maybe something that might change.</div><div><br></div><div>Noted that the wMaxPacketSize has grown from 512bytes to 1024bytes compared from the earlier version.</div><div><br></div><div>the lsusb printouts;</div><div><br></div><div>root@al05p3:~# lsusb<br>Bus 002 Device 002: ID 05c6:90db Qualcomm, Inc. SDXPRAIRIE-MTP _SN:D19C4AC3<br>Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub<br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>root@al05p3:~# lsusb -d 05c6:90db -v<br><br>Bus 002 Device 002: ID 05c6:90db Qualcomm, Inc. SDXPRAIRIE-MTP _SN:D19C4AC3<br>Device Descriptor:<br> bLength 18<br> bDescriptorType 1<br> bcdUSB 3.20<br> bDeviceClass 0<br> bDeviceSubClass 0<br> bDeviceProtocol 0<br> bMaxPacketSize0 9<br> idVendor 0x05c6 Qualcomm, Inc.<br> idProduct 0x90db<br> bcdDevice 4.14<br> iManufacturer 1 QCOM<br> iProduct 2 SDXPRAIRIE-MTP _SN:D19C4AC3<br> iSerial 3 12345678<br> bNumConfigurations 1<br> Configuration Descriptor:<br> bLength 9<br> bDescriptorType 2<br> wTotalLength 0x00ee<br> bNumInterfaces 6<br> bConfigurationValue 1<br> iConfiguration 4 DIAG_SER_RMNET_DPL_QDSS_ADB<br> bmAttributes 0x80<br> (Bus Powered)<br> MaxPower 896mA<br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 0<br> bAlternateSetting 0<br> bNumEndpoints 2<br> bInterfaceClass 255 Vendor Specific Class<br> bInterfaceSubClass 255 Vendor Specific Subclass<br> bInterfaceProtocol 48<br> iInterface 0<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x81 EP 1 IN<br> bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0400 1x 1024 bytes<br> bInterval 0<br> bMaxBurst 0<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x01 EP 1 OUT<br> bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0400 1x 1024 bytes<br> bInterval 0<br> bMaxBurst 0<br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 1<br> bAlternateSetting 0<br> bNumEndpoints 3<br> bInterfaceClass 255 Vendor Specific Class<br> bInterfaceSubClass 0<br> bInterfaceProtocol 0<br> iInterface 0<br> ** UNRECOGNIZED: 05 24 00 10 01<br> ** UNRECOGNIZED: 05 24 01 00 00<br> ** UNRECOGNIZED: 04 24 02 02<br> ** UNRECOGNIZED: 05 24 06 00 00<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x83 EP 3 IN<br> bmAttributes 3<br> Transfer Type Interrupt<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x000a 1x 10 bytes<br> bInterval 9<br> bMaxBurst 0<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x82 EP 2 IN<br> bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0400 1x 1024 bytes<br> bInterval 0<br> bMaxBurst 0<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x02 EP 2 OUT<br> bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0400 1x 1024 bytes<br> bInterval 0<br> bMaxBurst 0<br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 2<br> bAlternateSetting 0<br> bNumEndpoints 3<br> bInterfaceClass 255 Vendor Specific Class<br> bInterfaceSubClass 255 Vendor Specific Subclass<br> bInterfaceProtocol 255 Vendor Specific Protocol<br> iInterface 5 CDEV Serial<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x84 EP 4 IN<br> bmAttributes 3<br> Transfer Type Interrupt<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0008 1x 8 bytes<br> bInterval 9<br> bMaxBurst 0<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x8e EP 14 IN<br> bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0400 1x 1024 bytes<br> bInterval 0<br> bMaxBurst 6<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x0f EP 15 OUT<br> bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0400 1x 1024 bytes<br> bInterval 0<br> bMaxBurst 2<br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 3<br> bAlternateSetting 0<br> bNumEndpoints 1<br> bInterfaceClass 255 Vendor Specific Class<br> bInterfaceSubClass 255 Vendor Specific Subclass<br> bInterfaceProtocol 255 Vendor Specific Protocol<br> iInterface 6 DPL Data<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x8f EP 15 IN<br> bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0400 1x 1024 bytes<br> bInterval 0<br> bMaxBurst 1<br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 4<br> bAlternateSetting 0<br> bNumEndpoints 1<br> bInterfaceClass 255 Vendor Specific Class<br> bInterfaceSubClass 255 Vendor Specific Subclass<br> bInterfaceProtocol 255 Vendor Specific Protocol<br> iInterface 7 QDSS DATA<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x85 EP 5 IN<br> bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0400 1x 1024 bytes<br> bInterval 0<br> bMaxBurst 1<br> Interface Descriptor:<br> bLength 9<br> bDescriptorType 4<br> bInterfaceNumber 5<br> bAlternateSetting 0<br> bNumEndpoints 2<br> bInterfaceClass 255 Vendor Specific Class<br> bInterfaceSubClass 66<br> bInterfaceProtocol 1<br> iInterface 8 ADB Interface<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x03 EP 3 OUT<br> bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0400 1x 1024 bytes<br> bInterval 0<br> bMaxBurst 0<br> Endpoint Descriptor:<br> bLength 7<br> bDescriptorType 5<br> bEndpointAddress 0x86 EP 6 IN<br> bmAttributes 2<br> Transfer Type Bulk<br> Synch Type None<br> Usage Type Data<br> wMaxPacketSize 0x0400 1x 1024 bytes<br> bInterval 0<br> bMaxBurst 0<br>Binary Object Store Descriptor:<br> bLength 5<br> bDescriptorType 15<br> wTotalLength 0x002a<br> bNumDeviceCaps 3<br> USB 2.0 Extension Device Capability:<br> bLength 7<br> bDescriptorType 16<br> bDevCapabilityType 2<br> bmAttributes 0x00000006<br> BESL Link Power Management (LPM) Supported<br> SuperSpeed USB Device Capability:<br> bLength 10<br> bDescriptorType 16<br> bDevCapabilityType 3<br> bmAttributes 0x00<br> wSpeedsSupported 0x000f<br> Device can operate at Low Speed (1Mbps)<br> Device can operate at Full Speed (12Mbps)<br> Device can operate at High Speed (480Mbps)<br> Device can operate at SuperSpeed (5Gbps)<br> bFunctionalitySupport 1<br> Lowest fully-functional device speed is Full Speed (12Mbps)<br> bU1DevExitLat 1 micro seconds<br> bU2DevExitLat 500 micro seconds<br> SuperSpeedPlus USB Device Capability:<br> bLength 20<br> bDescriptorType 16<br> bDevCapabilityType 10<br> bmAttributes 0x00000001<br> Sublink Speed Attribute count 1<br> Sublink Speed ID count 0<br> wFunctionalitySupport 0x1100<br> bmSublinkSpeedAttr[0] 0x000a4030<br> Speed Attribute ID: 0 10Gb/s Symmetric RX SuperSpeedPlus<br> bmSublinkSpeedAttr[1] 0x000a40b0<br> Speed Attribute ID: 0 10Gb/s Symmetric TX SuperSpeedPlus<br>can't get debug descriptor: Resource temporarily unavailable<br>Device Status: 0x0000<br> (Bus Powered)<br>root@al05p3:~#<br></div><div><br></div><div>Regards,</div><div>Sebastian</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 11, 2020 at 6:10 PM Sebastian Sjoholm <<a href="mailto:sebastian.sjoholm@gmail.com" target="_blank">sebastian.sjoholm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div>I have been using SIM8200AE with the mainline QMI_WWAN, just adding the USB id in as qmi_fixed_intf. But I haven't been able to run it that much.</div><div><br></div><div>Regards,</div><div>Sebastian</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 11, 2020 at 5:27 PM Aleksander Morgado <<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey Bjørn,<br>
<br>
Looks like Simcom shares a driver with their users for their SDX55<br>
based module; any idea if this is truly necessary?<br>
<a href="https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/209" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/209</a><br>
<br>
It looks like it just forces the interface to be raw-ip, but I assume<br>
this is already handled by userspace as usual.<br>
<br>
-- <br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
_______________________________________________<br>
libqmi-devel mailing list<br>
<a href="mailto:libqmi-devel@lists.freedesktop.org" target="_blank">libqmi-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/libqmi-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/libqmi-devel</a><br>
</blockquote></div><div><br></div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><br></div></div></div></div></div></div>
</blockquote></div><div><br></div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><br></div></div></div></div></div></div>
</blockquote></div></div>