udev and alsa

Matias Feliciano feliciano.matias at free.fr
Fri Oct 1 09:18:30 UTC 2004


Le ven 01/10/2004 à 11:01, Harald Hoyer a écrit :
> Don't know, if it really belongs to udev.. but here is an extended script:#!/bin/sh
> 
> 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

useless. udev is call _after_ "modprobe -r" begin (module marked
"unloading" and unusable). No module, no "alsactl store".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e.
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20041001/68d4c323/attachment.sig>


More information about the fedora-devel-list mailing list