The very new HP Envy 15 or any other high config machine with Beats Audio with its 4 audio speakers (2 under the display & 2 below the keyboard in the back panel) and sub-woofer boasting Beats Audio technology which in itself is a tremendous piece of work in the audio technology domain. It has an impressive audio output registering an average 85 decibels on playing Bryan Adam’s Summer of ‘69.
But the tricky part is; if you are a Ubuntu Geek and want to run the same machine on Ubuntu with the expectation that it will run perfectly fine just like it runs on pre-installed Windows; then you are mistaken. Ubuntu by default takes the default Intel on-board audio controller instead of Beats’ external one and your beats audio on ubuntu are dead. You will need to explicitly tell you machine to override the on-board audio controller. It is a big turn off if you can’t get your machine working on its full capacity even though it is capable of doing so. Here is an easy to go steps to get that outstanding result back on Ubuntu:
- Firstly you will need to install
hda-jack-retasktool; which mainly helps us to re-task the audio jack pins on our motherboard.
sudo apt-add-repository ppa:diwic/hda
sudo apt-get update
sudo apt-get install hda-jack-retask
- Open hda-jack-retask
- Select the
IDT 92HD91BXXcodec (may be different on other models; but definately other than your on-board controller i.e., Intel-XXX).
- Check the “Show unconnected pins” box (the internal speakers do not show as connected).
- Remap 0x0d (Internal Speaker, which is your Front side) to “Internal speaker”.
- Remap 0x0f (“Not connected”, which is the under-display speakers) to “Internal speaker”.
- Remap 0x10 (“Not connected”, which is the subwoofer) to “Internal speaker (LFE)”.
- Apply & test audio output with any media player.
- Select “Install boot override” to save the settings to apply at boot time.
- Reboot. When it comes back, you should have full sound from all speakers. Also test headphones. Plugging in headphones should disable sound from all internal speakers.
NOTE : This solution will work on Ubuntu 12.04, 12.10 & 13.04. From 13.10 on wards
hda-jack-retask has been moved to another ppa repository; and the pulse configuration for the Audio Jack Tasks is changed as well.
As of Ubuntu 13.10,
hda-jack-retask is part of
alsa-tools. Just install the
alsa-tools-gui package from the regular archive and start “hdajackretask”. (Note: if you don’t have a
.pulse directory, try symlinking
.config/pulse - and remove the symlink again when you have closed
hda-jack-retask. Solution is not tested with guarantee that it would work on all the machines.)
UPDATE : Tested on 14.04 as well & it works properly.