udev and alsa

Matias Feliciano feliciano.matias at free.fr
Fri Oct 1 04:52:56 UTC 2004


udev-034-5 is out and is laking alsa support :
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=133535

So the sound setting is not restore at boot time.

It very easy to fix. Add this file (attached to the bug report):
/etc/dev.d/sound/alsa.dev :
        #!/bin/sh
        if [ "$ACTION" != "add" ] ; then
            exit
        fi
        card=`echo $DEVPATH | sed -n -e "s/^\/class\/sound\/controlC\([[:digit:]]\+\)\$/\1/p"`
        if [ $card ] && [ -x /usr/sbin/alsactl ] ; then
            /usr/sbin/alsactl restore $card > /dev/null 2>&1
        fi

I ask to move this bug to udev but it's not done.

This bug, quite "popular", is in "Leave as NEW" state and not "Accept
bug".

The bug is not referenced in :
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=FC3BugWeekTracker
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=FC3BugWeekQA
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=YellowPad
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=FC3Target
-------------- 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/51bc27d2/attachment.sig>


More information about the fedora-devel-list mailing list