Re: udev and alsa

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le ven 01/10/2004 Ã 11:01, Harald Hoyer a Ãcrit :
> elif [ "$ACTION" == "remove" ] ; then
>          card=`echo $DEVPATH | sed -n -e "s/^\/class\/sound\/controlC\([[:digit:]]\+\)\$/\1/p"`
>          if [ $card ] && [ -x /usr/sbin/alsactl ] ; then
>                  /usr/sbin/alsactl store $card > /dev/null 2>&1
>          fi
> fi

btw, this is done by /etc/modprobe.conf. example :
remove snd-via82xx { /usr/sbin/alsactl store 1 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux