BG95M3 USB ttyUSB* not created

We are trying to connect a BG95M3 to our SoM (msm8909w) using USB and it looks like linux isn’t recoginizing the device as a modem.

Following the instruction in LTE&5G_Linux_USB_Driver_User_Guide_V2.0
The kernel has the driver added:

VID and PID added to option.c

Added in Zero Packet Mechanism and Reset-resume code also.

When the modem powers up it seen by linux and shows up in lsusb:
lsusb
dmesg:
dmesg

cat /sys/kernel/debug/usb/devices
catDevices

looking at /sys/bus/usb/devices/1-1

The ttyUSB devices are never created:
devtty

Does anyone know what else I can do/test to make sure the kernel recognizes the modem and creates the correct tty devices?

Thanks

As shown on the picture
image
The pid is 0x0700.
So please add the 2C7C 0700 into the option_ids.

I have already added it to option.c:

Are you saying there is another place I need to add the IDs?

Right now I’m thinking my problem is with the kernel.
Although I have added in the CONFIG_USB_SERIAL_OPTION option, it doesn’t seem to be making its way into the compiled kernel.

When I check the kernel’s .config file (looking at out/target/product/msm8909w/obj/KERNEL_OBJ/.config for my Android build, OR from the shell by looking at /proc/config.gz) CONFIG_USB_SERIAL_OPTION is not present.

Thanks

ps: in case someone else needs to know the command to check the .config from shell:
cat /proc/config.gz | gunzip | grep SERIAL_OPTION

dmesg | grep option
Check whether the option is installed.

CONFIG_USB_SERIAL_OPTION depends on the:
CONFIG_USB_SERIAL and CONFIG_USB_SERIAL_WWAN
So please check whether CONFIG_USB_SERIAL and CONFIG_USB_SERIAL_WWAN are selected.

And if have checked that option is installed, using the command:

echo 2C7C 0700 > /sys/bus/usb-serial/drivers/option1/new_id

if the ttyUSB* appear, you didn’t modify the option.c