Hello,
We are developing carrier card on AI. There is an EC200U-EU modem on the card.
For USB Ethernet, we followed the instructions in the documentation.
Files Changed: option.c, qcserial.c, qmi_wwan.c, usb-wwan.h, usb_wwan.c
Menu Config Setting has been made.
However, the ubuntu gives a warning that the cable is not plugged in.
Kernel logs are below.
sudo dmesg | grep cdc
[ 4.297114] usbcore: registered new interface driver cdc_ether
[ 4.308933] usbcore: registered new interface driver cdc_subset
[ 4.320743] usbcore: registered new interface driver cdc_ncm
[ 6.054586] Loaded X.509 cert ‘Build time autogenerated kernel key: 702cdcf25eb9e04613cb5e3de622e942ff1c268f’
[ 7.885286] cdc_ether 1-2:1.0 usb0: register ‘cdc_ether’ at usb-3610000.xhci-2, CDC Ethernet Device, 02:4b:b3:b9:eb:e5
lsusb
Bus 001 Device 003: ID 2c7c:0901 Quectel Wireless Solutions Co., Ltd. Android
lshw -c network
*-network:3
description: Ethernet interface
physical id: 4
logical name: usb1
serial: 96:d0:59:4b:d8:ff
capabilities: ethernet physical
configuration: broadcast=yes driver=g_ether driverversion=29-May-2008 firmware=tegra-xudc link=no multicast=yes
*-network:1
description: Ethernet interface
physical id: 2
bus info: usb@1:2
logical name: usb0
serial: 02:4b:b3:b9:eb:e5
capabilities: ethernet physical
configuration: broadcast=yes driver=cdc_ether driverversion=5.10.120 firmware=CDC Ethernet Device link=no multicast=yes
uname -a
Linux device 5.10.120 #1 SMP PREEMPT Thu Nov 16 13:51:27 +03 2023 aarch64 aarch64 aarch64 GNU/Linux
Thanks.