MC7430 QMI SDK problem

I recently encountered this problem with mc7430.

Linuxd QMI drivers:S2.34N2.53
SDK: SLQS04.00.15

The driver generate qcqmi0 and qcqmi1
GobiNet : RawIP mode

It show messages as below while I run the sample code Connection_Manager.
/bin/connectionmgrmipsel /bin/slqssdk 0

SWI API: SDK process startup failed
Failed to start SDK : Exiting App
Failure Code : 2

I don’t know what went wrong, I hope to get answers.

Thanks.

@Loo,

Can you see what the attirbutes of both the /dev/qcqmi interfaces and the SDK (slqssdk) file itself are for the user that is currently logged in i.e. ls -l?

Regards

Matt

~ # [ 507.970000] usb 1-1.4: new high-speed USB device number 5 using xhci-hcd
[ 508.070000] usb 1-1.4: config 1 has an invalid interface number: 8 but max is 4
[ 508.070000] usb 1-1.4: config 1 has an invalid interface number: 10 but max is 4
[ 508.080000] usb 1-1.4: config 1 has no interface number 1
[ 508.090000] usb 1-1.4: config 1 has no interface number 4
[ 508.090000] usb 1-1.4: New USB device found, idVendor=1199, idProduct=9071
[ 508.100000] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 508.110000] usb 1-1.4: Product: Sierra Wireless MC7430 Qualcomm® Snapdragon™ X7 LTE-A
[ 508.110000] usb 1-1.4: Manufacturer: Sierra Wireless, Incorporated
[ 508.120000] usb 1-1.4: SerialNumber: LU60930110041010
[ 508.360000] GobiSerial 1-1.4:1.0: GobiSerial converter detected
[ 508.370000] usb 1-1.4: GobiSerial converter now attached to ttyUSB4
[ 508.420000] GobiSerial 1-1.4:1.2: GobiSerial converter detected
[ 508.430000] usb 1-1.4: GobiSerial converter now attached to ttyUSB5
[ 508.480000] GobiSerial 1-1.4:1.3: GobiSerial converter detected
[ 508.490000] usb 1-1.4: GobiSerial converter now attached to ttyUSB6

[ 508.540000] GobiNet 1-1.4:1.8 eth1: register ‘GobiNet’ at usb-xhci-hcd-1.4, GobiNet Ethernet Device, de:28:d7:e5:97:19
[ 508.570000] USB Speed : USB 2.0
[ 508.660000] GobiNet 1-1.4:1.10 eth2: register ‘GobiNet’ at usb-xhci-hcd-1.4, GobiNet Ethernet Device, de:28:d7:e5:97:19
[ 508.690000] USB Speed : USB 2.0
[ 508.840000] GobiNet 1-1.4:1.8 wwan: renamed from eth1
[ 523.420000] creating qcqmi0
[ 523.420000] RawIP mode
[ 529.280000] creating qcqmi1
[ 529.280000] RawIP mode

/sys/devices/platform/xhci-hcd/usb1/1-1/1-1.4/1-1.4:1.8/GobiQMI/qcqmi0
/sys/class/GobiQMI/qcqmi0
/proc/qcqmi0
/dev/qcqmi0

/sys/devices/platform/xhci-hcd/usb1/1-1/1-1.4/1-1.4:1.10/GobiQMI/qcqmi1
/sys/class/GobiQMI/qcqmi1
/proc/qcqmi1
/dev/qcqmi1

~ # ll /dev/ |grep qcq*
crw-rw---- 1 root root 252, 0 Jan 1 00:08 qcqmi0
crw-rw---- 1 root root 251, 0 Jan 1 00:08 qcqmi1

~ # ll /usr/sbin/slqssdk
-rwxr-xr-x 1 root root 954516 Nov 8 2018 /usr/sbin/slqssdk

~ # file slqssdk
slqssdk: ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1, statically linked, for GNU/Linux 2.6.12, not stripped

My previous account was restricted to reply. I re-registered an account to reply to you. The log information is as follows:

