Patchwork busybox: update mdev.conf

login
register
mail settings
Submitter Eric BENARD
Date Sept. 25, 2013, 4:52 p.m.
Message ID <1380127933-18916-1-git-send-email-eric@eukrea.com>
Download mbox | patch
Permalink /patch/58985/
State Accepted
Commit 5454f92e57b03d5e01e5aea394686de83b960ce0
Headers show

Comments

Eric BENARD - Sept. 25, 2013, 4:52 p.m.
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@eukrea.com>
---
 meta/recipes-core/busybox/files/mdev.conf | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Patch

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/