alsa-utils/alsa-udev-asound.conf.rules

6 lines
493 B
Plaintext
Raw Normal View History

SUBSYSTEM!="sound", GOTO="asoundconf_alsa_end"
KERNEL=="controlC[0-9]*", SUBSYSTEMS!="usb", ACTION=="add", RUN+="/usr/sbin/update-alternatives --set asound.conf /etc/asound.conf.alsa"
KERNEL=="controlC[0-9]*", SUBSYSTEMS=="usb", ACTION=="add", RUN+="/usr/sbin/update-alternatives --set asound.conf /etc/asound.conf.alsa-usb"
KERNEL=="controlC[0-9]*", SUBSYSTEMS=="usb", ACTION=="remove", RUN+="/usr/sbin/update-alternatives --set asound.conf /etc/asound.conf.alsa"
LABEL="asoundconf_alsa_end"