mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 18:16:31 +01:00
alsaucm: add alsa-ucm udev rules for PAZ00 (Toshiba AC100/Dynabook AZ).
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
f6b59282f7
commit
25bea6baf7
3 changed files with 23 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -47,6 +47,7 @@ speaker-test/speaker-test
|
|||
alsaloop/alsaloop
|
||||
alsaucm/alsaucm
|
||||
alsaucm/alsaucm.1
|
||||
alsaucm/89-alsa-ucm.rules
|
||||
topology/alsatplg
|
||||
|
||||
include/aconfig.h*
|
||||
|
|
8
alsaucm/89-alsa-ucm.rules.in
Normal file
8
alsaucm/89-alsa-ucm.rules.in
Normal file
|
@ -0,0 +1,8 @@
|
|||
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"
|
|
@ -15,4 +15,17 @@ alsaucm_LDADD = -lasound
|
|||
%.1: %.rst
|
||||
rst2man $< > $@
|
||||
|
||||
EXTRA_DIST = alsaucm.rst
|
||||
udevrules_DATA = \
|
||||
89-alsa-ucm.rules
|
||||
|
||||
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 = 89-alsa-ucm.rules
|
||||
|
|
Loading…
Reference in a new issue