r1017 - trunk/udev

jim at linuxfromscratch.org jim at linuxfromscratch.org
Sat Jan 7 19:51:29 PST 2006


Author: jim
Date: 2006-01-07 20:51:28 -0700 (Sat, 07 Jan 2006)
New Revision: 1017

Modified:
   trunk/udev/
   trunk/udev/55-sound.rules
Log:
 r1305 at server:  jim | 2006-01-07 19:50:38 -0800
 Udev sound updates



Property changes on: trunk/udev
___________________________________________________________________
Name: svk:merge
   - 3949c430-d905-0410-97b6-f115d20341b5:/udev:1299
   + 3949c430-d905-0410-97b6-f115d20341b5:/udev:1305

Modified: trunk/udev/55-sound.rules
===================================================================
--- trunk/udev/55-sound.rules	2006-01-08 03:42:30 UTC (rev 1016)
+++ trunk/udev/55-sound.rules	2006-01-08 03:51:28 UTC (rev 1017)
@@ -10,25 +10,22 @@
 #
 ########################################################################
 
-# ALSA
-KERNEL=="controlC[0-9]*",		NAME="snd/%k", GROUP="audio"
-KERNEL=="hw[CD0-9]*",			NAME="snd/%k", GROUP="audio"
-KERNEL=="pcm[CD0-9cp]*",  		NAME="snd/%k", GROUP="audio"
-KERNEL=="midiC[D0-9]*",	 		NAME="snd/%k", GROUP="audio"
-KERNEL=="timer",			NAME="snd/%k", GROUP="audio"
-KERNEL=="seq",				NAME="snd/%k", GROUP="audio
+SUBSYSTEM="sound",		GROUP="audio"
+SUBSYSTEM="snd",		GROUP="audio"
 
-# Sound devices
-KERNEL=="admmidi*",			GROUP="audio"
-KERNEL=="adsp*",			GROUP="audio"
-KERNEL=="aload*",			GROUP="audio"
-KERNEL=="amidi*",			GROUP="audio"
-KERNEL=="amixer*",			GROUP="audio"
-KERNEL=="audio*",			GROUP="audio"
-KERNEL=="dmfm*",			GROUP="audio"
-KERNEL=="dmmidi*",			GROUP="audio"
-KERNEL=="dsp*",				GROUP="audio"
-KERNEL=="midi*",			GROUP="audio"
-KERNEL=="mixer*",			GROUP="audio"
-KERNEL=="music",			GROUP="audio"
-KERNEL=="sequencer*",			GROUP="audio"
+KERNEL=="controlC[0-9]*",	NAME="snd/%k", GROUP="audio"
+KERNEL=="hwC[D0-9]*",		NAME="snd/%k", GROUP="audio"
+KERNEL=="pcmC[D0-9cp]*",	NAME="snd/%k", GROUP="audio"
+KERNEL=="midiC[D0-9]*",		NAME="snd/%k", GROUP="audio"
+KERNEL=="timer",		NAME="snd/%k", GROUP="audio"
+KERNEL=="seq",			NAME="snd/%k", GROUP="audio"
+
+SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="1604/8000/*", RUN+="/sbin/fxload -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx -I /usr/share/alsa/firmware/usx2yloader/us428fw.ihx"
+SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="1604/8004/*", RUN+="/sbin/fxload -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx -I /usr/share/alsa/firmware/usx2yloader/us224fw.ihx"
+SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="1604/8006/*", RUN+="/sbin/fxload -s /usr/share/alsa/firmware/usx2yloader/tascam_loader.ihx -I /usr/share/alsa/firmware/usx2yloader/us122fw.ihx"
+SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="1604/8001/*", RUN+="/sbin/startproc /usr/bin/us428control"
+SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="1604/8005/*", RUN+="/sbin/startproc /usr/bin/us428control"
+
+SUBSYSTEM=="sound", KERNEL=="controlC?", RUN+="/usr/sbin/alsactl -F restore %n"
+SUBSYSTEM=="sound", KERNEL=="hwC?D2", DRIVER=="EMU10K1_Audigy", RUN+="/etc/alsa.d/udev-soundfont"
+




More information about the cross-lfs mailing list