[OE-core] [PATCH] busybox: update mdev.conf

Eric Bénard eric at eukrea.com
Wed Sep 25 16:52:13 UTC 2013


busybox 1.21.1 's mdev has changed the way the device's name is
reported so now we get input/event0 instead of event0.
I think this commit is responsible of this new behaviour :
http://git.busybox.net/busybox/commit/util-linux/mdev.c?id=c3cf1e30a3022453311a7e9fe11d94c7a381640e

Update mdev.conf according to this behaviour so that sound
and input devices are correctly populated (and now
/etc/mdev/find-touchscreen.sh is executed).

Tested on an arm board.

Signed-off-by: Eric Bénard <eric at eukrea.com>
---
 meta/recipes-core/busybox/files/mdev.conf | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-core/busybox/files/mdev.conf b/meta/recipes-core/busybox/files/mdev.conf
index 0e1d6bc..e688911 100644
--- a/meta/recipes-core/busybox/files/mdev.conf
+++ b/meta/recipes-core/busybox/files/mdev.conf
@@ -24,12 +24,14 @@ usbdev.* 0:0 0660 */etc/mdev/usb.sh
 vcs.* 0:5 0660 
 zero 0:0 0666 
  
-pcm.* 0:0 0660 =snd/ 
-control.* 0:0 0660 =snd/ 
-timer 0:0 0660 =snd/ 
+snd/pcm.* 0:0 0660
+snd/control.* 0:0 0660
+snd/timer 0:0 0660
+snd/seq 0:0 0660
+snd/mini.* 0:00 0660
 
-event.* 0:0 0660 =input/ @/etc/mdev/find-touchscreen.sh
-mice 0:0 0660 =input/ 
-mouse.* 0:0 0660 =input/
+input/event.* 0:0 0660 @/etc/mdev/find-touchscreen.sh
+input/mice 0:0 0660
+input/mouse.* 0:0 0660
 
 tun[0-9]* 0:0 0660 =net/
-- 
1.8.4.rc3




More information about the Openembedded-core mailing list