LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-19-2011, 01:25 PM   #1
felipefv
Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 59

Rep: Reputation: 5
HDMI Audio doesn't work - Debian Squeeze (Intel HDMI)


Hi,

I'm trying to plug my computer to the TV through the HDMI output but there's no audio coming from it. The image is ok.

Reading some other posts here, I've tried to create the file "asound.conf" in /etc with the following information (two attempts):

1 - pcm.!default hdmi:Intel

2 - pcm.!default {
type plug
{
slave.pcm
type hw
card 0
device 3
}
}

I checked the card and device numbers and they are correct.

The applications used to test (aplay and speaker-test) with the parameters "-d plughw: 0.3" and "-D hw: 0.3" did not work as well.

Now, to make it worse, when Totem starts it pauses for one second (mouse too).

Well .. anyone know any solution to this problem of HDMI audio?

Infos:
Debian Squeeze (updated)
Motherboard: ASUS P7H55-M/BR
Video: Intel HDMI (onboard)

Thank you!

Last edited by felipefv; 09-19-2011 at 03:38 PM.
 
Old 09-19-2011, 03:03 PM   #2
jayfree
Member
 
Registered: Oct 2009
Location: NJ
Distribution: fedora 20 and rawhide
Posts: 47

Rep: Reputation: 8
One thing you should check, cause it happened to me. I connected pc to my tv, then switched to hdmi input on tv, then switched to hdmi output on pc, then switched to hdmi sound output(in pulse audio)on pc, the picture was ok, but no sound. Tinkered with it for hours before I realized that the tv had reset the audio input to analog because there was no sound detected from hdmi connection when it was enabled. After resetting sound input on tv to hdmi it was there. So to sum it up, make sure hdmi audio and video output are enabled before switching input on tv. Hope this helps.
 
Old 09-19-2011, 03:29 PM   #3
felipefv
Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by jayfree View Post
One thing you should check, cause it happened to me. I connected pc to my tv, then switched to hdmi input on tv, then switched to hdmi output on pc, then switched to hdmi sound output(in pulse audio)on pc, the picture was ok, but no sound. Tinkered with it for hours before I realized that the tv had reset the audio input to analog because there was no sound detected from hdmi connection when it was enabled. After resetting sound input on tv to hdmi it was there. So to sum it up, make sure hdmi audio and video output are enabled before switching input on tv. Hope this helps.
Thanks for the reply, jayfree.

But where can I find this options? The TV doesn't have anything like that. I don't remember anything like that in Debian Squeeze (but I didn't search for "pulse audio").
 
Old 09-19-2011, 03:54 PM   #4
jayfree
Member
 
Registered: Oct 2009
Location: NJ
Distribution: fedora 20 and rawhide
Posts: 47

Rep: Reputation: 8
The tv audio settings are a little deeper in the menu than the common settings, you would have to check the manual to locate it, and they are on a per input basis, like my tv has 3 hdmi ports with individual settings for each one. I use fedora with kde, so my pulse audio settings are in the mixer for kde, Debian is foreign to me, so I'm sorry I can't be of more assistance.
 
Old 09-19-2011, 03:57 PM   #5
felipefv
Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by jayfree View Post
The tv audio settings are a little deeper in the menu than the common settings, you would have to check the manual to locate it, and they are on a per input basis, like my tv has 3 hdmi ports with individual settings for each one. I use fedora with kde, so my pulse audio settings are in the mixer for kde, Debian is foreign to me, so I'm sorry I can't be of more assistance.
I understand. But thanks for the help. I'll try to find something at the TV menu and keep looking here for some solution.
 
Old 09-20-2011, 08:12 AM   #6
felipefv
Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 5
Well... to make it work, I had to run the commands:

m-a update
m-a prepare
m-a a-i -t alsa-source

I already did something like that when installing some nVidia card. But can anyone tell me what's going on when I run those commands/apps?
 
Old 09-21-2011, 07:54 AM   #7
jayfree
Member
 
Registered: Oct 2009
Location: NJ
Distribution: fedora 20 and rawhide
Posts: 47

Rep: Reputation: 8
http://wiki.debian.org/ModuleAssistant
 
Old 09-21-2011, 09:46 AM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Can you post the output of 'lspci -k'.

This may or may not help:
http://www.linuxquestions.org/questi...2/#post4032980
 
Old 02-06-2012, 10:47 AM   #9
dreamviewer
LQ Newbie
 
Registered: Feb 2012
Location: UK
Posts: 2

Rep: Reputation: Disabled
Hi All,

I just discovered this great forum when trying to find a solution to this HDMI audio on Debian problem. A great forum. Keep up the good work!

Now, I have an HP Pavilion Slimline s5780uk running Debian GNU/Linux 6.0.4 (squeeze) and I cannot get HDMI audio to work. The sound card is detected because the audio works well through the analogue outputs, but silence on HDMI, although the picture is fantastic. I have checked the Alsa Mixer and all options are enabled and volume controls are at the maximum.

Here is what my '/etc/modprobe.d/alsa-base.conf' looks like.

---

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }

# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2

---

Can anyone shed any light on what the problem is?


Thanks for any help,



dreamviewer

Last edited by dreamviewer; 02-06-2012 at 10:52 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nVidia HDMI Audio Doesn't Work scott12087 Linux - Hardware 19 03-09-2011 05:43 PM
Debian Squeeze - No Hdmi port nicholls15 Linux - Newbie 1 11-10-2010 12:22 PM
HDMI Audio with 12.2 Woodsman Slackware 27 09-04-2009 11:53 PM
HDMI Audio with Current/13.0 Woodsman Slackware 2 08-24-2009 02:40 PM
Audio through HDMI Cable? Jeff91 Linux - Hardware 7 06-26-2009 10:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration