BG95 M3 Linux USB driver user guide and patches and latest firmware

We are looking for the a BG95 M3 Linux USB driver user guide, patches, and the latest firmware with instructions to update it.

We are using Yocto build system with kernel 5.10

Just make sure that drivers/usb/serial/option.c is added into the kernel.
Make sure you have added the VID and PID into it.

Just for clarification, we are using USB modem for evaluation.

We added in option.c but somehow ttyUSB ports are not enumerated at boot.
But if we manually added VID PID entry, it populates and there are 4 interfaces, not 3.
With what interface we can use AT commands?

$ echo 2c7c 0700 | tee /sys/bus/usb-serial/drivers/option1/new_id
[16107.021567] option 2-1.1:1.0: GSM modem (1-port) converter detected
[16107.029949] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB1
[16107.037563] option 2-1.1:1.1: GSM modem (1-port) converter detected
[16107.044808] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB2
[16107.052426] option 2-1.1:1.2: GSM modem (1-port) converter detected
[16107.059645] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB3
[16107.067313] option 2-1.1:1.3: GSM modem (1-port) converter detected
[16107.074575] usb 2-1.1: GSM modem (1-port) converter now attached to ttyUSB4

Still no port enumeration on boot.
When we add VID PID entry manually, we can talk to modem port, but can’t change port configuration to ecm or rmnet

AT
OK
AT+QCFGEXT=“usbnet”,“ecm”
ERROR
AT
OK
AT+QCFGEXT=“usbnet”,“rmnet”
ERROR

Looks like there is not “usbnet” configuration available. Firmware update is required in that case?

AT+QCFGEXT=?
+QCFGEXT: “addgeo”,,,,,,,[,[,[,,]]]
+QCFGEXT: “deletegeo”,
+QCFGEXT: “querygeo”,
+QCFGEXT: “nipdcfg”[,[,[,,]]]
+QCFGEXT: “nipd”[,[,]]
+QCFGEXT: “nipds”[,,[,<data_length>[,<rai_flag>]]
+QCFGEXT: “nipdr”[,<read_length>[,<read_mode>]]
+QCFGEXT: “host”,[,[,]]
+QCFGEXT: “gpio”[,,[,[,,]/[][,]]]
+QCFGEXT: “dump”[,(0,1)]
+QCFGEXT: “quecopen”[,(0,1)]
+QCFGEXT: “disusb”,(0,1)
+QCFGEXT: “usb/event”
+QCFGEXT: “fota_apn”,,[,,]
+QCFGEXT: “dnsc_timeout”[,(2-300)]
+QCFGEXT: “attm2mfeat”[,(0,1)]
+QCFGEXT: “pwm”,[,(0,1)[,(1-99),(293-600000)]]

OK

AT+QGMR
BG95M3LAR02A03_01.009.01.009

@Bean.Wang-Q can you please provide inputs

Hi Sir

Maybe the firmware version you tried not support the usbnet.

Please just try

AT+QCFGEXT=“usbnet”

@Bean.Wang-Q Please provide the latest firmware.

Actually the driver is already installed and loaded as expected.
You just need the usbnet. You could try create a topic in gms-modules to ask for new firmware.