LinuxQuestions.org
Visit Jeremy's Blog.
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 02-15-2010, 05:31 AM   #1
Felipe
Member
 
Registered: Oct 2006
Posts: 294

Rep: Reputation: 31
No sound over HDMI connection


Hallo:

I've bought a laptop HP Pavillion DV6 2026es.

I'm trying to connect it to the TV with HDMI, but the sound is not transmitted.

This is what I have:
root@ubuntu:~# cat /proc/asound/cards
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xf2400000 irq 16
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xf2310000 irq 31

I'm trying it with Kubuntu 9.04.

Can any tell me what do I have to do for transmitting sound over HDMI?

Thanks
 
Old 02-15-2010, 07:01 AM   #2
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mandriva, CentOS, Ubuntu
Posts: 456

Rep: Reputation: 69
You need to configure it in PulseAudio, use pavucontrol to change the output device. Install the pavucontrol package if it's not installed.
 
Old 02-15-2010, 04:52 PM   #3
Felipe
Member
 
Registered: Oct 2006
Posts: 294

Original Poster
Rep: Reputation: 31
I've installed it and running it, it says that the file or directory does not exist.

ubuntu:~$ pavucontrol

(pavucontrol:2698): GVFS-RemoteVolumeMonitor-WARNING **: cannot open directory /usr/share/gvfs/remote-volume-monitors: Ha ocurrido un error al abrir el directorio «/usr/share/gvfs/remote-volume-monitors»:·No existe el fichero ó directorio

The most strange is that the directory really exists:


ubuntu:~$ ls /usr/share/gvfs/remote-volume-monitors -l
total 8
-rw-r--r-- 1 root root 123 2009-10-20 05:57 gdu.monitor
-rw-r--r-- 1 root root 115 2009-10-20 05:57 gphoto2.monitor


Any other suggestion?
 
Old 02-16-2010, 02:20 AM   #4
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Ignore what ongte have stated because pulseaudio is not the only way and I do not recommend this way.

Digital audio in Linux is not reliable. I suggest use a media program to only output digital audio instead all the time. To do this in mplayer use the following.

mplayer -ac hwdts,hwac3,dvdpcm, -channels 2 -ao alsa:device=hw=0.1 dvd://

or

mplayer -afm hwdts,hwac3,dvdpcm, -channels 2 -ao alsa:device=hw=1.0 dvd://

or

mplayer -ac hwdts,hwac3,dvdpcm, -channels 2 -ao alsa:device=hdmi dvd://

or

mplayer -afm hwdts,hwac3,dvdpcm, -channels 2 -ao alsa:device=hdmi dvd://

The dvd:// is just an example file. If you want to output digital audio all the time, you have to edit $HOME/.asoundrc to format the audio in a proper way for the TV to accept the audio. If the TV is HDCP compliant, the possibility of audio playing from digital from a computer is slim to none or you are shit out of luck. For me on a AMD 780G, digital audio over HDMI does not work in a reliable way. It only worked sometimes and I am just being nice. It might have improved, but I suggest use analog audio.
 
Old 02-16-2010, 07:26 AM   #5
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mandriva, CentOS, Ubuntu
Posts: 456

Rep: Reputation: 69
Quote:
Originally Posted by Electro View Post
Ignore what ongte have stated because pulseaudio is not the only way and I do not recommend this way.
...
I understand pulseaudio has it's problems. Until just recently PulseAudio has been pretty shite.
Maybe I'm a lucky one but PulseAudio has worked quite well for me. I'm running Mandriva 2010 & I regularly use PulseAudio to switch output devices on my audio streams on a per application basis.
For example. When listening to Music with Amarok, the audio goes by default to my Bluetooth Headphones.
When playing video with SMPlayer, I can set it to output to my Dell LCD monitor through the HDMI port & it comes out of the monitor's built-in speakers. (It's not a TV though, so you're right about the HDCP problem)

I gotta hand it to the Mandriva guys. They have the best PulseAudio implementation I've seen so far.
 
Old 02-25-2010, 04:45 PM   #6
Felipe
Member
 
Registered: Oct 2006
Posts: 294

Original Poster
Rep: Reputation: 31
SOLVED: Audio on HDMI

I've installed OpenSuse 11.2, installed ATI driver, places HDMI as first device in preferenes-multimedia and now it works fine.

Thanks
 
  


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
gentoo on appletv no sound (hdmi or composite) h2sammo Linux - Hardware 2 12-25-2010 12:43 PM
HP dv9850es, CX20561 and HDMI sound Zup Linux - Hardware 12 02-08-2010 07:44 AM
Sound HDMI 780G MythTV Mplayer Xine forum1793 Linux - Hardware 13 04-26-2009 08:35 AM
NVIDIA GeForce 8200 using HDMI connection to TV RLH1919 Linux - Hardware 2 04-13-2009 04:08 PM
No sound over HDMI Video Card with GeForce 9500GT jpacooper Linux - Hardware 2 02-03-2009 05:07 PM


All times are GMT -5. The time now is 05:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration