summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/files
diff options
context:
space:
mode:
authormike.looijmans@topic.nl <mike.looijmans@topic.nl>2014-12-18 15:19:24 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-19 18:06:46 +0000
commit11420b0566a6a085c6cb78f3f1495ed9c599e6fd (patch)
tree4e102c153d5838735fda89cd119eb75026ee07ce /meta/recipes-core/busybox/files
parente82353eb9f76b582122fda27c93339eac5553eb2 (diff)
downloadopenembedded-core-contrib-11420b0566a6a085c6cb78f3f1495ed9c599e6fd.tar.gz
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 <mike.looijmans@topic.nl> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core/busybox/files')
-rw-r--r--meta/recipes-core/busybox/files/mdev.conf2
1 files changed, 2 insertions, 0 deletions
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