HP Envy 15 Speakers Partially Working (Beats Audio) [closed]

The subwoofer and rear speakers are not detected in Debian. You need to correctly assign the pins using hdajackretask. To install hdajackretask execute following command in terminal

sudo apt-get install alsa-tools-gui

now run sudo hdajackretask in a terminal. A window will open with many options. Select the proper "Codec" and check the "Show unconnected pins" and now change the pins accordingly.

0x0D -> Internal Speaker

0x0F -> Internal Speaker (Back)

0x10 -> Internal Speaker (LFE) #This is the subwoofer

Now click on "Apply". To make the changes permanent, click on "Install boot override".