Hello,
I am using a RM500Q-GL device on a jetson nano robotic car. The robotic car manufacturer provided me with the option.c code so that I can mount the RM500Q-GL and talk to it with minicom (and get it connected to 5G).
But I cannot connect from the interface, usb0 is not connected to any real device and I cannot use mbimcli to configure it.
Could you share with me an arm compatible usb_wwan I could place on my kernel? This is my linux version: linux 4.9.140-tegra
Hi,@jayjay
The usb driver already send to you via email,you can select the driver with the same kernel version as yours inside and install it.pls check.
HI @leon.bao ,
thanks a lot. My kernel is 4.9.201 and the closest version I found on the file you sent me was 4.9.111. I proceeded with the make then make install (also rebooted).
I see that the usb_wwan is loaded with the option kernel modules, but the quectel device is still not available. I can talk via ttyUSB2 but no /dev/cdc-wdmX
should I have used a different kernel version in the file? should I do anything else than make/make install (and depmod and/or reboot)?
Actually, I think what is missing are the QMI WWAN drivers, as I do see the usb_wwan and option.c (and the changes required for Quectel), but what is still missing is the QMI WWAN that I do not see on [KERNEL]/drivers/net/usb/qmi_wwan_q.c
Hi,@jayjay
You can just use the qmi_wwan driver that comes with Linux. There’s no need to use qmi_wwan_q. Could you use the lsusb and lsusb -t commands to check if the USB device is recognized?
the usb is loaded (I see the producer and product IDs) but with lsusb -t, I do not see the wwan (or qmi_wwan). I believe it is because it is not loaded by default on arm64 platforms such as Jetson Nano or Orin. Would you know how to do that safely ? (without replacing or compiling the full kernel, just adding the missing modules )?
thanks,
Jay
Hi,@jayjay
I’ve already sent you the qmi_wwan_q driver via email. After compiling it with the “make install” command, install it using the “modprobe qmi_wwan” command. Please give it a try. If there are still problems, please feel free to contact us at any time.
thanks. Compilation has a minor issue: the jetson nano calls arm64 but uname -m gives aarch64. I replaced the arch def. on makefile and it seems to work. But I cannot load it, as I get an error message from qmi_wwan_q saying the dev is not usbnet and suggest to check with AT command.
However, I checked AT+QCFG=“usbnet” and got AT+QCFG=“usbnet”,2
I assume it is because I do not have a qmi_wwan.ko, only the qmi_wwan_c.ko. Would you have the source code of qmi_wwan.c ? could I add the missing .c code and remake to get both loaded?
thanks
Thanks for your reply. I actually took a different approach. I removed qmi_wwan and qmi_wwan_q and installed cdc_bmim.c (taken from a linux kernel version equivalent to mine), and compiled just that c code. Now it works
I guess that for my case, I would only need your option.c changes and a cdc_mbim.c to operate the RM500Q-GL quectel on an arm64 jetson nano..