From a65f01de17aec844db5ba270371a743071d5f58b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 12 May 2009 21:49:18 +0200 Subject: alsa: add persistant device rules This patch adds persistant device node symlinks for ALSA control devices. This mimics the behaviour of the persistancy rules for other subsystems, such as v4l or storage. This patch is useful only when alsa-lib with this patch is used: http://git.alsa-project.org/?p=alsa-lib.git;a=commit;h=33ab0b5381c87e151e87e5000964edd868484886 This will allow referring to ALSA devices with device strings such as: hw:/dev/snd/by-path/pci-0000:00:1a.1-usb-0:1:1.0 instead of hw:0 where the device index might be unstable. --- rules.d/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rules.d/Makefile.am') diff --git a/rules.d/Makefile.am b/rules.d/Makefile.am index a6ee93f..65800ef 100644 --- a/rules.d/Makefile.am +++ b/rules.d/Makefile.am @@ -3,4 +3,5 @@ include $(top_srcdir)/Makefile.am.inc udevrulesdir = $(udev_prefix)/lib/udev/rules.d dist_udevrules_DATA = \ - 78-sound-card.rules + 78-sound-card.rules \ + 60-persistent-alsa.rules -- cgit