Recently I switched to a new machine. To problems I encountered with my new system were: 1. My hda-intel sound card was not working, so no sound. 2. Every time I entered to a display manager the system made a beeping sound.
1.As I was not going to use Pulseaudio and wanted to continue using Alsa instead here is how I fixed the issue. You need to be a root or a sudo to execute the commands given below.
echo “options snd-hda-intel model=auto” > /etc/modprobe.d/snd-hda-intel.conf
The above command sets snd-hda-intel model to auto, which means that your system will try to guess the right model.
2.To disable the beeping sound execute the following command, again as a root or a sudo.
blacklist pcspkr” >> /etc/modprobe.d/sound.blacklist
After you are done you need to reboot your computer so that changes can take effect. The reboot is needed because what was done above was basically changing the way a module is loaded (1) and blacklisting a module so it cannot be run by the system (2).
EDIT: CANNOT OPEN SND DEVICE FIX
One thing I forgot to mention earlier was that when you have your newly created user and you try open alsamixer (or any other volume program) to set the volumes you might get something like this;
“cannot open snd device no access or failed to open snd device”
Whatever the actual error message may be it usually indicates that your user is not a member in the audio group. To fix this issue do the following as a root or a sudo:
*Replace username with your actual user’s name
adduser username audio
To verify that you are now in the audio group:
Reboot your system and everything should be good now.