Hi JH, On December 23, 2021 11:28:55 AM GMT+01:00, JH <[email protected]> wrote: >Hi, > >I built an OE/Yocto IoT device to include kernel modules of usb_wwan, >usbserial, mwifiex_sdio, mwifiex etc, there is one udev from >meta-freescale/recipes-core/udev/udev-rules-imx/10-imx.rules > ># ls /etc/udev/rules.d >10-imx.rules touchscreen.rules > >My device does not have a touchscreen so that touchscreen.rules should >not be there. The 10-imx.rules does not define any kernel modules >usb_wwan, usbserial, mwifiex_sdio, mwifiex, the device does not have >video or any input > ># cat /etc/udev/rules.d/10-imx.rules >KERNEL=="mc13783_connectiv*", NAME="mc13783_connectivity" ># Anyone has readonly permission to IIM device file >KERNEL=="mxc_iim", MODE="0444", SYMLINK+="mxc_mem" >KERNEL=="mxs_viim", MODE="0444", SYMLINK+="mxc_mem" >KERNEL=="mxc_ipu", MODE="0666" >KERNEL=="mxc_vpu", MODE="0666" >SUBSYSTEM=="video", MODE="0660" >KERNEL=="fb[0-9]", MODE="0660", GROUP="video" >KERNEL=="gsl_kmod", MODE="0660", GROUP="video" >KERNEL=="galcore", MODE="0660", GROUP="video" > >How can I define udev in recipes to make the system to load kernel >modules of usb_wwan, usbserial, mwifiex_sdio, mwifiex in boot? >
IIRC, you need to add your package to KERNEL_MODULE_AUTOLOAD, c.f. https://docs.yoctoproject.org/ref-manual/variables.html#term-KERNEL_MODULE_AUTOLOAD Cheers, Quentin >Thank you. > >Kind regards, > >- jh
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#159977): https://lists.openembedded.org/g/openembedded-core/message/159977 Mute This Topic: https://lists.openembedded.org/mt/87916983/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
