Hi,
I’m having issues installing EM7565 Gobi drivers on an Ubuntu x64 platform, specifically missing /dev/qcqmi#. Following the Application Developer’s Guide so I can use the lite API, I have:
- Blacklisted qmi_wwan and qcserial
- Removed modemmanager (network manager is still running)
- Built and installed GobiSerial and GobiNet (with RAW_IP=1) using SierraLinuxQMIdriversS2.42N2.64
Looking at other working dmesg examples in these forums, it appears that GobiNet is not working correctly as I don’t see such lines as:
GobiNet 1-2:1.8 enp0s21f0u2i8: renamed from eth0
[ 17.983052] creating qcqmi0
There are also references to MBIM mode in demsg - could the modem be in the wrong mode, i.e. not QMI? How would I change that?
I’m also suspicious that I have the wrong driver as:
- The USB VID/PID is not listed as supported in QMI mode in the dev guide - “1199:9091 Sierra Wireless, Inc.”
- The dev guide mentions to contact your FAE(?) to obtain QMI drivers. Are these not public, i.e. not from the SW source?
Here are my logs:
$ uname -a
Linux GRiDCASE-1570 5.8.0-36-generic #40~20.04.1-Ubuntu SMP Wed Jan 6 10:15:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 10000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 2: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M
|__ Port 5: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 3: Dev 11, If 0, Class=Vendor Specific Class, Driver=GobiSerial, 480M
|__ Port 3: Dev 11, If 12, Class=Communications, Driver=cdc_mbim, 480M
|__ Port 3: Dev 11, If 3, Class=Vendor Specific Class, Driver=GobiSerial, 480M
|__ Port 3: Dev 11, If 13, Class=CDC Data, Driver=cdc_mbim, 480M
|__ Port 3: Dev 11, If 2, Class=Vendor Specific Class, Driver=GobiSerial, 480M
|__ Port 4: Dev 12, If 12, Class=Communications, Driver=cdc_mbim, 480M
|__ Port 4: Dev 12, If 2, Class=Vendor Specific Class, Driver=GobiSerial, 480M
|__ Port 4: Dev 12, If 0, Class=Vendor Specific Class, Driver=GobiSerial, 480M
|__ Port 4: Dev 12, If 13, Class=CDC Data, Driver=cdc_mbim, 480M
|__ Port 4: Dev 12, If 3, Class=Vendor Specific Class, Driver=GobiSerial, 480M
|__ Port 7: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 10: Dev 8, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 3: Dev 10, If 1, Class=Wireless, Driver=btusb, 12M
|__ Port 3: Dev 10, If 0, Class=Wireless, Driver=btusb, 12M
$ lsmod | grep -i gobi
GobiSerial 24576 1
usbserial 53248 3 GobiSerial
GobiNet 479232 0
usbnet 49152 3 cdc_mbim,cdc_ncm,GobiNet
$ modinfo GobiNet
filename: /lib/modules/5.8.0-36-generic/kernel/drivers/net/usb/GobiNet.ko
license: Dual BSD/GPL
description: GobiNet
author: Qualcomm Innovation Center
version: 2020-08-17/SWI_2.64
srcversion: 90DDE54A58C64CF46F52CFA
alias: usb:v1199p9081ddcdscdpiciscipin
alias: usb:v1199p9102ddcdscdpiciscipin
alias: usb:v1199p9100ddcdscdpiciscipin
alias: usb:v1199p90C1ddcdscdpiciscipin
alias: usb:v1199p90B1ddcdscdpiciscipin
alias: usb:v1199p9091ddcdscdpiciscipin
alias: usb:v1199p9070ddcdscdpiciscipin
alias: usb:v1199p9061ddcdscdpiciscipin
alias: usb:v1199p9056ddcdscdpiciscipin
alias: usb:v1199p9055ddcdscdpiciscipin
alias: usb:v1199p9054ddcdscdpiciscipin
alias: usb:v1199p9053ddcdscdpiciscipin
alias: usb:v1199p9051ddcdscdpiciscipin
alias: usb:v1199p9041ddcdscdpiciscipin
alias: usb:v1199p68C0ddcdscdpiciscipin
alias: usb:v1199p9071ddcdscdpiciscipin
alias: usb:v1199p9019ddcdscdpiciscipin
alias: usb:v1199p9015ddcdscdpiciscipin
alias: usb:v1199p9013ddcdscdpiciscipin
alias: usb:v1199p9011ddcdscdpiciscipin
alias: usb:v05C6p920Dddcdscdpiciscipin
alias: usb:v1199p68A2ddcdscdpiciscipin
depends: usbnet
retpoline: Y
name: GobiNet
vermagic: 5.8.0-36-generic SMP mod_unload
parm: debug:Debuging enabled or not (int)
parm: qos_debug:QoS Debuging enabled or not (int)
parm: interruptible:Listen for and return on user interrupt (int)
parm: txQueueLength:Number of IP packets which may be queued up for transmit (int)
parm: iTEEnable:-1 : Ignore TE flow Control, 0 : TE Flow Control disabled, 1 : TE Flow Control enabled (int)
parm: iRAWIPEnable:RAWIP enabled or not (int)
parm: iQMAPEnable:-1: Auto, 0 : QMAP disabled, 1 : QMAP enabled (int)
parm: iMaxQMUXSupported:-1: Auto, Max QMUX instance support (int)
parm: iIPAlias:0 = virtual adapter , 1 (default) = IP alias (int)
parm: iEthSrcMACNonZero:0(default) = Ethernet Header Source Address : Zeros , 1 = Ethernet Header Source Address: Non-zero (int)
parm: wakelock_debug:Wake lock debug enabled or not (int)
parm: iAutoIPAddress:0(default) = Manual assgin IP address to adaptor : Zeros , 1 = Get IP address via QMI (int)
parm: wakelock_timeout:-1 : 0 seconds, Number of second wakelock will be released after resume (int)
parm: resume_delay_ms:1000(default) : Delay before resume in millisecond (int)
parm: qmi_service_awake_timeout:-1 : 8 seconds, Number of second wakelock will be released after selected QMI servcie request send (int)
parm: rt_local_priority:-1(default) : ROUTE_TABLE_LOCAL_PRIORITY: 0, local lookup priority number (int)
parm: rt_main_priority:-1(default) : ROUTE_TABLE_MAIN_PRIORITY: 1, main lookup priority number (int)
parm: rt_default_priority:-1(default) : ROUTE_TABLE_DEFAULT_PRIORITY: 32767, default lookup priority number (int)
$ dmesg | grep -E ‘usb|Gobi|qmi’
[ 0.438036] usbcore: registered new interface driver usbfs
[ 0.438036] usbcore: registered new interface driver hub
[ 0.438036] usbcore: registered new device driver usb
[ 2.857026] usb 1-5.3: new high-speed USB device number 7 using xhci_hcd
[ 2.958238] usb 1-5.3: config 1 has an invalid interface number: 12 but max is 4
[ 2.958242] usb 1-5.3: config 1 has an invalid interface number: 13 but max is 4
[ 2.958245] usb 1-5.3: config 1 has an invalid interface number: 13 but max is 4
[ 2.958247] usb 1-5.3: config 1 has no interface number 1
[ 2.958250] usb 1-5.3: config 1 has no interface number 4
[ 2.959912] usb 1-5.3: New USB device found, idVendor=1199, idProduct=9091, bcdDevice= 0.06
[ 2.959917] usb 1-5.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.959920] usb 1-5.3: Product: Sierra Wireless EM7565 Qualcomm® Snapdragon™ X16 LTE-A
[ 2.959923] usb 1-5.3: Manufacturer: Sierra Wireless, Incorporated
[ 2.959926] usb 1-5.3: SerialNumber: UF01627087011047
[ 3.244640] usbcore: registered new interface driver usb-storage
[ 3.246157] usbcore: registered new interface driver uas
[ 3.252694] usbcore: registered new interface driver usbhid
[ 3.252695] usbhid: USB HID core driver
[ 3.318758] usb 1-5.4: new high-speed USB device number 9 using xhci_hcd
[ 3.417922] usb 1-5.4: config 1 has an invalid interface number: 12 but max is 4
[ 3.417927] usb 1-5.4: config 1 has an invalid interface number: 13 but max is 4
[ 3.417930] usb 1-5.4: config 1 has an invalid interface number: 13 but max is 4
[ 3.417933] usb 1-5.4: config 1 has no interface number 1
[ 3.417936] usb 1-5.4: config 1 has no interface number 4
[ 3.418824] usb 1-5.4: New USB device found, idVendor=1199, idProduct=9091, bcdDevice= 0.06
[ 3.418829] usb 1-5.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.418833] usb 1-5.4: Product: Sierra Wireless EM7565 Qualcomm® Snapdragon™ X16 LTE-A
[ 3.418836] usb 1-5.4: Manufacturer: Sierra Wireless, Incorporated
[ 3.418839] usb 1-5.4: SerialNumber: UF93819161021546
[ 5.393798] GobiNet: loading out-of-tree module taints kernel.
[ 5.393955] GobiNet: module verification failed: signature and/or required key missing - tainting kernel
[ 5.394763] GobiNet: 2020-08-17/SWI_2.64
[ 5.394899] usbcore: registered new interface driver GobiNet
[ 5.397183] usbcore: registered new interface driver cdc_ncm
[ 5.402372] usbcore: registered new interface driver cdc_wdm
[ 5.449488] usbcore: registered new interface driver usbserial_generic
[ 5.449494] usbserial: USB Serial support registered for generic
[ 5.450306] usbcore: registered new interface driver GobiSerial
[ 5.450312] usbserial: USB Serial support registered for GobiSerial
[ 5.451009] usbcore: registered new interface driver btusb
[ 5.470039] cdc_mbim 1-5.3:1.12 wwan0: register ‘cdc_mbim’ at usb-0000:00:14.0-5.3, CDC MBIM, 7e:e0:b7:ba:72:95
[ 5.470556] GobiSerial 1-5.3:1.0: GobiSerial converter detected
[ 5.470609] usb 1-5.3: GobiSerial converter now attached to ttyUSB0
[ 5.471623] GobiSerial 1-5.3:1.2: GobiSerial converter detected
[ 5.471656] usb 1-5.3: GobiSerial converter now attached to ttyUSB1
[ 5.472407] GobiSerial 1-5.3:1.3: GobiSerial converter detected
[ 5.472437] usb 1-5.3: GobiSerial converter now attached to ttyUSB2
[ 5.494241] cdc_mbim 1-5.4:1.12 wwan1: register ‘cdc_mbim’ at usb-0000:00:14.0-5.4, CDC MBIM, 7e:e0:b7:ba:72:95
[ 5.494270] usbcore: registered new interface driver cdc_mbim
[ 5.494753] GobiSerial 1-5.4:1.0: GobiSerial converter detected
[ 5.494837] usb 1-5.4: GobiSerial converter now attached to ttyUSB3
[ 5.495339] GobiSerial 1-5.4:1.2: GobiSerial converter detected
[ 5.495390] usb 1-5.4: GobiSerial converter now attached to ttyUSB4
[ 5.495994] GobiSerial 1-5.4:1.3: GobiSerial converter detected
[ 5.496059] usb 1-5.4: GobiSerial converter now attached to ttyUSB5
[ 5.496084] GobiSerial: 2020-08-17/SWI_2.42:GobiSerial
[ 5.918474] audit: type=1400 audit(1610613386.486:2): apparmor=“STATUS” operation=“profile_load” profile=“unconfined” name=“ippusbxd” pid=628 comm=“apparmor_parser”
[ 28.507755] usb 1-5.3: USB disconnect, device number 7
[ 28.508331] GobiSerial driver ttyUSB0: GobiSerial converter now disconnected from ttyUSB0
[ 28.508398] GobiSerial 1-5.3:1.0: device disconnected
[ 28.509000] GobiSerial driver ttyUSB1: GobiSerial converter now disconnected from ttyUSB1
[ 28.509051] GobiSerial 1-5.3:1.2: device disconnected
[ 28.509649] GobiSerial driver ttyUSB2: GobiSerial converter now disconnected from ttyUSB2
[ 28.509709] GobiSerial 1-5.3:1.3: device disconnected
[ 28.509880] cdc_mbim 1-5.3:1.12 wwan0: unregister ‘cdc_mbim’ usb-0000:00:14.0-5.3, CDC MBIM
[ 28.763424] usb 1-5.4: USB disconnect, device number 9
[ 28.763604] GobiSerial driver ttyUSB3: GobiSerial converter now disconnected from ttyUSB3
[ 28.763617] GobiSerial 1-5.4:1.0: device disconnected
[ 28.763767] GobiSerial driver ttyUSB4: GobiSerial converter now disconnected from ttyUSB4
[ 28.763777] GobiSerial 1-5.4:1.2: device disconnected
[ 28.763867] GobiSerial driver ttyUSB5: GobiSerial converter now disconnected from ttyUSB5
[ 28.763875] GobiSerial 1-5.4:1.3: device disconnected
[ 28.763907] cdc_mbim 1-5.4:1.12 wwan1: unregister ‘cdc_mbim’ usb-0000:00:14.0-5.4, CDC MBIM
[ 37.777128] usb 1-5.3: new high-speed USB device number 11 using xhci_hcd
[ 37.878870] usb 1-5.3: config 1 has an invalid interface number: 12 but max is 4
[ 37.878877] usb 1-5.3: config 1 has an invalid interface number: 13 but max is 4
[ 37.878881] usb 1-5.3: config 1 has an invalid interface number: 13 but max is 4
[ 37.878885] usb 1-5.3: config 1 has no interface number 1
[ 37.878888] usb 1-5.3: config 1 has no interface number 4
[ 37.879852] usb 1-5.3: New USB device found, idVendor=1199, idProduct=9091, bcdDevice= 0.06
[ 37.879859] usb 1-5.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 37.879864] usb 1-5.3: Product: Sierra Wireless EM7565 Qualcomm® Snapdragon™ X16 LTE-A
[ 37.879868] usb 1-5.3: Manufacturer: Sierra Wireless, Incorporated
[ 37.879872] usb 1-5.3: SerialNumber: UF01627087011047
[ 37.885654] GobiSerial 1-5.3:1.0: GobiSerial converter detected
[ 37.886066] usb 1-5.3: GobiSerial converter now attached to ttyUSB0
[ 37.886901] GobiSerial 1-5.3:1.2: GobiSerial converter detected
[ 37.887035] usb 1-5.3: GobiSerial converter now attached to ttyUSB1
[ 37.887897] GobiSerial 1-5.3:1.3: GobiSerial converter detected
[ 37.888043] usb 1-5.3: GobiSerial converter now attached to ttyUSB2
[ 37.911368] cdc_mbim 1-5.3:1.12 wwan0: register ‘cdc_mbim’ at usb-0000:00:14.0-5.3, CDC MBIM, 7e:e0:b7:ba:72:95
[ 37.989105] usb 1-5.4: new high-speed USB device number 12 using xhci_hcd
[ 38.090852] usb 1-5.4: config 1 has an invalid interface number: 12 but max is 4
[ 38.090859] usb 1-5.4: config 1 has an invalid interface number: 13 but max is 4
[ 38.090863] usb 1-5.4: config 1 has an invalid interface number: 13 but max is 4
[ 38.090867] usb 1-5.4: config 1 has no interface number 1
[ 38.090870] usb 1-5.4: config 1 has no interface number 4
[ 38.091655] usb 1-5.4: New USB device found, idVendor=1199, idProduct=9091, bcdDevice= 0.06
[ 38.091662] usb 1-5.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 38.091667] usb 1-5.4: Product: Sierra Wireless EM7565 Qualcomm® Snapdragon™ X16 LTE-A
[ 38.091671] usb 1-5.4: Manufacturer: Sierra Wireless, Incorporated
[ 38.091674] usb 1-5.4: SerialNumber: UF93819161021546
[ 38.097624] GobiSerial 1-5.4:1.0: GobiSerial converter detected
[ 38.097975] usb 1-5.4: GobiSerial converter now attached to ttyUSB3
[ 38.099050] GobiSerial 1-5.4:1.2: GobiSerial converter detected
[ 38.099372] usb 1-5.4: GobiSerial converter now attached to ttyUSB4
[ 38.100513] GobiSerial 1-5.4:1.3: GobiSerial converter detected
[ 38.100763] usb 1-5.4: GobiSerial converter now attached to ttyUSB5
[ 38.123848] cdc_mbim 1-5.4:1.12 wwan1: register ‘cdc_mbim’ at usb-0000:00:14.0-5.4, CDC MBIM, 7e:e0:b7:ba:72:95
Many thanks.