Hello team!
I’m cross-posting here from Sixfab’s forum [link] to get some assistance with this issue on my IoT project…
Long story short: My EP06-E is unable to detect the SIM card inserted in my Sixfab LTE HAT
Simply followed Sixfab’s guide to get Internet connectivity here: QMI Interface Internet Connection Setup Using Sixfab Shield/HAT | docs.sixfab.com
Except that after running the ./quectel-CM
script to get the interface up, the log shows requestGetSIMStatus SIMStatus: SIM_ABSENT
.
root@raspberrypi:/home/pi/files/quectel-CM# ./quectel-CM -s internet.emt.ee
[07-13_17:27:43:124] Quectel_QConnectManager_Linux_V1.6.0.12
[07-13_17:27:43:126] Find /sys/bus/usb/devices/1-1.1 idVendor=0x2c7c idProduct=0x306, bus=0x001, dev=0x003
[07-13_17:27:43:126] Auto find qmichannel = /dev/cdc-wdm0
[07-13_17:27:43:126] Auto find usbnet_adapter = wwan0
[07-13_17:27:43:126] netcard driver = qmi_wwan, driver version = 5.10.17-v7l+
[07-13_17:27:43:127] ioctl(0x89f3, qmap_settings) failed: Operation not supported, rc=-1
[07-13_17:27:43:127] Modem works in QMI mode
[07-13_17:27:43:146] cdc_wdm_fd = 7
[07-13_17:27:43:468] Get clientWDS = 20
[07-13_17:27:43:532] Get clientDMS = 1
[07-13_17:27:43:596] Get clientNAS = 2
[07-13_17:27:43:660] Get clientUIM = 2
[07-13_17:27:43:724] Get clientWDA = 1
[07-13_17:27:43:788] requestBaseBandVersion EP06ELAR03A06M4G
[07-13_17:27:44:044] requestGetSIMStatus SIMStatus: SIM_ABSENT
[07-13_17:27:44:044] requestSetProfile[1] internet.emt.ee///0
[07-13_17:27:44:174] requestGetProfile[1] internet.emt.ee///0
[07-13_17:27:44:236] requestRegistrationState2 MCC: 248, MNC: 1, PS: Detached, DataCap: UNKNOW
[07-13_17:27:44:300] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[07-13_17:27:44:300] ifconfig wwan0 down
[07-13_17:27:44:316] ifconfig wwan0 0.0.0.0
^C[07-13_17:27:53:421] QmiWwanThread exit
[07-13_17:27:53:422] qmi_main exit
root@raspberrypi:/home/pi/files/quectel-CM#
And AT+CPIN?
is also saying that the SIM card is missing, returning +CME ERROR: 10
:
root@raspberrypi:~# dmesg | grep tty
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60 smsc95xx.macaddr=DC:A6:32:A3:A7:B0 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=9730496b-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[ 0.001835] printk: console [tty1] enabled
[ 1.669996] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2
[ 5.504293] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0
[ 5.511920] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB1
[ 5.519929] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB2
[ 5.533264] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB3
root@raspberrypi:~# sudo minicom -b 115200 -D /dev/ttyUSB2
Welcome to minicom 2.7.1
OPTIONS: I18n
Compiled on Aug 13 2017, 15:25:34.
Port /dev/ttyUSB2, 17:26:09
Press CTRL-A Z for help on special keys
AT
OK
ATI
Quectel
EP06
Revision: EP06ELAR03A06M4G
OK
AT+CPIN?
+CME ERROR: 10
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7.1 | VT102 | Offline | ttyUSB2
On a related note, I have another LTE module, Telit’s LE910-EU V2 with which I’m experiencing no issue: the SIM card is properly detected and I have Internet over PPP, using the same LTE HAT.
What am I missing here? This should be simply working according to the instructions but the EP06-E is failing to recognize the SIM card… Any help would be greatly appreciated, thanks in advance.