~ # [ 507.970000] usb 1-1.4: new high-speed USB device number 5 using xhci-hcd
[ 508.070000] usb 1-1.4: config 1 has an invalid interface number: 8 but max is 4
[ 508.070000] usb 1-1.4: config 1 has an invalid interface number: 10 but max is 4
[ 508.080000] usb 1-1.4: config 1 has no interface number 1
[ 508.090000] usb 1-1.4: config 1 has no interface number 4
[ 508.090000] usb 1-1.4: New USB device found, idVendor=1199, idProduct=9071
[ 508.100000] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 508.110000] usb 1-1.4: Product: Sierra Wireless MC7430 Qualcomm® Snapdragon™ X7 LTE-A
[ 508.110000] usb 1-1.4: Manufacturer: Sierra Wireless, Incorporated
[ 508.120000] usb 1-1.4: SerialNumber: LU60930110041010
[ 508.360000] GobiSerial 1-1.4:1.0: GobiSerial converter detected
[ 508.370000] usb 1-1.4: GobiSerial converter now attached to ttyUSB4
[ 508.420000] GobiSerial 1-1.4:1.2: GobiSerial converter detected
[ 508.430000] usb 1-1.4: GobiSerial converter now attached to ttyUSB5
[ 508.480000] GobiSerial 1-1.4:1.3: GobiSerial converter detected
[ 508.490000] usb 1-1.4: GobiSerial converter now attached to ttyUSB6

[ 508.540000] GobiNet 1-1.4:1.8 eth1: register ‘GobiNet’ at usb-xhci-hcd-1.4, GobiNet Ethernet Device, de:28:d7:e5:97:19
[ 508.570000] USB Speed : USB 2.0
[ 508.660000] GobiNet 1-1.4:1.10 eth2: register ‘GobiNet’ at usb-xhci-hcd-1.4, GobiNet Ethernet Device, de:28:d7:e5:97:19
[ 508.690000] USB Speed : USB 2.0
[ 508.840000] GobiNet 1-1.4:1.8 wwan: renamed from eth1
[ 523.420000] creating qcqmi0
[ 523.420000] RawIP mode
[ 529.280000] creating qcqmi1
[ 529.280000] RawIP mode

/sys/devices/platform/xhci-hcd/usb1/1-1/1-1.4/1-1.4:1.8/GobiQMI/qcqmi0
/sys/class/GobiQMI/qcqmi0
/proc/qcqmi0
/dev/qcqmi0

/sys/devices/platform/xhci-hcd/usb1/1-1/1-1.4/1-1.4:1.10/GobiQMI/qcqmi1
/sys/class/GobiQMI/qcqmi1
/proc/qcqmi1
/dev/qcqmi1

~ # ll /dev/ |grep qcq*
crw-rw---- 1 root root 252, 0 Jan 1 00:08 qcqmi0
crw-rw---- 1 root root 251, 0 Jan 1 00:08 qcqmi1

~ # ll /usr/sbin/slqssdk
-rwxr-xr-x 1 root root 954516 Nov 8 2018 /usr/sbin/slqssdk

~ # file slqssdk
slqssdk: ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1, statically linked, for GNU/Linux 2.6.12, not stripped

@mlw,

What did I do wrong? I couldn’t start SDK.

Regards

@Looo,

Not sure why the SDK is not running, do you know if it is built correctly for your system, i.e. some systems need slightly different command sets which means it needs to be rebuilt for the system tool chain.

Regards

Matt

@mlw
thank you for your reply.
My tool tool chain is mipsel-74kc-linux-gnu. I am currently using sdk: SLQS04.00.15.bin\build\bin\mipsel\slqssdk.
The program used is :SLQS04.00.15.bin\SampleApps\Connection_Manager\bin\connectionmgrmipsel
Do I need to provide a toolchain for sierra wireless to recompile a sdk for me?

Regards

@Loo,

If you want a specific build to be generated then yes you will need us to rebuild it for you with your toolchain. You are going to need to push this back through your distributor to do this.

Regards

Matt

@mlw

I sent it to the distributor, and the recompiled sdk is ready to run. Thanks.

Regards