EM7565 ubuntu 20.04 no usb1,2

Hello! I use em7565 and try to get GPS data. I downloaded and install R35 drivers but I have only ttyUSB0. I can use AT commands but another usb port doesn’t appear

what is the return of the following?

ati3
at!impref?
at!entercnd="A710"
at!usbcomp?
at!usbcomp=?

at!impref?
!IMPREF:
preferred fw version: 01.14.02.00
preferred carrier name: GENERIC
preferred config name: GENERIC_002.035_003
preferred subpri index: 000
current fw version: 01.14.02.00
current carrier name: GENERIC
current config name: GENERIC_002.035_003
current subpri index: 000

OK
at!entercnd=“A710”
OK
at!usbcomp?
Config Index: 1
Config Type: 3 (Generic)
Interface bitmask: 00000109 (diag,modem,rmnet0)

OK
at!usbcomp=?
!USBCOMP:
AT!USBCOMP=,,
- configuration index to which the composition applies, should be 1

- 1:MBIM USBIF, 2:PCIE USBIF, 3:Legacy-Generic, 4:RNDIS

- DIAG - 0x00000001,
NMEA - 0x00000004,
MODEM - 0x00000008,
RMNET0 - 0x00000100,
MBIM - 0x00001000,
e.g.
10D - diag, nmea, modem, rmnet interfaces enabled
1009 - diag, modem, mbim interfaces enabled

The default configuration is:
at!usbcomp=1,3,10F

OK

ati3
Manufacturer: Sierra Wireless, Incorporated
Model: EM7565
Revision: SWI9X50C_01.14.02.00 2e210b jenkins 2020/08/19 14:18:39
IMEI: 353533106090171
IMEI SV: 12
FSN: UF337278020410
+GCAP: +CGSM,+DS,+ES

you can try the followings:


AT!entercnd="A710"
at!usbcomp=1,3,10D
AT!reset

AT!entercnd=“A710”
OK
AT!reset
OK

but after reboot only USB0

what is “AT!USBCOMP?” now?

Config Index: 1
Config Type: 3 (Generic)
Interface bitmask: 0000010D (diag,nmea,modem,rmnet0)

does it happen in windows?
This can isolate if problem happens on your linux only

BTW, please post your dmesg in linux

on my tablet I have only linux

after first drivers install I get all three ports, but after reboot I get only usb0

please post your dmesg in linux for the first time installation and next power on

I’m sorry, but after first install I reinstall ubuntu, this is current dmesg.current.gz (21.1 KB)

This is my dmesg in ubuntu 18:
I found that the PID is 9091, not the same as yours


[   98.096071] usb 4-1: New USB device found, idVendor=1199, idProduct=9091
[   98.096073] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   98.096075] usb 4-1: Product: Sierra Wireless EM7565 Qualcomm® Snapdragon™ X16 LTE-A
[   98.096077] usb 4-1: Manufacturer: Sierra Wireless, Incorporated
[   98.096078] usb 4-1: SerialNumber: UF22173116012345
[   98.278129] usbcore: registered new interface driver usbserial
[   98.278406] usbcore: registered new interface driver usbserial_generic
[   98.278523] usbserial: USB Serial support registered for generic
[   98.304038] usbcore: registered new interface driver cdc_ncm
[   98.307337] usbcore: registered new interface driver cdc_wdm
[   98.308038] usb_wwan: loading out-of-tree module taints kernel.
[   98.308078] usb_wwan: module verification failed: signature and/or required key missing - tainting kernel
[   98.309428] usbcore: registered new interface driver qcserial
[   98.309436] usbserial: USB Serial support registered for Qualcomm USB modem
[   98.309443] usbserial: USB Serial support registered for Qualcomm USB modem
[   98.309463] [D]usb 4-1:Num Interfaces = 5
[   98.309464] [D]usb 4-1:This Interface = 0
[   98.309464] [D]usb 4-1:DM/DIAG interface found
[   98.313184] qcserial 4-1:1.0: Qualcomm USB modem converter detected
[   98.313523] usb 4-1: Qualcomm USB modem converter now attached to ttyUSB0
[   98.313584] [D]usb 4-1:Num Interfaces = 5
[   98.313584] [D]usb 4-1:This Interface = 2
[   98.313585] [D]usb 4-1:NMEA GPS interface found
[   98.314896] qcserial 4-1:1.2: Qualcomm USB modem converter detected
[   98.315045] usb 4-1: Qualcomm USB modem converter now attached to ttyUSB1
[   98.315115] [D]usb 4-1:Num Interfaces = 5
[   98.315116] [D]usb 4-1:This Interface = 3
[   98.315116] [D]usb 4-1:Modem port found
[   98.316322] qcserial 4-1:1.3: Qualcomm USB modem converter detected
[   98.317621] usb 4-1: Qualcomm USB modem converter now attached to ttyUSB2
[   98.366337] cdc_mbim 4-1:1.12: cdc-wdm0: USB WDM device
[   98.370773] cdc_mbim 4-1:1.12 wwan0: register 'cdc_mbim' at usb-0000:03:00.0-1, CDC MBIM, 9e:f5:f4:82:28:49
[   98.376904] usbcore: registered new interface driver cdc_mbim

lsusb
Bus 004 Device 002: ID 1199:90b1 Sierra Wireless, Inc. Sierra Wireless EM7565 Qualcomm® Snapdragon™ X16 LTE-A

AT!entercnd=“A710”
OK
AT!USBPID?
!USBPID:
APP : 90B1
BOOT: 90B0

OK
at!USBPID=90b1
OK
AT!RESET
OK
After these commands I get all ports back

seems same issue as this one
It can be solved by changing PID to 9091

After changing pid to 9091
AT!USBPID?
!USBPID:
APP : 9091
BOOT: 9090

and AT!CUSTOM=“GPSENABLE”,1 gpsd get position
Thank you!