examples/mdev_fat.conf: document that newer mdev exposes path
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 7 Feb 2015 17:14:39 +0000 (18:14 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 7 Feb 2015 17:14:39 +0000 (18:14 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
examples/mdev_fat.conf

index f2a15f35d44fdc6daf97224fc75f8b4a4fcdd6ff..630d2700a214a741799b604c2daefc06b204b5f2 100644 (file)
@@ -19,7 +19,7 @@
 # support module loading on hotplug
 $MODALIAS=.*   root:root 660 @modprobe "$MODALIAS"
 
-# null may already exist; therefore ownership has to be changed with command
+# null may already exist; therefore mode has to be changed with command
 null           root:root 666 @chmod 666 $MDEV
 zero           root:root 666
 full           root:root 666
@@ -31,7 +31,7 @@ grsec         root:root 660
 kmem           root:root 640
 mem            root:root 640
 port           root:root 640
-# console may already exist; therefore ownership has to be changed with command
+# console may already exist; therefore mode has to be changed with command
 console                root:tty 600 @chmod 600 $MDEV
 ptmx           root:tty 666
 pty.*          root:tty 660
@@ -63,6 +63,12 @@ control.*    root:audio 660 =snd/
 midi.*         root:audio 660 =snd/
 seq            root:audio 660 =snd/
 timer          root:audio 660 =snd/
+# for kernels/mdevs which expose full path of alsa devices:
+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
 
 adsp           root:audio 660 >sound/
 audio          root:audio 660 >sound/
@@ -139,6 +145,6 @@ dahdi!(.*)  root:dialout 660 =dahdi/%1
 # We are hooking to the last events. To avoid having two scripts running,
 # we check for DISK_MEDIA_CHANGE=1 (prev to last event has it,
 # and it's the _only_ difference in env for these two events as of kernel 3.7.7)
-# Unfortunately, there is no event for "user pressed [Turn USB storage] btn"!
+# Unfortunately, there is no event for "user pressed [Turn USB storage on] btn"!
 # Script merely backgrounds and tries to rescan partition table for 1 minute:
 ACTION=change;SUBSYSTEM=block;DISK_MEDIA_CHANGE=1;.*    0:0 660 */etc/mdev.conf.change_blockdev.sh