I am using Debian "testing" and I am getting exactly this problem --
volumes muted after reboot.  This is definitely because of the
/etc/init.d/alsa-utils script getting executed twice.  To discover this,
I did the following:

Copy /usr/sbin/alsactl to /usr/sbin/alsactl.exe
Create new /usr/sbin/alsactl something like the following:

#!/bin/bash
echo `date` "Running alsactl $1 $2 $3" >> /var/log/alsactl
alsactl_exe $1 $2 $3

This means alsactl creates a log file with the date on every execution.

Created 'real files' in /etc/rcS.d and /etc/rc[06].d folders (copies of
/etc/init.d/alsa-utils) with logging going to /var/log/alsactl.

As a side issue, in order to try and fix this I also have rc.local
running alsactl restore.

See attached file alsactl -- this illustrates the problem.  /etc/rc0.d
/K50alsa-utils runs twice on shutdown. The second time around, the
volumes have been zeroed and channels muted; this then gets written to
the asound.state file.

Strangely, rc.local also gets executed twice on startup.

I know I'm not using Ubuntu but this is the only thread I've found (with
a lot of searching) that has the same issue.  Any ideas why my init.d
scripts are running twice?!

Cheers

Chris


** Attachment added: "alsactl"
   http://launchpadlibrarian.net/30992290/alsactl

-- 
[jaunty] Sound muted after boot
https://bugs.launchpad.net/bugs/352732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to