On 06/28/2009 11:47:15 AM, Janick Martinez Esturo wrote:
> Hi!
>
> I'm trying to get HDMI sound output working on my HP Elitebook 8530w,
> but to me it seems like
> no alsa device gets created for HDMI on my laptop:
>
<snip>
>
> # aplay -L
> default:CARD=Intel
> HDA Intel, AD198x Analog
> Default Audio Device
> front:CARD=Intel,DEV=0
> HDA Intel, AD198x Analog
> Front speakers
> surround40:CARD=Intel,DEV=0
> HDA Intel, AD198x Analog
> 4.0 Surround output to Front and Rear speakers
> surround41:CARD=Intel,DEV=0
> HDA Intel, AD198x Analog
> 4.1 Surround output to Front, Rear and Subwoofer speakers
> surround50:CARD=Intel,DEV=0
> HDA Intel, AD198x Analog
> 5.0 Surround output to Front, Center and Rear speakers
> surround51:CARD=Intel,DEV=0
> HDA Intel, AD198x Analog
> 5.1 Surround output to Front, Center, Rear and Subwoofer
> speakers
> surround71:CARD=Intel,DEV=0
> HDA Intel, AD198x Analog
> 7.1 Surround output to Front, Center, Side, Rear and Woofer
> speakers
> null
> Discard all samples (playback) or generate zero samples
> (capture)
You're missing this:
hdmi:CARD=NVidia,DEV=0
HDA NVidia, NVIDIA HDMI
HDMI Audio Output
<snip>
> I'm using the snd_hda_codec_nvhdmi module of the latest
> 2.6.30-gentoo-r1 kernel sources and NVIDIA drivers 185.18.08, but had
> no luck with alsa-driver-1.0.20 either...
So, you compiled and installed the 1.0.20 driver and then rebooted and
verified the install with 'cat /proc/asound/version' -- yes?
If so, then I'd look at your .asoundrc. I've attached mine (Nvidia-
based ASUS MB), developed by trian and error, I'm no expert.
good luck
# ~/.asoundrc or /etc/asound.conf
# ALSA configuration file
##### IMPORTANT #####
# To make this ALSA configuration file work with your sound card, you will need
# to define the appropriate card and device information for the "analog-hw" and
# "digital-hw" devices below. You can find the card and device information
# using "aplay -l".
##### Configuration File #####
pcm.!default {
type plug
slave.pcm "dmix-digital"
}
# Alias for analog output on the card
pcm.analog-hw {
type hw
card 0
device 0
}
# Alias for digital (S/PDIF) output on the card
pcm.digital-hw {
type hw
card 0
device 3
}
pcm.!default {
type plug
slave {
pcm multi
rate 48000
}
ttable.0.0 1.0
ttable.1.1 1.0
ttable.0.2 1.0
ttable.1.3 1.0
}
pcm.stereo {
type plug
slave {
pcm multi
rate 48000
}
ttable.0.0 1.0
ttable.1.1 1.0
ttable.0.2 1.0
ttable.1.3 1.0
}
pcm.multi {
type multi
slaves.a.pcm "analog-hw"
slaves.a.channels 2
slaves.b.pcm "digital-hw"
slaves.b.channels 2
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave b
bindings.2.channel 0
bindings.3.slave b
bindings.3.channel 1
}
------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user