|
insmod - huawei E3372h kernel module
Hi, If I intentionally typo in the defconfig file: USB_NET_HUAWEI_CDC_NCM_cat=y USB_NET_DRIVERS=y USB_USBNET=y The bitbake -f linux command doesn't recognize the change. It means to me that any change
Hi, If I intentionally typo in the defconfig file: USB_NET_HUAWEI_CDC_NCM_cat=y USB_NET_DRIVERS=y USB_USBNET=y The bitbake -f linux command doesn't recognize the change. It means to me that any change
|
By
Zoltan Kerenyi Nagy
· #52085
·
|
|
insmod - huawei E3372h kernel module
Im experimenting with the kernel's defconfig. Added these: USB_NET_HUAWEI_CDC_NCM=m USB_NET_DRIVERS=y USB_USBNET=y and I'm recompiling the kernel: bitbake -f linux Takes some time...
Im experimenting with the kernel's defconfig. Added these: USB_NET_HUAWEI_CDC_NCM=m USB_NET_DRIVERS=y USB_USBNET=y and I'm recompiling the kernel: bitbake -f linux Takes some time...
|
By
Zoltan Kerenyi Nagy
· #52061
·
|
|
insmod - huawei E3372h kernel module
Hi Zoran, Interestingly I don't have any header file on the target: # find / -name *.h #
Hi Zoran, Interestingly I don't have any header file on the target: # find / -name *.h #
|
By
Zoltan Kerenyi Nagy
· #52056
·
|
|
insmod - huawei E3372h kernel module
My modeles.dep file looks like this on target: kernel/fs/nfs/flexfilelayout/nfs_layout_flexfiles.ko: kernel/crypto/echainiv.ko: kernel/crypto/gcm.ko: kernel/crypto/ccm.ko: kernel/crypto/ghash-generic.
My modeles.dep file looks like this on target: kernel/fs/nfs/flexfilelayout/nfs_layout_flexfiles.ko: kernel/crypto/echainiv.ko: kernel/crypto/gcm.ko: kernel/crypto/ccm.ko: kernel/crypto/ghash-generic.
|
By
Zoltan Kerenyi Nagy
· #52049
·
|
|
insmod - huawei E3372h kernel module
Here is an error message: modprobe - insmod
Here is an error message: modprobe - insmod
|
By
Zoltan Kerenyi Nagy
· #52043
·
|
|
insmod - huawei E3372h kernel module
I don have a recipie for /etc/modules To my understanding this order will cause the load: KERNEL_MODULE_AUTOLOAD += "ncm_driver"KERNEL_MODULE_PROBECONF += "ncm_driver"cdc_ncm = "options ncm_driver iPr
I don have a recipie for /etc/modules To my understanding this order will cause the load: KERNEL_MODULE_AUTOLOAD += "ncm_driver"KERNEL_MODULE_PROBECONF += "ncm_driver"cdc_ncm = "options ncm_driver iPr
|
By
Zoltan Kerenyi Nagy
· #52040
·
|
|
insmod - huawei E3372h kernel module
Thank you Zoran, I will do it :-)
Thank you Zoran, I will do it :-)
|
By
Zoltan Kerenyi Nagy
· #52029
·
|
|
devtool add
Hi Folks, Is it possible to create a recipe file with devtool? devtool add cdc-ncm https://raw.githubusercontent.com/torvalds/linux/master/drivers/net/usb/cdc_ncm.c There is gonna be a file not found
Hi Folks, Is it possible to create a recipe file with devtool? devtool add cdc-ncm https://raw.githubusercontent.com/torvalds/linux/master/drivers/net/usb/cdc_ncm.c There is gonna be a file not found
|
By
Zoltan Kerenyi Nagy
· #52027
·
|
|
insmod - huawei E3372h kernel module
Hi, I contacted the kernel module (cdc_ncm) developper, and he suggested to change/experiment the kernel module load order. I thought if I specify this way: KERNEL_MODULE_AUTOLOAD += "ncm_driver"KERNE
Hi, I contacted the kernel module (cdc_ncm) developper, and he suggested to change/experiment the kernel module load order. I thought if I specify this way: KERNEL_MODULE_AUTOLOAD += "ncm_driver"KERNE
|
By
Zoltan Kerenyi Nagy
· #52026
·
|
|
insmod - huawei E3372h kernel module
If I make a symbolic link for modprobe, the message is the same like insmod: root@barix-ipam400:~# ln -s /lib/modules/4.10.0/extra/cdc-ncm.ko /lib/modules/4.10.0/ root@barix-ipam400:~# modprobe cdc_nc
If I make a symbolic link for modprobe, the message is the same like insmod: root@barix-ipam400:~# ln -s /lib/modules/4.10.0/extra/cdc-ncm.ko /lib/modules/4.10.0/ root@barix-ipam400:~# modprobe cdc_nc
|
By
Zoltan Kerenyi Nagy
· #51982
·
|
|
insmod - huawei E3372h kernel module
Intrestingly modprobe gives me a different error than insmod: To me this means that it's gonna be a Yocto issue during bitbake. My testing kernel module (hello word) bitbakes, and can be loaded and un
Intrestingly modprobe gives me a different error than insmod: To me this means that it's gonna be a Yocto issue during bitbake. My testing kernel module (hello word) bitbakes, and can be loaded and un
|
By
Zoltan Kerenyi Nagy
· #51981
·
|
|
insmod - huawei E3372h kernel module
I managed to bitbake without errors/warning the 2 additional modules, however I cannot load those modules manually on the device: http://paste.ubuntu.com/p/My4x5j3t4R/ Do you you have any idea?
I managed to bitbake without errors/warning the 2 additional modules, however I cannot load those modules manually on the device: http://paste.ubuntu.com/p/My4x5j3t4R/ Do you you have any idea?
|
By
Zoltan Kerenyi Nagy
· #51967
·
|
|
insmod - huawei E3372h kernel module
Hi, Im doing this: KERNEL_MODULE_AUTOLOAD += "ncm_driver"KERNEL_MODULE_PROBECONF += "ncm_driver"cdc_ncm = "options ncm_driver iProduct=USB_Host_Driver_for_Network_Control_Model iManufacturer=NCM" KERN
Hi, Im doing this: KERNEL_MODULE_AUTOLOAD += "ncm_driver"KERNEL_MODULE_PROBECONF += "ncm_driver"cdc_ncm = "options ncm_driver iProduct=USB_Host_Driver_for_Network_Control_Model iManufacturer=NCM" KERN
|
By
Zoltan Kerenyi Nagy
· #51961
·
|
|
insmod - huawei E3372h kernel module
I experimented with the latest and greatest source, this is my log during bitbake: http://paste.ubuntu.com/p/R5PjtrtVYn/ Thank you for your efforts!
I experimented with the latest and greatest source, this is my log during bitbake: http://paste.ubuntu.com/p/R5PjtrtVYn/ Thank you for your efforts!
|
By
Zoltan Kerenyi Nagy
· #51948
·
|
|
insmod - huawei E3372h kernel module
Does it mean that it will never ever work? Could you please try this one? This might match your kernel version: https://elixir.bootlin.com/linux/v5.8.18/source/drivers/net/usb/huawei_cdc_ncm.c
Does it mean that it will never ever work? Could you please try this one? This might match your kernel version: https://elixir.bootlin.com/linux/v5.8.18/source/drivers/net/usb/huawei_cdc_ncm.c
|
By
Zoltan Kerenyi Nagy
· #51947
·
|
|
insmod - huawei E3372h kernel module
No success :-( insmod /lib/modules/4.10.0/extra/huawei_cdc_ncm.ko insmod: can't insert '/lib/modules/4.10.0/extra/huawei_cdc_ncm.ko': unknown symbol in module, or unknown parameter
No success :-( insmod /lib/modules/4.10.0/extra/huawei_cdc_ncm.ko insmod: can't insert '/lib/modules/4.10.0/extra/huawei_cdc_ncm.ko': unknown symbol in module, or unknown parameter
|
By
Zoltan Kerenyi Nagy
· #51943
·
|
|
insmod - huawei E3372h kernel module
Hi, I managed to bitbake with these: http://paste.ubuntu.com/p/4W2525MQDj/ http://paste.ubuntu.com/p/VT3zyhy7h2/ I'm very curious how it behaves on the hardware
Hi, I managed to bitbake with these: http://paste.ubuntu.com/p/4W2525MQDj/ http://paste.ubuntu.com/p/VT3zyhy7h2/ I'm very curious how it behaves on the hardware
|
By
Zoltan Kerenyi Nagy
· #51937
·
|
|
insmod - huawei E3372h kernel module
Hi, Makefile: huawei_cdc_ncm-y := huawei_cdc_ncm.o obj-m += huawei_cdc_ncm.o KDIR ?= /lib/modules/`uname -r`/build all: make -C $(KDIR) M=$(PWD) modules clean: make -C $(KDIR) M=$(PWD) clean install:
Hi, Makefile: huawei_cdc_ncm-y := huawei_cdc_ncm.o obj-m += huawei_cdc_ncm.o KDIR ?= /lib/modules/`uname -r`/build all: make -C $(KDIR) M=$(PWD) modules clean: make -C $(KDIR) M=$(PWD) clean install:
|
By
Zoltan Kerenyi Nagy
· #51936
·
|
|
insmod - huawei E3372h kernel module
Hi Zoran, Thanks, I modified the Makefile: obj-m := huawei_cdc_ncm.o Kconfig (obj-y := huawei_cdc_ncm.o) SRC := $(shell pwd) all: $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install: $(MAKE) -C $(KERNEL
Hi Zoran, Thanks, I modified the Makefile: obj-m := huawei_cdc_ncm.o Kconfig (obj-y := huawei_cdc_ncm.o) SRC := $(shell pwd) all: $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install: $(MAKE) -C $(KERNEL
|
By
Zoltan Kerenyi Nagy
· #51918
·
|
|
insmod - huawei E3372h kernel module
Hi Folks, I bitbaked a Huawei E3372h driver into the distro with this recipe file: SUMMARY = "Huawei Stick kernel module" LICENSE = "CLOSED" inherit module SRC_URI = "file://Makefile \ file://huawei_c
Hi Folks, I bitbaked a Huawei E3372h driver into the distro with this recipe file: SUMMARY = "Huawei Stick kernel module" LICENSE = "CLOSED" inherit module SRC_URI = "file://Makefile \ file://huawei_c
|
By
Zoltan Kerenyi Nagy
· #51915
·
|