diff options
-rw-r--r-- | examples/mdev_fat.conf | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/examples/mdev_fat.conf b/examples/mdev_fat.conf index f2a15f3..630d270 100644 --- a/examples/mdev_fat.conf +++ b/examples/mdev_fat.conf @@ -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 |