busybox: fix mdev.conf
PATCH 1/1 busybox: fix mdev.conf
mdev does not set "/dev/snd" and "/dev/input" group and permission propery, because with commit c3cf1e30a3022453311a7e9fe11d94c7a381640e (May 2013!) the behavior of mdev has changed.
The device name is now taken directly from the uevent file and does no longer match the old rule.
Fix the rules for "/dev/snd" and "/dev/input" according to the example given in [1].
[1] http://lists.busybox.net/pipermail/busybox/2015-February/082297.html
--- package/busybox/mdev.conf | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
package/busybox/mdev.conf +9 -9
@@ -23,17 +23,17 @@ ttyS[0-9]* root:root 660 ttyUSB[0-9]* root:root 660 # alsa sound devices -pcm.* root:audio 660 =snd/ -control.* root:audio 660 =snd/ -midi.* root:audio 660 =snd/ -seq root:audio 660 =snd/ -timer root:audio 660 =snd/ +snd/pcm.* root:audio 660 +snd/control.* root:audio 660 +snd/midi.* root:audio 660 +snd/seq root:audio 660 +snd/timer root:audio 660 # input stuff -event[0-9]+ root:root 640 =input/ -mice root:root 640 =input/ -mouse[0-9] root:root 640 =input/ -ts[0-9] root:root 600 =input/ +input/event[0-9]+ root:root 640 +input/mice root:root 640 +input/mouse[0-9] root:root 640 +input/ts[0-9] root:root 600 # load modules $MODALIAS=.* root:root 660 @modprobe "$MODALIAS"
Signature · 1 line
2.12.1
PATCH 1/1 busybox: fix mdev.conf
Quoted 2 lines · J?rg Krause
mdev does not set "
/dev/snd" and "/dev/input" group and permission propery, because with commitc3cf1e30a3022453311a7e9fe11d94c7a381640e
properly
Quoted 1 line
(May 2013!) the behavior of mdev has changed.
I.e., released in busybox 1.22, added to Buildroot in 4e8dadfe4b9c. Note that
at that time we still had a version choice for busybox, so there was anyway a problem.
Quoted 9 lines
The device name is now taken directly from the uevent file and does no longer match the old rule.
Fix the rules for "
/dev/snd" and "/dev/input" according to the example given in [1].[1] http://lists.busybox.net/pipermail/busybox/2015-February/082297.html
Signed-off-by J?rg Krause <[email protected]>
I guess almost nobody uses sound, and nowadays most GUI stuff that uses/dev/input needs (e)udev anyway.
Regards,
Arnout
Quoted 36 lines
--- package/busybox/mdev.conf | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)package/busybox/mdev.conf +9
-9@@ -23,17 +23,17 @@ ttyS[0-9]* root:root 660 ttyUSB[0-9]* root:root 660 # alsa sound devices -pcm.* root:audio 660 =snd/ -control.* root:audio 660 =snd/ -midi.* root:audio 660 =snd/ -seq root:audio 660 =snd/ -timer root:audio 660 =snd/ +snd/pcm.* root:audio 660 +snd/control.* root:audio 660 +snd/midi.* root:audio 660 +snd/seq root:audio 660 +snd/timer root:audio 660 # input stuff -event[0-9]+ root:root 640 =input/ -mice root:root 640 =input/ -mouse[0-9] root:root 640 =input/ -ts[0-9] root:root 600 =input/ +input/event[0-9]+ root:root 640 +input/mice root:root 640 +input/mouse[0-9] root:root 640 +input/ts[0-9] root:root 600 # load modules $MODALIAS=.* root:root 660 @modprobe "$MODALIAS"
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
Thomas Petazzoni
AppliedPATCH 1/1 busybox: fix mdev.conf
In reply to Jörg KrauseHello,
Quoted 10 lines · J?rg Krause
mdev does not set "
/dev/snd" and "/dev/input" group and permission propery, because with commitc3cf1e30a3022453311a7e9fe11d94c7a381640e(May 2013!) the behavior of mdev has changed.The device name is now taken directly from the uevent file and does no longer match the old rule.
Fix the rules for "
/dev/snd" and "/dev/input" according to the example given in [1].
Quoted 6 lines
[1] http://lists.busybox.net/pipermail/busybox/2015-February/082297.html
Signed-off-by J?rg Krause <[email protected]>--- package/busybox/mdev.conf | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 busybox: fix mdev.conf
In reply to Jörg KrauseQuoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"J?rg" == J?rg Krause <[email protected]> writes:
mdev does not set "
/dev/snd" and "/dev/input" group and permission propery, because with commitc3cf1e30a3022453311a7e9fe11d94c7a381640e(May 2013!) the behavior of mdev has changed.The device name is now taken directly from the uevent file and does no longer match the old rule.
Quoted 6 lines
Fix the rules for "
/dev/snd" and "/dev/input" according to the example given in [1].[1] http://lists.busybox.net/pipermail/busybox/2015-February/082297.html
Signed-off-by J?rg Krause <[email protected]>
Committed to 2017.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard