From patchwork Fri Mar 24 07:53:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 743096 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vqFzY3Z3cz9s7R for ; Fri, 24 Mar 2017 18:53:45 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=embedded.rocks header.i=@embedded.rocks header.b="JJa43QyD"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B3B9286AEA; Fri, 24 Mar 2017 07:53:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jp5VcGdAWb4b; Fri, 24 Mar 2017 07:53:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 9A4DE86B04; Fri, 24 Mar 2017 07:53:42 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 615C01C00A0 for ; Fri, 24 Mar 2017 07:53:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5DC3588C2F for ; Fri, 24 Mar 2017 07:53:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SyL-N9XnSfbj for ; Fri, 24 Mar 2017 07:53:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.142]) by hemlock.osuosl.org (Postfix) with ESMTPS id 1FD5488C0E for ; Fri, 24 Mar 2017 07:53:40 +0000 (UTC) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3vqFzP6RKNz109J; Fri, 24 Mar 2017 08:53:37 +0100 (CET) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:x-mailer:message-id:date:date:subject:subject:from :from:received:received; s=default; t=1490342016; x=1490946817; bh=x0j8J0+7BG8Dh8gKgE0a2iCbTHkBxfx/Go0FssjTbJs=; b=JJa43QyDdESH zbDUAdm1qfJ8qN8a8l5GdWbhXNT62y07+azszXcMOo9+/Mnp0JMz4nmWctVRZfkN GsKxO9SGHd5CH9wVph25G2lWRv7lzhGZmA1CE13qq4kU12jWPN04ej7Oe0IKd6c6 ppBOJUtKKWWw51z2Yl6vz4LP3Ne0ulUd8tN17gV4v+69N8/lmgmaNqnmkprgKVmR jjVKXYe2yjQyGdA7E8sZ2Kzuxv6ctlojzBVKn/CpoeDWEViB0vXgzItbGBy5s2kF oMdnJsaPb+SwUWg0TxYpAO9gwDaCwBFJmx8Fkfk5CkuL4ZNTT2iVxo84ompdbgCY /aFdms4vNQ== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 583PwcOrb6jF; Fri, 24 Mar 2017 08:53:36 +0100 (CET) Received: from nzxt.fritz.box (x4d021322.dyn.telefonica.de [77.2.19.34]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Fri, 24 Mar 2017 08:53:36 +0100 (CET) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Fri, 24 Mar 2017 08:53:21 +0100 Message-Id: <20170324075321.12384-1-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.12.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] busybox: fix mdev.conf X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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 Signed-off-by: Jörg Krause Reviewed-by: Arnout Vandecappelle (Essensium/Mind) --- package/busybox/mdev.conf | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/package/busybox/mdev.conf b/package/busybox/mdev.conf index 241c1c27d..eaece1b73 100644 --- a/package/busybox/mdev.conf +++ b/package/busybox/mdev.conf @@ -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"