Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] No sound over HDMI, Intel HD2000
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Baarn
n00b
n00b


Joined: 02 Mar 2011
Posts: 17

PostPosted: Thu Feb 02, 2012 5:46 pm    Post subject: [solved] No sound over HDMI, Intel HD2000 Reply with quote

I am using my CPUs IGP (Intel HD2000) and the onboard HDMI-plug of my motherboard (AsRock Z68 Pro3) to connect my TV and my pc.
There is no error when I try to play music in mplayer, just no sound.

Output of alsa-info

I even tried booting from an Ubuntu LiveUSB to see if another distro works and why, but no sound there as well.

Any ideas?

edit: marked as solved.


Last edited by Baarn on Fri Feb 03, 2012 6:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Feb 02, 2012 10:53 pm    Post subject: Reply with quote

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

You need to set one of these HDMI outputs as default in your .asoundrc (or /etc/asound.conf for systemwide setting).
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Baarn
n00b
n00b


Joined: 02 Mar 2011
Posts: 17

PostPosted: Fri Feb 03, 2012 6:05 pm    Post subject: Reply with quote

Thanks for the hint.

First I was even more confused than I was before, but at least I got something out my TV-Speakers :D

what I did to my /etc/asound.conf:

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

pcm.!default {
        type  plug
        slave.pcm "hdmi1"
}

pcm.analog {
        type hw
        card 0
        device 0
}

pcm.digital {
        type hw
        card 0
        device 1
}

pcm.hdmi0 {
        type hw
        card 0
        device 3
}

pcm.hdmi1 {
        type hw
        card 0
        device 7
}


Using aplay I was able to generate some static noise through my TV-Speakers
Code:
aplay -Dplug:hdmi1 /media/Music/01\ Generator.mp3

Although the song is called generator, some bad religion coming out of the speakers would be better than just static.

edit: just looking at the debug output: "playing raw data" "Unsigned 8 bit" "Rate 8000 Hz" "Mono"
smells like I should play *.wav :oops:

edit2: after playing a wav file it works.
how do I reconfigure my /etc/asound.conf to do this?

edit3: updated the /etc/asound.conf to use hdmi1 as default wooorks! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum