Le vendredi 01 octobre 2004 à 11:20 +0200, Matias Feliciano a écrit :
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
Can people that use monolithic kernels have a hope to get sound working
too ? Please... I thought the whole point of the new udev stack was to
take module loading/unloading out of the configuration picture.
Cheers,
--
Nicolas Mailhot