LTE module (Huawei) Pcie - driver issue

Hello Toradex community,
I’m new in this forum (and also in embedded linux projects). I’m facing a driver problem with my mPCIe LTE module [LE910C4-EU]. The following link shows me how to deal with the device is connected to a Linux distribution :

The command lsusb shows me :

root@apalis-tk1:/sys/devices/platform# lsusb -t
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=tegra-xhci/2p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=tegra-xhci/6p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-ehci/1p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-ehci/1p, 480M
    |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 480M
    |__ Port 1: Dev 3, If 1, Class=Vendor Specific Class, Driver=, 480M
    |__ Port 1: Dev 3, If 2, Class=Vendor Specific Class, Driver=, 480M
    |__ Port 1: Dev 3, If 3, Class=Vendor Specific Class, Driver=, 480M
    |__ Port 1: Dev 3, If 4, Class=Vendor Specific Class, Driver=, 480M
    |__ Port 1: Dev 3, If 5, Class=Vendor Specific Class, Driver=, 480M
    |__ Port 1: Dev 3, If 6, Class=Vendor Specific Class, Driver=, 480M

This is the dmesg log when I connect the LTE module :

[  466.391305] usb 1-1: new high-speed USB device number 3 using tegra-ehci
[  466.550345] usb 1-1: New USB device found, idVendor=1bc7, idProduct=1201
[  466.567310] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  466.576968] usb 1-1: Product: LE910C4-EU
[  466.581365] usb 1-1: Manufacturer: Android
[  466.585755] usb 1-1: SerialNumber: 0123456789ABCDEF

However, the module doesn’t show any interface network from the module when I’m using ip a.

Do I need to recompile the kernel with the cdc_ether driver (instead of tegra-ehci) ?
Thank you for your time.
Regards.

Hello @julien.weber and Welcome to the Toradex Community!

You can try to enable the config CONFIG_NET_ETHERNET and check if this works.

As alternative you can install mainline kernel image and check if the network interface is present.

Best regards,
Jaski

Do I need to recompile the kernel with the cdc_ether driver (instead of tegra-ehci) ?

The actual kernel configuration in question most likely would rather be CONFIG_USB_NET_CDC_NCM which is not enabled in our BSP:

http://git.toradex.com/cgit/linux-toradex.git/tree/arch/arm/configs/apalis-tk1_defconfig?h=toradex_tk1_l4t_r21.7#n199

Compiling the kernel outside the OpenEmbedded build system is explained in the following article on our developer website:

https://developer.toradex.com/knowledge-base/build-u-boot-and-linux-kernel-from-source-code

Good luck!

Please note that tegra-ehci stands for the host controller side which you most likely really do not want to change anything about.