Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

After resuming from suspend my PC speaker becomes silent. I need to run alsamixer and arbitrarily adjust its volume either up or down for it to come back again. But if I suspend and then resume a second time the same problem happens again.

Any ideas what might be making it silent?

I have already checked the following:

  1. lsmod | grep pcspkr
  2. ~/.xinitrc
  3. ~/profile
  4. /etc/profile
  5. /etc/inputrc
  6. /etc/X11/Xsession

As suggested below, a useful workaround is to create a hook /etc/pm/sleep.d/alsa to run alsactl restore upon resuming from sleep. But I still don't know what the problem is.

Thanks.

share|improve this question

1 Answer 1

Check command line mixer applications like aumix or rexima - you can hook them somehow the wake-up scripts. Or use alsactl restore. The reason is probably a sub-optimal wake-up script.

share|improve this answer
    
Thanks! I created a /etc/pm/sleep.d/alsa hook to run alsactl restore upon resuming. Now the PC speaker works! –  nicolai.rostov Nov 28 '12 at 12:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.