On 8/22/06, Peter Davoust <[EMAIL PROTECTED]> wrote:
After a newfound interest in using acpid, I looked up a howto, and then tried
to debug. After some googling, I found that the problem was that default.sh
in /etc/acpid is stupid, and when It finds an event it doesn't understand
(all events) it shuts down the machine and complains. I changed this line,
and it now works perfectly. Now alsactl restore is another story. I tried
alsactl store 0 and alsactl store 1, but alsactl restore doesn't do anything.
It works, but I still have to go through my ritual of playing with the
volume. Any other ideas?

Hmm, that should have worked.  Maybe you can do some more playing with
alsactl and the -f option.  I think you could drop all mixers to 0 and
mute them, and save that with "alsactl -f /etc/asound.state.silent
store".  The on resume, try:

alsactl -f /etc/asound.state.silent restore
alsactl -f /etc/asound.state restore

This should try to mute everything, and then restore the normal volumes.

Good luck,
-Richard
--
[email protected] mailing list

Reply via email to