EM7565 stuck in QMI mode but only with one DIAG port

Hi! I realy need your help.

After my not quite competent conversion from full MBIM to QMI (but wrong mode),

AT!USBCOMP?
AT!USBCOMP=1,3,0101
AT!RESET

I have no way to change the modem composition and activate the AT port.
I have tried windows driver with changed parameters,

[Default Values]
SILENT=0
SS=1
MBBDRIVER=1
LOCATIONDRIVER=1
WIN8LOCATION=1
LOG=1
BUSDRIVER=1
WIN8BUSDRIVER=1
USBCOMP=8
CHECKFORDEVICE=0
GPS=1
GPSAUTO=1
GPSRADIO=1
DisableUsbCompAutoUpdate=1

With no luck.

This also

root@ImmortalWrt:~# qmicli -d /dev/cdc-wdm0 --dms-get-operating-mode
[/dev/cdc-wdm0] Operating mode retrieved:
        Mode: 'online'
        HW restricted: 'no'
root@ImmortalWrt:~# qmicli -d /dev/cdc-wdm0 --dms-swi-set-usb-composition=8
error: couldn't set USB composite modes: QMI protocol error (94): 'NotSupported'

Also I have reflashed firmware. Also no luck/changes.
Here additional hw info. I’d appreciate the help.
Thanks,
Aleksei

root@ImmortalWrt:~# lsusb -t -v
/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci-mtk/2p, 480M
 ID 1d6b:0002
/: Bus 002. Port 001: Dev 001, Class=root_hub, Driver=xhci-mtk/1p, 20000M/x2
 ID 1d6b:0003
 |__ Port 001: Dev 002, If 0, Class=[unknown], Driver=qcserial, 5000M/x2
 ID 1199:9091
 |__ Port 001: Dev 002, If 8, Class=[unknown], Driver=qmi_wwan, 5000M/x2
 ID 1199:9091
T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=5000 MxCh= 0
D:  Ver= 3.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs=  1
P:  Vendor=1199 ProdID=9091 Rev= 0.06
S:  Manufacturer=Sierra Wireless, Incorporated
S:  Product=Sierra Wireless EM7565 Qualcomm® Snapdragon™ X16 LTE-A
S:  SerialNumber=UF02910148031047
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=896mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=qcserial
E:  Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 8 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=32ms
E:  Ad=8e(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E:  Ad=0f(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms

Can you do AT command with the only port enumerated?
Can you see /dev/ttyUSBx port in linux?

not sure if it works if you change the USBCOMP to 9 in configuration.ini
You can double check:

Continuing the discussion from EM7565 stuck in QMI mode but only with one DIAG port:

Hi!

I already tried to modify configuration.ini and ran with following way:

GenericDriverSetup_5087.exe USBCOMP=8 DisableUsbCompAutoUpdate=1
GenericDriverSetup_5087.exe USBCOMP=6 DisableUsbCompAutoUpdate=1

In Linux and ImmortalWRT I can see only ttyUSB0 unfortunately.

Can you do AT command with the only port enumerated?

how about changing the USBCOMP to 9 in configuration.ini?

I have tried now. No luck. Just DM port.

ttyUSB0 not reacting for AT-commands.

probably you need to contact Sierra FAE to get a tool to configure it

How to reach this guys (Sierra FAE)? Maybe there are another approach to fix it?

how about changing the USBCOMP to 9 in configuration.ini and reinstall the windows driver?

(post deleted by author)

I have tried with no luck

You need to contact distributor to get a tool called setusbcomp.exe for em7565 module