28 October 2013

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:

  1. Firstly you will need to install hda-jack-retask tool; which mainly helps us to re-task the audio jack pins on our motherboard.
  2. sudo apt-add-repository ppa:diwic/hda
  3. sudo apt-get update
  4. sudo apt-get install hda-jack-retask
  5. hda-jack-retask &
  6. Open hda-jack-retask
  7. Select the IDT 92HD91BXX codec (may be different on other models; but definately other than your on-board controller i.e., Intel-XXX).
  8. Check the “Show unconnected pins” box (the internal speakers do not show as connected).
  9. Remap 0x0d (Internal Speaker, which is your Front side) to “Internal speaker”.
  10. Remap 0x0f (“Not connected”, which is the under-display speakers) to “Internal speaker”.
  11. Remap 0x10 (“Not connected”, which is the subwoofer) to “Internal speaker (LFE)”.
  12. Apply & test audio output with any media player.
  13. Select “Install boot override” to save the settings to apply at boot time.
  14. 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.

Selection_001

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 .pulse to .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.


Categories: Tags:

blog comments powered by Disqus