Biji, check my post of 22/10/2008: "I didn't do the fix as reported by Daniel, because I my case the bug is surely in another part of the script. In my case it's in mute_and_zero_levels_on_card() called during mute_and_zero_levels. I've added debugging to test.
In the for loop all kind of devices are muted and almost all entries take a few seconds. The error I get is "amixer: Unable to find simple control '....', 0". The first error I get is "Synth", so amixer works fine for Master, PCM etc which are first in the list. For non working devices, amixer wait a couple of seconds and the whole for loop takes ages. So, (in my case) the real problem is that amixer is too slow if non- existing devices are muted. By the way, the step store_levels() takes only a few seconds." Biji wrote: > ok guys... if found the mistake in /etc/init.d/alsa-utils > it happens when muting soundcard.. see function mute_and_zero_levels.... > calling amixer and repeats for >15 times > and the problem is..... every time we call amixer it needs about 10 seconds > or more .... 10x15=150 s > i don't know why amixer run so slow at shutdown stage > to ubuntu: for quick fix.. maybe we should mute master channel only > -- MASTER storing ALSA mixer element values during shutdown hangs nondeterministically if non-loopback network interfaces are still up https://bugs.launchpad.net/bugs/274995 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
