-1

I have a Dell inspiron 15 3542 and i could never get HDMI working properly and a few days ago I finally got it working after installing intel drivers. All was working fine until today my tv wouldn't produce any sound and HDMI wasn't an option under sound settings. I found a thread with somewhat similar issues and while trying to deal with my impatient family I ran the commands that were suggested before seeing the small comment under it stating it caused even more problems. The commands I ran can be found at the bottom of here: HDMI is not displayed in the "Sound" settings on Ubuntu 14.04 LTS

The only one i didn't do was sudo apt-get dist-upgrade because I wanted to stay on 14.04LTS and wasn't sure what that command would put me on. Now I still don't have HDMI audio out but now I also don't have half of my system settings. appearance, sound, etc...

How can I fix this without losing my data? I am relatively new to linux and I could really use some help! I'm now forced to boot windows for working HDMI audio...

2 Answers2

0

There is a known issue about this kind of HDMI audio detection issue when the laptop is booted without the charger. The power saving stuff sometimes make the detection not working.

One easy way to verify this is to forcibly (harmless, don't worry) play a sound with command-line commands, assign the output to the HDMI port even if it's not in your sound settings.

First, connect your HDMI device and open a terminal with Ctrl + Alt + t, run:

aplay -l

You should see a list of audio devices here:

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC290 Analog [ALC290 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Next, play a sound and assign the output device to the HDMI:

aplay -D hdmi:HDMI,1 tmp.wav

The number "1" here is base on the output from the aplay -l command, so it could be 0, 1 or 2. And you can use another file to replace the tmp.wav here.

This should wake your HDMI audio device up, and it will now be available in the Sound settings.

Workaround

If this is the case, a workaround is to edit the config file with:

sudo vi /etc/modprobe.d/alsa-base.conf

(vi could be changed with any other editor that you're familiar with)

And append the following line to it:

options snd-hda-intel power_save_controller=N 

After reboot, your HDMI audio detection should be working whenever the charger is plugged or not.

Good luck.

P.-H. Lin
  • 2,844
  • 1
  • 19
  • 20
0

Run

sudo apt-get install ubuntu-desktop

to get the icons in system settings back.

hatch
  • 2,323
Sameer
  • 1