Mailinglist Archive: radeonhd (307 mails)

< Previous Next >
Re: [radeonhd] ac3 audio over HDMI?
Am Sonntag, den 08.02.2009, 10:36 -0500 schrieb JP Fournier:
jape@vcr3:/tmp/read-edid-1.4.1$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.16.
Compiled on Jan 29 2009 for kernel 2.6.24-23-server (SMP).
There is the problem: alsa 1.0.16 don't have an iec958 device defined
for hdmi per default.

Try putting the attached asound.conf unter /etc, and then run mplayer
like this:

mplayer -ac hwac3 -ao alsa:device=iec958=1 2041_20090208074700.mpg

It's important that you use the "iec958" device instead of the "hw"
device. Then you should see something like:
(II) RADEONHD(0): RHDHdmiUpdateAudioSettings: playing with 2 channels,
48000 Hz sampling rate, 16 bits per sample,
(II) RADEONHD(0): RHDHdmiUpdateAudioSettings: 0xa1 IEC60958 status bits
and 0x02 category code
in your xorg log file. Getting 0xa1 for the IEC60958 status bits instead
of 0x01 is the important thing here.

If it still doesn't works, then alsa is doing something wrong inside the
kernel driver and we need to change this.

Good luck,
Christian.
<confdir:pcm/iec958.conf>

cards.HDA-Intel.pcm.iec958.0 {
@args [ CARD AES0 AES1 AES2 AES3 ]
@args.CARD {
type string
}
@args.AES0 {
type integer
}
@args.AES1 {
type integer
}
@args.AES2 {
type integer
}
@args.AES3 {
type integer
}
type asym
playback.pcm {
type hooks
slave.pcm {
type hw
card $CARD
device 3
}
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
}
]
}
}
hint.device 3
}
< Previous Next >
Follow Ups