[oe-commits] mike.looijmans at topic.nl : busybox-mdev: Add hotplug kernel module support to mdev.conf
git at git.openembedded.org
git at git.openembedded.org
Fri Dec 19 18:09:09 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 11420b0566a6a085c6cb78f3f1495ed9c599e6fd
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=11420b0566a6a085c6cb78f3f1495ed9c599e6fd
Author: mike.looijmans at topic.nl <mike.looijmans at topic.nl>
Date: Thu Dec 18 15:19:24 2014 +0100
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 at topic.nl>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-core/busybox/files/mdev.conf | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-core/busybox/files/mdev.conf b/meta/recipes-core/busybox/files/mdev.conf
index e688911..6dfd161 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
More information about the Openembedded-commits
mailing list