I have been able to use a custom carrier board with Jetson Orin NX and a Sierra AirPrime EM9191 5G modem successfully on a L4T version R35 build with ubuntu 20.04.
However, after upgrading to version 36.1 and installing all the prerequisites (including nmcli and mmcli), mmcli was not able to detect the modem on scanning for modems. I do see it listed with lsusb tho.
When trying to follow the readme from Mobile Broadband Package for Linux (SDK, Drivers, Documentation) make
(when ran on the jetson os) attempts to compile but fails:
make -C /lib/modules/5.15.136-tegra/build M=/home/code/usb
make[1]: Entering directory '/usr/src/linux-headers-5.15.136-tegra-ubuntu22.04_aarch64/3rdparty/canonical/linux-jammy/kernel-source'
MODPOST /home/code/usb/Module.symvers
ERROR: modpost: "usb_cdc_wdm_register" [/home/code/usb/qmi_wwan.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:133: /home/code/usb/Module.symvers] Error 1
make[2]: *** Deleting file '/home/code/usb/Module.symvers'
make[1]: *** [Makefile:1830: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.136-tegra-ubuntu22.04_aarch64/3rdparty/canonical/linux-jammy/kernel-source'
make: *** [Makefile:12: all] Error 2
Compiling on ubuntu works but am I supposed to just copy the .ko files to the jetson filesystem and load them with modprobe?
One other thing chatGBT suggested was to modify kernel .config to specify CONFIG_USB_WDM=m
and recompile the kernel. I guess there are missing modules causing the 5G modem not to work?
Any support here would be appreciated!