I’m not writing now about all the problems with the HP laptops and Linux. I’m not going to say that Microsoft is a bully and HP is his sycophant. Not today.
If you have one of those HP laptops with Beats Audio and you managed to install Linux, you will realise that the sound is… Well… Crap.
This is how you solve it:
1.- Install alsa-tools-gui:
sudo apt-get install alsa-tools-gui
If you have any problem, try adding this repository:
sudo add-apt-repository ppa:diwic/hda && sudo apt-get update && sudo apt-get install hda-jack-retask
2.- Launch hda-jack-retask:
3.- Select the codec beginning by IDT and remap these pins (you need to check “Show unconnected pins”):
- 0x0d (Internal Speaker, Front side) to “Internal speaker”
- 0x0f (“Not connected” but is the under-display speakers) to “Internal speaker”
- 0x10 (“Not connected” but is the subwoofer) to “Internal speaker (LFE)”
Click on “Apply now”. Un-mute the sound and increase and decrease the sound volume. Now run this in a different terminal to be sure that everything is workign fine:
speaker-test -c5 -l1 -twav
If something goes wrong, just reboot. If everything is working fine, press on “Install boot override”.
In the case those overriding pins are not correct, you can try your own configuration until everything goes all right.