summaryrefslogtreecommitdiffstats
path: root/extra/alsa-plugins/40-alsa.rules
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-11-14 16:15:07 +0100
committertnut <thierryn1 at hispeed dot ch>2009-11-14 16:15:07 +0100
commit81d152f5d90ad8cac42120011ce936c9bf5c8689 (patch)
treef74bf63da8b8a040207470976122377c0a5fb1f5 /extra/alsa-plugins/40-alsa.rules
parent170ea45ce5b9fcde0dc90c1c39602112e5ec6780 (diff)
downloadnutyx-extra-81d152f5d90ad8cac42120011ce936c9bf5c8689.tar.gz
nutyx-extra-81d152f5d90ad8cac42120011ce936c9bf5c8689.tar.bz2
nutyx-extra-81d152f5d90ad8cac42120011ce936c9bf5c8689.tar.xz
nutyx-extra-81d152f5d90ad8cac42120011ce936c9bf5c8689.zip
ajout de alsa-plugins#1.0.21-1
Diffstat (limited to 'extra/alsa-plugins/40-alsa.rules')
-rw-r--r--extra/alsa-plugins/40-alsa.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/alsa-plugins/40-alsa.rules b/extra/alsa-plugins/40-alsa.rules
new file mode 100644
index 000000000..12e570dd8
--- /dev/null
+++ b/extra/alsa-plugins/40-alsa.rules
@@ -0,0 +1,4 @@
+# /etc/udev/rules.d/40-alsa.rules
+
+# When a sound device is detected, restore the volume settings
+KERNEL=="controlC[0-9]*", ACTION=="add", RUN+="/usr/sbin/alsactl restore %n"