AirPrime EM7430 Issue

Facing a bit of issue with Sierra Wireless AirPrime EM7430. It’s added in device which has internal sim slot and USB ports as well. The device has Ubuntu 14.04 OS server and we SSH to it. Now, for the USB port, I can connect modem ( using libqmi-utils) , device file cdc-wdm0 will be created, interface wwan0 will be added and IP address can be assigned to it.

However, with the internal sim slot, we insert sim and no device file looks to come up. Nothing comes in dmesg. We have tried loading GobiSerial, GobiNet for it and ran wvdial. However, just the interface ppp0 will be created and no IP address assigned to it. On further review, it looks like ppp does not work with GobiSerial in a proper way.

Could someone please guide me towards what needs to be done? Any additional information needed, please let me know.

Thanks.

@prithvi,

Can you see any /dev/ttyUSB ports when running the GobiSerial driver? If so then can you send the following commands to it?

ati
at!gstatus?
at!cpin?
at!cpinfo?

If there is some form of SIM switch between the holder and the unit meaning it cannot see the SIM then you are not going to get very far.

Regards

Matt

You guys should use GobiNet for data instead of ppp (serial).
Much faster.

Here is an example to bringup data on Ubuntu (4-4-0-98) with MC7455
Same is applicable to MC73xx.

Disable modem-manager

Insert GobiNet and GobiSerial

##Plug in the modem and verify with “lsusb” that the modem is connected to the USB BUS
##This can be done even before the driver is loaded

sudo su
lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 003 Device 025: ID 1199:9071 Sierra Wireless, Inc. < ------- Sierra modem
Bus 003 Device 002: ID 5986:0295 Acer, Inc
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##check modem enumeration with dmesg

[619215.016262] usb 3-6: new high-speed USB device number 25 using xhci_hcd
[619215.145436] usb 3-6: config 1 has an invalid interface number: 8 but max is 3
[619215.145445] usb 3-6: config 1 has no interface number 1
[619215.146071] usb 3-6: New USB device found, idVendor=1199, idProduct=9071
[619215.146080] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[619215.146085] usb 3-6: Product: Sierra Wireless MC7455 Qualcomm® Snapdragon™ X7 LTE-A
[619215.146089] usb 3-6: Manufacturer: Sierra Wireless, Incorporated
[619215.146093] usb 3-6: SerialNumber: LQ61430015021006
[619215.147481] GobiSerial 3-6:1.0: GobiSerial converter detected
[619215.147663] usb 3-6: GobiSerial converter now attached to ttyUSB0
[619215.148234] GobiSerial 3-6:1.2: GobiSerial converter detected
[619215.148446] usb 3-6: GobiSerial converter now attached to ttyUSB1
[619215.149145] GobiSerial 3-6:1.3: GobiSerial converter detected
[619215.149352] usb 3-6: GobiSerial converter now attached to ttyUSB2
[619215.150261] GobiNet 3-6:1.8 eth0: register ‘GobiNet’ at usb-0000:00:14.0-6, GobiNet Ethernet Device, e6:9a:54:59:09:2d
[619215.150628] USB Speed : USB 2.0
[619215.178947] GobiNet 3-6:1.8 enp0s20u6i8: renamed from eth0
[619231.652175] TE Flow Control Enabled
[619232.588177] creating qcqmi0
[619232.588426] RawIP mode

##Note: make sure to compile the driver with RawIP – set the makefile to rawip under GobiNet directory
##the Kernel renames the interface from eth0 to enp0s20u6i8, we have to use this interface

Login to the AT port:
microcom -p /dev/ttyUSB2 -s 115200
connected to /dev/ttyUSB2
Escape character: Ctrl-
Type the escape character followed by c to get to the menu or q to quit
ati
Manufacturer: Sierra Wireless, Incorporated
Model: MC7455
Revision: SWI9X30C_02.24.05.06 r7040 CARMD-EV-FRMWR2 2017/05/19 06:23:09
MEID: A000006FE803DB
ESN: 12802823658, 802B15EA
IMEI: 359072060113087
IMEI SV: 12
FSN: LQ614300150210
+GCAP: +CGSM

