You are not logged in.

#1 2011-01-26 19:06:36

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

[SOLVED] HDMI audio not working (worked in Ubuntu)

hi there,

I have very new hardware (Intel Core i5 2500, using the internal GPU) and already knew that it would probably take me a while to get everything working (especially the GPU). I first tried Ubuntu 11.04 Alpha with the xorg-edgers ppa, which already supported the new GPU, including 3D acceleration... unfortunately, it made my X server crash about every 15 minutes. Having heard about ArchLinux before I thought I should give it a try. Turned out the packages that I need for my GPU are only available in testing (xf86-video-intel 2.14, Mesa 7.10, Kernel 2.6.37), so I'm running on the testing repository right now. But I gotta say that I'm pretty impressed by ArchLinux, Compiz is working perfectly smooth and the whole system feels way faster than Ubuntu. smile

Now regarding my problem, I can't get my HDMI audio to work. Usually I would have said to myself "well, ALSA doesn't support it yet, I guess I'm gonna have to wait" wink. But the reason I'm writing this thread anyway is that it was working fine in Ubuntu 11.04 Alpha. In Ubuntu, I could use the alsa device hdmi:CARD=PCH,DEV=2 for HDMI audio. The strange thing is, this device doesn't exist on my ArchLinux system. Here is my "aplay -L" output.

null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
    HDA Intel PCH, ALC892 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    Front speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output

In Ubuntu, I also had hdmi:CARD=PCH,DEV=1 and hdmi:CARD=PCH,DEV=2. So my question is, why are those missing on my system? Kernel and ALSA are the same version (2.6.37 / 1.0.23)!? I also already downloaded a Daily Snapshot of ALSA and did a ./configure, make, sudo make install - still no luck. And btw, DEV=0 outputs sound through my default speakers...

cat /proc/asound/pcm

00-00: ALC892 Analog : ALC892 Analog : playback 1 : capture 1
00-01: ALC892 Digital : ALC892 Digital : playback 1
00-03: HDMI 0 : HDMI 0 : playback 1
00-07: HDMI 1 : HDMI 1 : playback 1
00-08: HDMI 2 : HDMI 2 : playback 1

cat /proc/asound/cards

 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xfe620000 irq 51

any help would be appreciated.. smile

...and really thanks to the whole community, my system is stable as never before and the ArchLinux Wiki is probaby the first Linux Wiki that actually helped me solve my problems. big_smile

Last edited by 65kid (2011-01-27 18:05:09)

Offline

#2 2011-01-27 18:04:46

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [SOLVED] HDMI audio not working (worked in Ubuntu)

Nevermind, I fixed it myself. ;)

cat /proc/asound/pcm

00-00: ALC892 Analog : ALC892 Analog : playback 1 : capture 1
00-01: ALC892 Digital : ALC892 Digital : playback 1
00-03: HDMI 0 : HDMI 0 : playback 1
00-07: HDMI 1 : HDMI 1 : playback 1
00-08: HDMI 2 : HDMI 2 : playback 1

00-08 is the missing device I was talking about, aplay -L doesn't list it, but it's there. Anyway, I can use plughw:0,8 to use HDMI audio and it works fine, although I'm still confused about the difference betwenn plughw:x,x and hdmi:CARD=PCH,DEV=X...

Offline

Board footer

Powered by FluxBB