Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Very recently a couple of our systems have started making beeps on shutdown, we've not been able to isolate the exact time that they've been updated and it's occuring, but I've narrowed it down to being not pcspkr or snd_pcsp as both are blacklisted under modprobe, and rmmod'ed just to be sure. Now I'm a bit puzzled as I was under the impression those were the only two modules that could make the beep, is there a third lurking that I need to blacklist?

Edit: I've copied the results of lsmod over on Pastebin.

share|improve this question
    
Ubuntu overriding the default behaviour of a sound module is reasonably common (there's even a Launchpad bug for it). –  Nicholas Smith Mar 21 '12 at 12:23
    
This question appears to be abandoned and unanswered, could you perhaps add more detail to your question? If this question no longer applies then you can either delete it or answer it yourself if you've solved the problem. Thanks! –  fossfreedom Mar 21 '12 at 21:00
    
I never actually found the root cause but I can describe the workaround I've put in place. –  Nicholas Smith Mar 23 '12 at 10:01
    
+1 excellent - if you are content - click the tick button next to your answer to close. thanks. –  fossfreedom Mar 23 '12 at 10:05
add comment

2 Answers

up vote 1 down vote accepted

This doesn't answer why we get the problem but to fix it I ended up writing a Python script that uses amixer and alsactl to programatically tell ALSA to reduce volume to 0% and set mute for 'PC Beep', 'Beep' and 'PC Speaker'. It's not bullet proof, as I've found machines with PC speakers that have slightly different names, but it resolved the bulk of the problem.

share|improve this answer
add comment

It could be unrelated to linux: FreeBSD and Windows users report this too; also some graphics cards come with beepers these days, so it may be an age / heat related issue. I'd recommend opening the affected PCs and cleaning their interiors from dust.

share|improve this answer
    
It's doesn't persist with fresh installs, in fact I struggle to duplicate it. I've narrowed it down to being Intel HDA PC Beep (I think) and I can mute it with alsamixer (sort of but not fully), so I don't think it's a hardware one in this case. –  Nicholas Smith Oct 4 '11 at 20:14
add comment

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.