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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-15-2010, 05:31 AM
|
#1
|
Member
Registered: Oct 2006
Posts: 302
Rep:
|
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
|
|
|
02-15-2010, 07:01 AM
|
#2
|
Member
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468
Rep:
|
You need to configure it in PulseAudio, use pavucontrol to change the output device. Install the pavucontrol package if it's not installed.
|
|
|
02-15-2010, 04:52 PM
|
#3
|
Member
Registered: Oct 2006
Posts: 302
Original Poster
Rep:
|
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?
|
|
|
02-16-2010, 02:20 AM
|
#4
|
LQ Guru
Registered: Jan 2002
Posts: 6,042
Rep: 
|
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.
|
|
|
02-16-2010, 07:26 AM
|
#5
|
Member
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468
Rep:
|
Quote:
Originally Posted by Electro
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. 
|
|
|
02-25-2010, 04:45 PM
|
#6
|
Member
Registered: Oct 2006
Posts: 302
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 02:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|