WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: usb 4g modem huawei  (Read 3240 times)

Online Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
Re: usb 4g modem huawei
« Reply #15 on: January 12, 2024, 06:50:41 AM »
Extensions are created for the common used modules,  but everything compiled with the kernel is available http://www.tinycorelinux.net/14.x/armv7/releases/RPi/src/kernel/modules-6.1.25-piCore-v7.tar.xz

If the module is not in that archive, the you will have to compile it.  Kernel source and needed files is in that same directory.

Offline heiheshang

  • Newbie
  • *
  • Posts: 24
Re: usb 4g modem huawei
« Reply #16 on: January 12, 2024, 09:05:42 AM »
Extensions are created for the common used modules,  but everything compiled with the kernel is available http://www.tinycorelinux.net/14.x/armv7/releases/RPi/src/kernel/modules-6.1.25-piCore-v7.tar.xz

If the module is not in that archive, the you will have to compile it.  Kernel source and needed files is in that same directory.
there are also modules-6.1.68-piCore-v7.tar.xz, aren’t they better?

Offline heiheshang

  • Newbie
  • *
  • Posts: 24
Re: usb 4g modem huawei
« Reply #17 on: January 12, 2024, 09:13:29 AM »
Extensions are created for the common used modules,  but everything compiled with the kernel is available http://www.tinycorelinux.net/14.x/armv7/releases/RPi/src/kernel/modules-6.1.25-piCore-v7.tar.xz

If the module is not in that archive, the you will have to compile it.  Kernel source and needed files is in that same directory.
I looked at this module, it’s there, I don’t understand why I can’t load it

Online Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
Re: usb 4g modem huawei
« Reply #18 on: January 12, 2024, 10:06:18 AM »
Extract the module from the archive.  Copy it to /lib/modules/6.1.25-piCore-v7/kernel/drivers

Then run "depmod -a"

You might run modinfo on the module to see if there are any listed dependencies.  But then you should be able to modprobe it.

Offline heiheshang

  • Newbie
  • *
  • Posts: 24
Re: usb 4g modem huawei
« Reply #19 on: January 12, 2024, 10:31:39 AM »
I don't see the module usbserial loading

lsmod
Module                  Size  Used by    Not tainted
huawei_cdc_ncm         16384  0
cdc_ncm                28672  1 huawei_cdc_ncm
cdc_ether              16384  1 cdc_ncm
cdc_wdm                20480  1 huawei_cdc_ncm
uas                    24576  0
brcmfmac              335872  0
brcmutil               20480  1 brcmfmac
sha256_generic         16384  0
cfg80211              819200  1 brcmfmac
rfkill                 32768  2 cfg80211
squashfs               53248 44
i2c_bcm2835            16384  0
raspberrypi_hwmon      16384  0
zram                   28672  2
zsmalloc               28672  1 zram