From: Mike Looijmans <mike.looijmans@topic.nl>
To: <openembedded-core@lists.openembedded.org>
Cc: Mike Looijmans <mike.looijmans@topic.nl>
Subject: [PATCH v2 3/4] busybox-mdev: Add hotplug kernel module support to mdev.conf
Date: Thu, 18 Dec 2014 15:19:24 +0100 [thread overview]
Message-ID: <5492E26C.1090700@topic.nl> (raw)
In-Reply-To: <1418912251-3313-1-git-send-email-mike.looijmans@topic.nl>
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.
---
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 -- 1.7.9.5
Met vriendelijke groet / kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Systems
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: (+31) (0) 499 33 69 79
Telefax: (+31) (0) 499 33 69 70
E-mail: mike.looijmans@topic.nl
Website: www.topic.nl
Please consider the environment before printing this e-mail
Topic zoekt gedreven (embedded) software specialisten!
http://topic.nl/vacatures/topic-zoekt-software-engineers/
next prev parent reply other threads:[~2014-12-18 14:19 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-04 10:27 [PATCH 0/2] Busybox mdev improvements Mike Looijmans
2014-12-04 10:27 ` [PATCH 1/2] busybox-mdev: Install missing find-touchscreen.sh Mike Looijmans
2014-12-04 10:27 ` [PATCH 2/2] busybox/find-touchscreen.sh: Simplify script and recognize USB devices Mike Looijmans
2014-12-04 20:47 ` [PATCH 0/2] Busybox mdev improvements Otavio Salvador
2014-12-05 6:18 ` Mike Looijmans
2014-12-05 11:27 ` Otavio Salvador
2014-12-05 12:57 ` Mike Looijmans
2014-12-05 14:13 ` Otavio Salvador
2014-12-05 9:58 ` [PATCH 1/2] busybox-mdev: Support automatic mounting of block devices Mike Looijmans
2014-12-05 9:58 ` [PATCH 2/2] busybox-mdev: Add hotplug kernel module support to mdev.conf Mike Looijmans
2014-12-17 22:01 ` [PATCH 1/2] busybox-mdev: Support automatic mounting of block devices Burton, Ross
2014-12-18 13:14 ` Mike Looijmans
2014-12-17 22:03 ` Burton, Ross
2014-12-17 22:05 ` Burton, Ross
2014-12-17 22:08 ` Gary Thomas
2014-12-18 6:31 ` Mike Looijmans
2014-12-18 12:55 ` Otavio Salvador
2014-12-18 14:38 ` Mike Looijmans
2014-12-18 6:23 ` Mike Looijmans
2014-12-18 13:30 ` Burton, Ross
2014-12-18 13:54 ` Mike Looijmans
2014-12-18 14:17 ` [PATCH v2 0/4] Busybox mdev improvements Mike Looijmans
2014-12-18 14:17 ` [PATCH v2 1/4] busybox-mdev: Install missing find-touchscreen.sh Mike Looijmans
2014-12-18 14:43 ` Otavio Salvador
2014-12-18 14:17 ` [PATCH v2 2/4] busybox/find-touchscreen.sh: Simplify script and recognize USB devices Mike Looijmans
2014-12-18 14:17 ` [PATCH v2 4/4] busybox-mdev: Support automatic mounting of block devices Mike Looijmans
2015-01-01 2:49 ` Khem Raj
2015-01-01 9:07 ` Mike Looijmans
2015-01-01 13:08 ` Peter A. Bigot
2015-01-01 19:21 ` Mike Looijmans
2014-12-18 14:19 ` Mike Looijmans [this message]
2014-12-18 14:44 ` [PATCH v2 3/4] busybox-mdev: Add hotplug kernel module support to mdev.conf Otavio Salvador
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5492E26C.1090700@topic.nl \
--to=mike.looijmans@topic.nl \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox