MC7430 Android QMI not connecting

Hi,

Im trying connect from sierra RIL ((Android 7.1.1) over QMI to my MC7430
Im using USB OTG port in my Android device.

In RIL logs I see all the time:
QCWWAN2kEnumerateDevices unable to find device… 6

In kernel I see those under /dev:
crw-rw---- 1 radio radio 218, 0 2018-07-12 16:30 qcqmi0
crw-rw---- 1 radio radio 217, 0 2018-07-12 16:30 qcqmi1

crw-rw---- 1 bluetooth bluetooth 188, 0 2018-07-12 16:30 ttyUSB0
crw-rw---- 1 radio radio 188, 1 2018-07-12 16:30 ttyUSB1
crw-rw---- 1 radio radio 188, 2 2018-07-12 16:30 ttyUSB2

From GobiNet Logs:
01-02 07:25:20.270 [168:579212] I/GobiNet ( 0): :GobiNetDriverBind(4) in 86, out 4
01-02 07:25:20.288 [168:579360] I/GobiNet 1-1( 0): 1.8 wwan0: register ‘GobiNet’ at usb-xhci-hcd.0.auto-1, GobiNet Ethernet Device, 12:0c:9c:73:48:e2
01-02 07:25:20.289 [168:583222] I/GobiNet ( 0): :GobiUSBNetProbe(4) Mac Address:
01-02 07:25:20.289 [168:583271] I/GobiNet ( 0): :PrintHex(4) : 12 0C 9C 73 48 08
01-02 07:25:20.289 [168:583307] I/GobiNet ( 0): :ClearTaskID(4) ClearTaskID iTaskID(0)
01-02 07:25:20.290 [168:583343] I/GobiNet ( 0): :GobiUSBNetProbe(4) 6GobiNet Thread : GobiNetThread:0 1:8
01-02 07:25:20.290 [168:583379] I/USB Speed( 0): USB 2.0
01-02 07:25:20.290 [168:583424] I/GobiNet ( 0): :thread_function(6749) Handle qcqmi(qcqmi0-1-1:1.8), task: 0

01-02 07:25:32.300 [180:724403] I/ ( 0): creating qcqmi0
01-02 07:25:32.301 [180:724448] I/ ( 0): RawIP mode

What can be the issue ?

Thanks,
Yossi

Hi Yossi,

From log

crw-rw---- 1 bluetooth bluetooth 188, 0 2018-07-12 16:30 ttyUSB0

ttyUSB0 belongs to bluetooth/bluetooth user/group, can you try set it back to radio/radio and see does issue improve?

Thx

Hi,

It seem to be problem in slqssdk.
It always show “drivers initializing…” after finding qcqmi0

For now I have a workaround for this:
I’m running manually the slqssdk form adb shell.
Only after that ,I starting the RIL-QMI. then RIL working and it connecting to modem.

It seems that when RIL running the slqssdk by itself, slqssdk not function well.

about the ttyUSB0, what is it purpose? it is not for DM logs?
anyway I will try to change it to radio/radio.

Thanks,
Yossi

Hi Yossi,

Thanks for testing.

Guess when you try run slqssdk from ADB, it actually run as root so it can access ttyUSB0 even it belongs to bluetooth/bluetooth.

But when it was ran by RIL, it is in radio user/group so failed to access ttyUSB0.

Thx

Hi Yossi,
Not sure you have any good news after set ttyUSB0 to radio/radio?

That should improve both slqssdk and RIL operation so you should no need to start it manually.

For ttyUSB0, yes it mainly for DM log, but required for slqssdk to work normal.

Thx