OK
at!gstatus?
!GSTATUS:
Current Time: 1050 Temperature: 25
Reset Counter: 2 Mode: ONLINE
System mode: LTE PS state: Attached
LTE band: B4 LTE bw: 15 MHz
LTE Rx chan: 2325 LTE Tx chan: 20325
LTE CA state: NOT ASSIGNED
EMM state: Registered Normal Service
RRC state: RRC Idle
IMS reg state: Full Srv IMS mode: Normal

PCC RxM RSSI: -55 RSRP (dBm): -84
PCC RxD RSSI: -58 RSRP (dBm): -89
Tx Power: 0 TAC: 3604 (13828)
RSRQ (dB): -10.5 Cell ID: 00D6290C (14035212)
SINR (dB): 19.4

OK
##Note: modem is attached to the NTWK
##if not attached don’t try to bringup the data session between the host & modem

at+cgdcont?
+CGDCONT: 1,“IPV4V6”,“vzwims”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0
+CGDCONT: 2,“IPV4V6”,“vzwadmin”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0
+CGDCONT: 3,“IPV4V6”,“VZWINTERNET”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0
+CGDCONT: 4,“IPV4V6”,“vzwapp”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0
+CGDCONT: 5,“IPV4V6”,“vzw800”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0
+CGDCONT: 6,“IPV4V6”,“vzwclass6”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0

OK
at+cgcontrdp
+CGCONTRDP: 1,5,vzwims,38.0.16.18.17.92.67.44.93.225.77.204.158.49.92.66, 254.128.0.0.0.0.0.0.0.0.0.0.0.0.0.1, 32.1.72.136.0.101.255.0.6.46.0.13.0.0.0.0, 32.1.72.136.0.100.255.0.6.32.0.13.0.0.0.0,32.1.72.136.0.5.113.58.0.224.1.4.0.0.1.29,32.1.72.136.0.5.113.58.0.224.1.4.0.0.0.117

##Note: this is a Verizon modem , (PDN1) VZWIMS is the default attach profile, but data is on PDN3

OK
at+cgpiaf=1
OK
at+cgcontrdp
+CGCONTRDP: 1,5,vzwims,2600:1012:115C:432C:5DE1:4DCC:9E31:5C42, FE80:0:0:0:0:0:0:1, 2001:4888:65:FF00:62E:D:0:0, 2001:4888:64:FF00:620:D:0:0,2001:4888:5:713A:E0:104:0:11D,2001:4888:5:713A:E0:104:0:75

OK

at!scact=1
OK
at+cgcontrdp
+CGCONTRDP: 1,5,vzwims,2600:1012:115C:432C:5DE1:4DCC:9E31:5C42, FE80:0:0:0:0:0:0:1, 2001:4888:65:FF00:62E:D:0:0, 2001:4888:64:FF00:620:D:0:0,2001:4888:5:713A:E0:104:0:11D,2001:4888:5:713A:E0:104:0:75
+CGCONTRDP: 3,6,VZWINTERNET,100.114.158.6,2600:1012:B143:2AF0:0:36:4E86:A01,0.255.101.0 FE80:0:0:0:0:36:4E86:A40,198.224.171.135 2001:4888:65:FF00:62E:D:0:0,198.224.169.135 2001:4888:64:FF00:620:D:0:0

OK

##at!scact=1 will bringup the default DATA profile
##on a VZW modem it is on PDN3
##ATT, GENERIC uses PDN1

##close the AT port

On Linux shell:
#dhclient enp0s20u6i8
#ifconfig enp0s20u6i8
enp0s20u6i8 Link encap:Ethernet HWaddr 3e:bd:20:44:e5:cc
inet addr:100.114.158.6 Bcast:100.114.158.7 Mask:255.255.255.252
inet6 addr: fe80::3cbd:20ff:fe44:e5cc/64 Scope:Link
inet6 addr: 2600:1012:b143:2af0:3cbd:20ff:fe44:e5cc/64 Scope:Global
inet6 addr: 2600:1012:b143:2af0:908:dc70:a4f0:7af9/64 Scope:Global
UP BROADCAST RUNNING NOARP MULTICAST MTU:1428 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:776 (776.0 B) TX bytes:712 (712.0 B)

route add 8.8.8.8 enp0s20u6i8
ping -c2 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=118 time=221 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=118 time=36.1 ms

— 8.8.8.8 ping statistics —
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 36.135/128.695/221.255/92.560 ms

#of course I’m only adding 8.8.8.8 to the route.
#you may need to add your own routes
#for name resolution /etc/resolv.conf must be populated with a nameserver