From: mike.looijmans@topic.nl Date: Thu, 18 Dec 2014 14:19:24 +0000 (+0100) Subject: busybox-mdev: Add hotplug kernel module support to mdev.conf X-Git-Tag: 2015-4~994 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=11420b0566a6a085c6cb78f3f1495ed9c599e6fd;p=openembedded-core.git busybox-mdev: Add hotplug kernel module support to mdev.conf Add a line to mdev.conf that tells mdev to load kernel modules when required. For example, if you built wifi support as an external module, inserting a wifi stick into a USB port will now automatically load that module into the kernel and the wlan device will be ready for configuration. Without this patch, you have to load required modules manually or force them to load at system startup. Signed-off-by: Mike Looijmans Signed-off-by: Ross Burton --- diff --git a/meta/recipes-core/busybox/files/mdev.conf b/meta/recipes-core/busybox/files/mdev.conf index e688911ff1..6dfd161fa0 100644 --- a/meta/recipes-core/busybox/files/mdev.conf +++ b/meta/recipes-core/busybox/files/mdev.conf @@ -1,3 +1,5 @@ +$MODALIAS=.* 0:0 660 @modprobe "$MODALIAS" + console 0:0 0600 cpu_dma_latency 0:0 0660 fb0:0 44 0660