The module evbug floods the dmesg output with input events such as mouse and causes the boot-up message to be discarded as dmesg buffer wraps.
Disable the module mxc_vadc can reduce the power comsumption for i.Mx6SX SOC in the non-video-input scenario. Add them into /etc/modprobe.d/blacklist.conf and load them manually when needed Signed-off-by: Jun Zhu <[email protected]> --- recipes-core/udev/udev-extraconf/imx/blacklist.conf | 3 +++ .../udev/udev-extraconf/mx6sx/blacklist.conf | 4 ++++ recipes-core/udev/udev-extraconf_%.bbappend | 20 ++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 recipes-core/udev/udev-extraconf/imx/blacklist.conf create mode 100644 recipes-core/udev/udev-extraconf/mx6sx/blacklist.conf create mode 100644 recipes-core/udev/udev-extraconf_%.bbappend diff --git a/recipes-core/udev/udev-extraconf/imx/blacklist.conf b/recipes-core/udev/udev-extraconf/imx/blacklist.conf new file mode 100644 index 0000000..f771bce --- /dev/null +++ b/recipes-core/udev/udev-extraconf/imx/blacklist.conf @@ -0,0 +1,3 @@ +# blacklist +# Users can manually load it with modprobe later after booting. +blacklist evbug diff --git a/recipes-core/udev/udev-extraconf/mx6sx/blacklist.conf b/recipes-core/udev/udev-extraconf/mx6sx/blacklist.conf new file mode 100644 index 0000000..d3d394a --- /dev/null +++ b/recipes-core/udev/udev-extraconf/mx6sx/blacklist.conf @@ -0,0 +1,4 @@ +# blacklist +# Users can manually load it with modprobe later after booting. +blacklist evbug +blacklist mxc_vadc diff --git a/recipes-core/udev/udev-extraconf_%.bbappend b/recipes-core/udev/udev-extraconf_%.bbappend new file mode 100644 index 0000000..724bc6e --- /dev/null +++ b/recipes-core/udev/udev-extraconf_%.bbappend @@ -0,0 +1,20 @@ +# Freescale i.MX SOC extra configuration udev rules +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI_append_mx6 = " file://blacklist.conf " +SRC_URI_append_mx6ul = " file://blacklist.conf" +SRC_URI_append_mx7 = " file://blacklist.conf" + +do_install_prepend () { + if [ -e "${WORKDIR}/blacklist.conf" ]; then + install -d ${D}${sysconfdir}/modprobe.d + install -m 0644 ${WORKDIR}/blacklist.conf ${D}${sysconfdir}/modprobe.d + fi +} + + +FILES_${PN}_append = " ${sysconfdir}/modprobe.d" + +PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}" +PACKAGE_ARCH_mx6ul = "${MACHINE_SOCARCH}" +PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}" -- 1.9.1 -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
