[Pkg-alsa-devel] Bug#435624: /etc/init.d/udev restart && udevtrigger restores saved ALSA volume
Marco d'Itri
md at Linux.IT
Thu Aug 2 10:01:55 UTC 2007
reassign 435624 alsa-base
close 435624
thanks
On Aug 02, Timo Juhani Lindfors <timo.lindfors at iki.fi> wrote:
> 5) sudo udevtrigger; sleep 20
*Never* do this unless you have a very good reason, because it has side
effects like this one.
> Expected results:
> 6) Volume level does not change in udev restart and is the same as in
> step 3
>
> Actual results:
> 3) vol 30, 30, P
> 6) vol 90, 90, P -- Volume is apparently restored to the last saved
> ALSA volume state.
I have a very simple solution: don't do it then!
> Maybe udev should call "/etc/init.d/alsa-utils stop" too to store the volume levels?
Maybe you should discuss this with the alsa-base maintainers, but I do
not think it should because the remove event would never be generated.
> Google finds that a similar "udev restart resets sound volume" bug was
> fixed in mandriva in 2005:
>
> http://cvs.mandriva.com/cgi-bin/viewvc.cgi/soft/sound-scripts/alsa.dev?diff_format=u&revision=1.6&view=markup
This would not change anything because no remove event is triggered by
the operations you performed.
--
ciao,
Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20070802/a7fc58b0/attachment-0001.pgp
More information about the Pkg-alsa-devel
mailing list