alsaucm: remove custom rules, alsactl is UCM aware now

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2020-05-28 21:00:18 +02:00
parent f8a2aad5bb
commit d3d01ee7cf
2 changed files with 2 additions and 21 deletions

View file

@ -1,8 +0,0 @@
SUBSYSTEM!="sound", GOTO="ucm_end"
ACTION!="change", GOTO="ucm_end"
KERNEL!="card*", GOTO="ucm_end"
ATTRS{id}=="PAZ00", RUN+="@bindir@/alsaucm -c PAZ00 set _verb HiFi"
ATTRS{id}=="PAZ00", RUN+="@bindir@/alsaucm -c PAZ00 set _verb Record"
LABEL="ucm_end"

View file

@ -15,17 +15,6 @@ AM_CPPFLAGS = \
%.1: %.rst
rst2man $< > $@
udevrules_DATA = \
89-alsa-ucm.rules
EXTRA_DIST = alsaucm.rst
edit = \
$(SED) -r -e 's,@bindir\@,$(bindir),g' \
-e 's,@mydatadir\@,$(mydatadir),g' \
< $< > $@ || rm $@
89-alsa-ucm.rules: 89-alsa-ucm.rules.in
$(edit)
EXTRA_DIST = alsaucm.rst 89-alsa-ucm.rules.in
CLEANFILES = alsaucm.1 89-alsa-ucm.rules
CLEANFILES = alsaucm.1