Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 501  / 3 Years ago, sun, august 29, 2021, 8:04:31

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.


More From » 10.04

 Answers
1

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.


[#43233] Tuesday, August 31, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
suspengn

Total Points: 477
Total Questions: 104
Total Answers: 100

Location: Rwanda
Member since Thu, Feb 10, 2022
2 Years ago
suspengn questions
;