Dear all,
Can you please help me to get MC7455 to run on my embedded plattform. Due to some other restrictions and dependencies, I am running an older 3.4.113 Kernel. An upgrade to mainline is currently not possible, so I am not able to use QMI and MBIM kernel driver support. I successfully installed GOBI drivers (version 2017-07-06/SWI_2.44). When I use the ConnectionManager sample application from the SDK it says “LTE Data Session started successfully”, but the ip link device does not become read (Link state/opstate down). Can you please help me?
$ uname -a
Linux smart-platform-02 3.4.113-sun8i #4 SMP PREEMPT Tue Aug 15 14:29:28 CEST 2017 armv7l GNU/Linux
$ ls /dev/qc*
/dev/qcqmi0 /dev/qcqmi1
$ lsusb -t
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=sunxi-ehci/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=GobiSerial, 480M
|__ Port 1: Dev 2, If 3, Class=Vendor Specific Class, Driver=qcserial, 480M
|__ Port 1: Dev 2, If 8, Class=Vendor Specific Class, Driver=GobiNet, 480M
|__ Port 1: Dev 2, If 10, Class=Vendor Specific Class, Driver=GobiNet, 480M
$ sudo ./connectionmgrarm ../../../build/bin/arm/slqssdk 0
Instance ID :0
Session StateV4:1
Session StateV6:1
Instance ID :1
Session StateV4:1
Session StateV6:1
Please select one of the following options or press <Enter> to exit:
1. Start UMTS Data Session
2. Start LTE Data Session
3. Start CDMA Data Session
4. Start RUIM data session
5. Stop the currently active Data Session
6. Display all the profiles stored on the device
7. Display the settings for a particular profile stored on the device
8. Create a Profile on the device
9. Modify the settings of an existing profile stored on the device
10. Delete a profile stored on the device
11. Power cycle the device
12. Set Device Power Mode
13. Qos testing
Option : 2
1. IPV4 (default)
2. IPV6
3. IPV4V6
Please select IP family preference for the call, or press <Enter> to exit: 1
ID PDPType IPAddress PrimaryDNS SecondaryDNS Auth ProfileName APNName UserName
1 3 0.0.0.0 0.0.0.0 0.0.0.0 0 internet.telekom
Please provide a profile id(1-16), or press <Enter> to exit: 1
LTE Data Session started successfully
To check if device is ready and up i run in a parallel session:
# ip link
...
eth1: <NO-CARRIER,BROADCAST,MULTICAST,NOARP,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
eth2: <NO-CARRIER,BROADCAST,MULTICAST,NOARP,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
## alternatively
# cat /sys/bus/usb/devices/3-1:1.8/net/eth1/operstate
down
# cat /sys/bus/usb/devices/3-1:1.10/net/eth2/operstate
down
the atdevice/modem itself seems to work correctly.
# screen /dev/ttyUSB0
ati
Manufacturer: Sierra Wireless, Incorporated
Model: MC7455
Revision: SWI9X30C_02.24.03.00 r6978 CARMD-EV-FRMWR2 2017/03/02 13:36:45
MEID: XXXXXXXXXXXXXXXXXX
IMEI: XXXXXXXXXXXXXXXXXX
IMEI SV: XXXXXXXXXXXXXXXXXX
FSN: XXXXXXXXXXXXXXXXXX
+GCAP: +CGSM
OK
at!gstatus?
!GSTATUS:
Current Time: 219 Temperature: 34
Reset Counter: 1 Mode: ONLINE
System mode: LTE PS state: Attached
LTE band: B3 LTE bw: 20 MHz
LTE Rx chan: 1300 LTE Tx chan: 19300
LTE CA state: NOT ASSIGNED
EMM state: Registered Normal Service
RRC state: RRC Idle
IMS reg state: No Srv
PCC RxM RSSI: -58 RSRP (dBm): -90
PCC RxD RSSI: -61 RSRP (dBm): -93
Tx Power: 0 TAC: 34BB (13499)
RSRQ (dB): -11.6 Cell ID: 01C07902 (29391106)
SINR (dB): 9.0
OK
at!lteinfo
!LTEINFO:
Serving: EARFCN MCC MNC TAC CID Bd D U SNR PCI RSRQ RSRP RSSI RXLV
1300 262 01 13499 01C07902 3 5 5 6 353 -12.4 -90.0 -57.7 32
IntraFreq: PCI RSRQ RSRP RSSI RXLV
353 -12.4 -90.0 -57.7 32
351 -10.4 -93.3 -72.3 32
InterFreq: EARFCN ThresholdLow ThresholdHi Priority PCI RSRQ RSRP RSSI RXLV
3050 0 16 5 426 -7.9 -113.5 -96.6 8
3050 0 16 5 362 -12.6 -123.2 -101.7 -2
3050 0 16 5 490 -16.2 -124.7 -99.5 -3
6400 0 16 4 210 -10.8 -99.4 -79.4 22
6400 0 16 4 476 -11.9 -100.7 -79.5 21
6400 0 16 4 486 -13.5 -105.8 -83.3 16
GSM: ThreshL ThreshH Prio NCC ARFCN 1900 valid BSIC RSSI RXLV
WCDMA: UARFCN ThreshL ThreshH Prio PSC RSCP ECN0 RXLV
CDMA 1x: Chan BC Offset Phase Str
CDMA HRPD: Chan BC Offset Phase Str
OK
at+cgpaddr
+CGPADDR: 1,10.234.244.184,42.1.5.152.153.138.145.184.0.1.0.1.117.145.83.205
Setting the address returned by at+cgpaddr manually didn’t help
# ip link set dev eth1 up
# ip addr add 10.234.244.184 dev eth1
# ip route add default dev eth1
# ping 8.8.8.8 -n 10
## -> fails
Can you please help me?