imx8mm Android9 communicate with AG35 through USB, imx8mm is HOST, and AG35 (4g module ,Quectel)is slave,but there must be something wrong with android config, cause same kernel source code in linux version works ok, but android fails.
Cdc_ether and usbnet are builtin module. Kenel log shows that usb is recognized, I manually ifconfig usb0 up and set a ip to it, but still cannot ping through it. Error shows "unreachable network".
kernel log :
[ 84.045145] cdc_ether 1-1.3:1.4 usb0: unregister 'cdc_ether' usb-ci_hdrc.1-1.3, CDC Ethernet Device
[ 85.801652] usb 1-1.3: new high-speed USB device number 5 using ci_hdrc
[ 85.933836] usb 1-1.3: New USB device found, idVendor=2c7c, idProduct=0435
[ 85.940731] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 85.948212] usb 1-1.3: Product: LTE Module
[ 85.952331] usb 1-1.3: Manufacturer: Quectel, Incorporated
[ 85.957934] usb 1-1.3: SerialNumber: ecde80c
[ 85.984406] cdc_ether 1-1.3:1.4 usb0: register 'cdc_ether' at usb-ci_hdrc.1-1.3, CDC Ethernet Device, 22:f1:41:57:a1:30
Hello,
Have you tried contacting quectel?
I see that they have an Android Driver user guide in their webpage:
https://www.quectel.com/product/lte-ag35-automotive-module
Best regards,
Aldo.
Hi,
I had contacted quectel at the first time,and patch code is most about the option.c, the driver about ecm is not involved.
The "usb0" network device is already recognized,and could be assigned a ip manually.
ifconfig usb0 up
ifconfig usb0 192.168.225.3
ping 192.168.225.1 failed. //192.168.225.1 is the ip of AG35.