PPP support on Colibri iMX.6

We are trying to incorporate 3g/4g dongles in our system that has Colibri iMX.6 as core module and Iris V1.1A as Carrier board.
After going through Embedded Linux Systems - GSM/3G/4G, we rebuilt the kernel with USB ACM and PPP support enabled in drivers. We also enabled QMI WWAN support for Qualcomm MSM based 3G and LTE modems in Device Drivers → Network Device Support → USB Network Adaptors
But still as we plug the modules all we recive in kernel logs is “new high speed USB device number using ci_hdrc”.

Kindly help us solve this issue.
Thank you.

hello @snc2897

What is your issue?
Which dongles are you using?
Could you provide data-sheets of these dongles?

Note: Colibri_iMX6_LinuxImageV2.4 is not supported anymore. You should update to Bsp 2.8b6.

Best regards,

Because we need SPI supported by default in our application, we are using 2.4. Any version above that has replaced SPI drivere by SPI-to-CAN driver.
Dongles that we’re using include:
Idea Net-Setter (3G) : Huawei

A minor update, even after having CDC Ether support enabled in USB MODEM support in Network Devices, devices which are thethering over USB are being deteced as ci_hdrc only…

You can just disable the Spi to Can Node as explained here.

We did as you suggested and now SPI works on 2.7, but still we all modems (dongles) are being detected as ci_hdrc only.

Kindly direct us
Thank you

Could you provide the dmesg log in a file?
What is the output of lsusb and lsmod when the dongle is connected?

As mentioned before, as soon as USB modem is plugged, following log is displayed:

[ 1470.541123] usb 1-1: new high-speed USB device number 4 using ci_hdrc
[ 1470.714838] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 1470.721801] scsi host1: usb-storage 1-1:1.0
[ 1471.722464] scsi 1:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[ 1471.731490] scsi 1:0:0:1: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
[ 1471.746412] sd 1:0:0:1: [sda] Attached SCSI removable disk

As for lsmod and lsusb:
lsmod shows empty list
and lsusb shows:

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 12d1:1446 Huawei Technologies Co., Ltd. Broadband stick (modem on)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Any support in the matter would be quite helpful…
Thank you

CD ROM and Direct-Access TF card are shown in logs as the USB modem has some utilities in CD ROM mount location and has support for SD card

Hi @snc2897

Sorry for the delayed answer.

In mean time, we bought a Huawei USB modem and tried this out.

You need to switch the USB mode using usb_modeswitch. This package is not part of the regular Bsp, you need to compile a custom image including this package. A list of all existing configurations for modeswitch can be found here, you need to check for your product id: 12d1:1446.

For the modem E3531, we used the following command:

usb_modeswitch -v 12d1 -p 1f01 -M 55534243123456780000000000000011062000000100000000000000000000

For you modem, the command might be different, one example is described here.

Additionally I would recommend you to use modemmanger or wvdial to do the dialup connection instead of a PPP dialling, since PPP dialling is obsolete.

Best regards,