wok-next rev 4832
Fix: udev custom alsa rules for sound device node
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 21 23:15:31 2010 +0100 (2010-01-21) |
parents | e1a68e5d0646 |
children | 8eb12df059bb |
files | udev/receipt udev/stuff/40-alsa.rules |
line diff
1.1 --- a/udev/receipt Thu Jan 21 23:14:05 2010 +0100 1.2 +++ b/udev/receipt Thu Jan 21 23:15:31 2010 +0100 1.3 @@ -51,9 +51,7 @@ 1.4 # Copy rules files to udev conf dir 1.5 mv -f $fs/lib/udev/rules.d $fs/etc/udev 1.6 cp stuff/udev.conf $fs/etc/udev 1.7 - cp stuff/90-permissions.rules $fs/etc/udev/rules.d 1.8 - cp stuff/92-hal.rules $fs/etc/udev/rules.d 1.9 - #cp $src/rules/packages/40-alsa.rules $fs/etc/udev/rules.d 1.10 + cp stuff/*.rules $fs/etc/udev/rules.d 1.11 cp $src/rules/packages/40-zaptel.rules $fs/etc/udev/rules.d 1.12 # Fix permissions 1.13 chmod +x $fs/lib/udev/*
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/udev/stuff/40-alsa.rules Thu Jan 21 23:15:31 2010 +0100 2.3 @@ -0,0 +1,10 @@ 2.4 +# do not edit this file, it will be overwritten on update 2.5 + 2.6 +SUBSYSTEM=="sound", GROUP="audio" 2.7 +KERNEL=="controlC[0-9]*", NAME="snd/%k" 2.8 +KERNEL=="hwC[D0-9]*", NAME="snd/%k" 2.9 +KERNEL=="pcmC[D0-9cp]*", NAME="snd/%k" 2.10 +KERNEL=="midiC[D0-9]*", NAME="snd/%k" 2.11 +KERNEL=="timer", NAME="snd/%k" 2.12 +KERNEL=="seq", NAME="snd/%k" 2.13 +KERNEL=="mixer0", SYMLINK+="mixer"