Asrock 152B ION2:
lspci -nn | grep -w
'VGA' 02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT218 [ION] [10de:0a64] (rev a2)
apt-cache policy linux-backports-modules-alsa-$(uname -r)
linux-backports-modules-alsa-2.6.32-40-generic:
Installed: 2.6.32-40.41
Candidate: 2.6.32-40.41
Version table:
*** 2.6.32-40.41 0
500 http://archive.ubuntu.uasw.edu/ lucid-updates/main Packages
500 http://archive.ubuntu.uasw.edu/ lucid-security/main Packages
100 /var/lib/dpkg/status
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
This device is using HDMI audio and play all formats (dolby digital,DTS etc)
Edit: this is my asound.conf
pcm_slave.spdif_convert48k {
pcm "spdif:%MAIN_CARD%"
rate 48000
}
pcm.spdif_playback {
type plug
slave spdif_convert48k
}
pcm_slave.hdmi_convert48k {
pcm "hdmi:%MAIN_CARD%"
rate 48000
}
pcm.hdmi_playback {
type plug
slave hdmi_convert48k
}
pcm.asym_spdif {
type asym
playback.pcm "spdif_playback"
capture.pcm "plughw:%MAIN_CARD%"
}
pcm.asym_hdmi {
type asym
playback.pcm "hdmi_playback"
capture.pcm "plughw:%MAIN_CARD%"
}
pcm.asym_analog {
type asym
playback.pcm "plug:dmix:%MAIN_CARD%"
capture.pcm "plughw:%MAIN_CARD%"
}
pcm.!hdmi {
@args [ AES0 AES1 AES2 AES3 ]
@args.AES0 {
type integer
# consumer, not-copyright, emphasis-none, mode=0
default 0x04
}
@args.AES1 {
type integer
# original, PCM coder
default 0x82
}
@args.AES2 {
type integer
# source and channel
default 0x00
}
@args.AES3 {
type integer
# fs=48000Hz, clock accuracy=1000ppm
default 0x02
}
type hooks
slave.pcm {
type hw
card 1
device 7
}
hooks.0 {
type ctl_elems
hook_args [
{
name "IEC958 Playback Default"
lock true
preserve true
value [ $AES0 $AES1 $AES2 $AES3 ]
}
{
name "IEC958 Playback Switch"
lock true
preserve true
value true
}
]
}
}
Notice the code after pcm.!hdmi, i´ve never had to force nvidia card as 0 with this.