1) Open the Terminal.2) In the terminal: type sudo gedit /etc/modprobe.d/alsa-base3) This will open that file In gedit:Scroll to the bottom of the file and add the new line:options snd-hda-intel enable_msi=14) Save the file and close gedit (you can now also stop the terminal).5) Reboot the computer.After rebooting, the sound should work properly.Also, I thought it may help if I shared the settings I'm using for the audio on my HP. (The settings mentioned below shouldn't be modified before trying the fix above).In System | Preferences | Sound:Sound Events - Sound Playback: AutodetectMusic and Movies - Sound Playback: AutodetectAudio Conferencing - Sound Playback: AutodetectSound Capture: HDA Intel STAC92xx Analog (ALSA)Default Mixer Tracks - Device: HDA Intel (Alsa Mixer).(Select "Front" as the track to control with the keyboard).After setting this, right-click on the speaker icon (usually at the top-left of the screen), and select "Open Volume Control". Click the Preferences button and Check ALL of the choices given to you. Click CLOSE, and now in the volume control, you should see a new tab that says switches. Go to that tab. Check "IEC958 Default PCM", and leave the other 3 options UNCHECKED. Using the Default PCM switch instad of the regular ICH958 seems to be the trick to getting audio working correctly.After doing this, go back to the playback tab. Set the PCM volume to at least 50% (you may want to go higher). Set the master volume to 100&, and the Front to 50%. You should now be able to hear sound properly. you can test this with the sound effects in system | preferences | sound. The volume buttons on your keyboard will adjust the audio for the front speakers, which seems to work better than using the Master, at least in my case. You can try using Master or PCM instead if you want.
“options snd-hda-intel model=laptop enable=1 index=0