Firefly Open Source Community

Title: IHC3308GW with WWAN MC7354 card [Print This Page]

Author: ars102    Time: 5/23/2022 12:36
Title: IHC3308GW with WWAN MC7354 card
Hello,
I tried to test WWAN mPCIe card MC7354 in IHC3308GW.

Running full Ubuntu image, it can recognize the card, but no serial AT tty device, I tried to rebuild kernel with firefly-rk3308b_docker_defconfig but with that new kernel the MC7354 is not recognized anymore (lsusb command).

So could you please help:
- Which kernel config is using in bundle Ubuntu image ?
- How to change kernel config options to enable MC7354 card ?

Thank you.
Author: Javier    Time: 5/23/2022 14:24
The current usb driver does not support MC7354, please contact the production MC7354 to provide usb driver.
Author: ars102    Time: 5/24/2022 10:21
Could you please show the kernel config using in FW IHC3308GW-Ubuntu18-NoUi-20220106.img ?

- If I do flashing whole FW IHC3308GW-Ubuntu18-NoUi-20220106.img, MC7354 is recognized well

# lsusb
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 0bda:8152 Realtek Semiconductor Corp.
Bus 002 Device 003: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Bus 002 Device 005: ID 1199:68c0 Sierra Wireless, Inc.
Bus 002 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


# mmcli -m 0
  --------------------------
  General  |      dbus path: /org/freedesktop/ModemManager1/Modem/0
           |      device id: db4c6e76f01bd0ec296bfae5a2cad5977522adee
  --------------------------
  Hardware |   manufacturer: Sierra Wireless, Incorporated
           |          model: MC7354
           |       revision: SWI9X15C_05.05.58.00 r27038 carmd-fwbuild1 2015/03/04 21:30:23
           |   h/w revision: 1.0
           |      supported: gsm-umts, lte
           |                 cdma-evdo, lte
           |                 lte
           |                 cdma-evdo, gsm-umts, lte
           |        current: gsm-umts, lte
           |   equipment id: 353968091258849
  --------------------------
  System   |         device: /sys/devices/platform/ff440000.usb/usb2/2-1/2-1.2
           |        drivers: qmi_wwan
           |         plugin: Sierra
           |   primary port: cdc-wdm0
           |          ports: cdc-wdm0 (qmi), wwan0 (net)
  --------------------------
  Status   |           lock: sim-pin2
           | unlock retries: sim-pin (3), sim-pin2 (3), sim-puk (10), sim-puk2 (10)
           |          state: registered
           |    power state: on
           |    access tech: gsm
           | signal quality: 12% (recent)
  --------------------------
  Modes    |      supported: allowed: 2g; preferred: none
           |                 allowed: 3g; preferred: none
           |                 allowed: 2g, 3g; preferred: 3g
           |                 allowed: 2g, 3g; preferred: 2g
           |                 allowed: 2g, 4g; preferred: 4g
           |                 allowed: 2g, 4g; preferred: 2g
           |                 allowed: 3g, 4g; preferred: 3g
           |                 allowed: 3g, 4g; preferred: 4g
           |                 allowed: 2g, 3g, 4g; preferred: 4g
           |                 allowed: 2g, 3g, 4g; preferred: 3g
           |                 allowed: 2g, 3g, 4g; preferred: 2g
           |        current: allowed: 2g, 4g; preferred: 4g
  --------------------------
  Bands    |      supported: egsm, dcs, pcs, g850, utran-1, utran-4, utran-5, utran-8,
           |                 utran-2, eutran-2, eutran-4, eutran-5, eutran-13, eutran-17,
           |                 eutran-25, cdma-bc0, cdma-bc1, cdma-bc10
           |        current: egsm, dcs, pcs, g850, utran-1, utran-4, utran-5, utran-8,
           |                 utran-2, eutran-2, eutran-4, eutran-5, eutran-13, eutran-17,
           |                 eutran-25, cdma-bc0, cdma-bc1, cdma-bc10
  --------------------------
  IP       |      supported: ipv4, ipv6, ipv4v6
  --------------------------
  3GPP     |           imei: 353968091258849
           |    operator id: 45202
           |   registration: home
  --------------------------
  SIM      |      dbus path: /org/freedesktop/ModemManager1/SIM/0

- If I rebuild kernel using firefly-rk3308b_docker_defconfig then lsusb does not show MC7354 card anymore.

cd rk3308-linux/kernel
make ARCH=arm64 firefly-rk3308b_docker_defconfig
make ARCH=arm64 rk3308b-roc-cc-plus-amic_emmc.img


Flash zboot.img to board
  
# lsusb
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 0bda:8152 Realtek Semiconductor Corp.
Bus 002 Device 003: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
Bus 002 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
#


Author: Javier    Time: 6/7/2022 09:35
show kernel config: zcat /proc/config.gz




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1