Modem 5g T99W175 (5930e) and BPI-R4, how?

Hello, trying to use T99W175 on R4, unfortunately cannot do lots of progress, not so much information is available or dispersed. The only thing I was able to do is to see device as Wireless Controller. Modem manager does not show any modem. On Debian tried to use fwupd, but despite this vid should be updated by fwupd, fwupdmgr does not show any devices. Device came to me from aliexpress- do not have any windows device with the same slot to check if firmware can be updated there. For the time being I am checking everything without sim card. Any ideas?

lspci -n
0003:00:00.0 0604: 14c3:7988 (rev 01)
0003:01:00.0 0d40: 105b:e0b0
lspci -v
0003:01:00.0 Wireless controller [0d40]: Foxconn International, Inc. Device e0b0
        Subsystem: Foxconn International, Inc. Device e0b0
        Flags: fast devsel, IRQ 113
        Memory at 20200000 (64-bit, non-prefetchable) [size=4K]
        Memory at 20201000 (64-bit, non-prefetchable) [size=4K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable+ Count=8/32 Maskable+ 64bit+
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [148] Secondary PCI Express
        Capabilities: [168] Physical Layer 16.0 GT/s <?>
        Capabilities: [18c] Lane Margining at the Receiver <?>
        Capabilities: [19c] Transaction Processing Hints
        Capabilities: [228] Latency Tolerance Reporting
        Capabilities: [230] L1 PM Substates
        Capabilities: [240] Data Link Feature <?>
        Kernel driver in use: mhi-pci-generic

ModemManager
ModemManager[10257]: <info>  ModemManager (version 1.20.4) starting in system bus...
ModemManager[10257]: <info>  [wwan2mbim0/mbim] MBIM device is not QMI capable
ModemManager[10257]: <info>  [device /sys/devices/platform/soc/11280000.pcie/pci0003:00/0003:00:00.0/0003:01:00.0] creating modem with plugin 'foxconn' and '4' ports
ModemManager[10257]: <info>  [base-manager] modem for device '/sys/devices/platform/soc/11280000.pcie/pci0003:00/0003:00:00.0/0003:01:00.0' successfully created
ModemManager[10257]: <info>  [base-manager] couldn't check support for device '/sys/devices/platform/soc/15020000.switch': not supported by any plugin
ModemManager[10257]: <info>  [base-manager] couldn't check support for device '/sys/devices/platform/soc/15100000.ethernet': not supported by any plugin
ModemManager[10257]: <info>  [modem0/wwan2mbim0/mbim] MBIM device is QMI capable
ModemManager[10257]: <info>  [modem0] QMI-based capability and mode switching support enabled
ModemManager[10257]: <error> mm_filter_supported_modes: assertion 'all_item.allowed != MM_MODEM_MODE_NONE' failed

(ModemManager:10257): GLib-GIO-CRITICAL **: 20:29:30.530: g_task_return_error: assertion 'error != NULL' failed

It’s possible you may be able to benefit from the process I’ve used to get a Quectel RM510Q-GL working well - shared instructions in two separate posts, with the steps most relevant for the device drivers + enabling the luci interface aspects for configuring the modem being:

#####################################################################################
#####################################################################################
#####################################################################################

# extra packages to include - Quectel RM510Q-GL:

printf '
CONFIG_PACKAGE_libevdev=y
CONFIG_PACKAGE_libatomic1=y
CONFIG_PACKAGE_libusb-1.0-0=y
CONFIG_PACKAGE_libudev-zero=y
CONFIG_PACKAGE_usbids=y
CONFIG_PACKAGE_usbutils=y
' >> .config

#####################################################################################

printf '
CONFIG_PACKAGE_uqmi=y
CONFIG_PACKAGE_picocom=y
CONFIG_PACKAGE_luci-proto-qmi=y
CONFIG_PACKAGE_kmod-usb-net-qmi-wwan=y
CONFIG_PACKAGE_kmod-usb-serial-option=y
' >> .config

#####################################################################################
#####################################################################################
#####################################################################################

Rather than a full from-source build, those packages can also be pulled/installed via opkg - have you already checked for existing packages related to firmware/drivers for Qualcomm in the opkg repository?

and of course, if it hasn’t crossed your path, the openwrt docs surrounding this:

https://openwrt.org/docs/guide-user/network/wan/wwan/ltedongle

Well, it is not easy. Do not understand half of the stuff here. :stuck_out_tongue: Anyway most of the modules in kernel are installed. Modem is also responding to qmicli/uqmi under /dev/wwan0mbim0 (openwrt), but cannot start and not visible in modemmanager.