From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Marco d'Itri" Date: Sat, 06 Mar 2004 16:27:02 +0000 Subject: Bug#236343: udev breaks alsamixer settings Message-Id: <20040306162702.GA12035@wonderland.linux.it> List-Id: References: <4049FA7E.3030200@reactivated.net> In-Reply-To: <4049FA7E.3030200@reactivated.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Can this be fixed in udev or do I need to teach all users and maintainers to put call sleep in the install statements of modprobe.conf? ----- Forwarded message from Sam Halliday ----- Subject: Bug#236343: udev breaks alsamixer settings Reply-To: Sam Halliday , 236343@bugs.debian.org From: Sam Halliday Package: udev Version: 0.021-1 hi there, i just installed udev on a debian system running the linux kernel, version 2.6.3. i use ALSA and for some reason i needed to use alsamixer to reset my sound settings after installing udev and rebooting. i restarted the alsa daemon to save these settings `/etc/init.d/alsa restart`, but upon restarting; the sound was again mute. cheers, Sam -- Free High School Science Texts http://savannah.nongnu.org/projects/fhsst Sam's Homepages http://fommil.homeunix.org/~samuel http://www.ma.hw.ac.uk/~samuel ----- End forwarded message ----- ----- Forwarded message from Tore Anderson ----- Subject: Bug#236343: udev breaks alsamixer settings Reply-To: Tore Anderson , 236343@bugs.debian.org From: Tore Anderson To: 236343@bugs.debian.org The reason why this happens is that when the ALSA init script first loads the modules and then goes on to restore the mixer settings, udev isn't quick enough to have create all the (mixer) devices. I added a 'sleep 2s' to /etc/init.d/alsa, right before the "alsactl restore" invocation, and it has been working flawlessly ever since. I'm not sure whether or not this should be considered a bug in alsa-base or udev (or perhaps some of both?), though. -- Tore Anderson ----- End forwarded message ----- -- ciao, | Marco | [4940 trRiDXpW4zBhA] ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel