Your message dated Fri, 3 Aug 2007 21:18:05 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#435624: /etc/init.d/udev restart && udevtrigger restores
saved ALSA volume
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: udev
Version: 0.105-4
Severity: normal
Steps to reproduce:
0) aumix -v90
1) sudo /etc/init.d/alsa-utils restart
2) aumix -v30
3) aumix -q | grep vol
4) sudo /etc/init.d/udev restart
5) sudo udevtrigger; sleep 20
6) aumix -q | grep vol
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.
More info:
1) The problem seems to be caused by the fact that
/etc/udev/alsa-utils.rules:KERNEL=="controlC[0-7]", ACTION=="add",
RUN+="/lib/udev/alsa-utils"
calls /lib/udev/alsa-utils which does
exec /etc/init.d/alsa-utils start $N
Maybe udev should call "/etc/init.d/alsa-utils stop" too to store the volume
levels?
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
so apparently there is some ACTION=="remove" you could catch? (I don't
have much udev experience myself.)
2) As usual, please ask for more info if you can't reproduce the bug.
best regards,
Timo Lindfors
--- End Message ---
--- Begin Message ---
On Aug 02, Timo Lindfors <[EMAIL PROTECTED]> wrote:
> How about the following fix?
I am not inclined to painfully specify every detail.
--
ciao,
Marco
signature.asc
Description: Digital signature
--- End Message ---