[mythtv-users] Asus A8N-VM board + Alsa AC3 SPDIF

Nick Morrott knowledgejunkie at gmail.com
Wed Jan 17 23:31:25 UTC 2007

On 17/01/07, Venkat Bihari <venkat_bihari at hotmail.com> wrote:
> Hi Nick,
> Thanks for your reply, for some reason I'm having trouble replying to the
> thread so I'm replying to you directly.
> Here are the outputs:
> # aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 0: NVidia [HDA NVidia], device 0: AD198x Analog [AD198x Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: NVidia [HDA NVidia], device 1: AD198x Digital [AD198x Digital]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> # aplay -L |egrep "spdif|iec958"
> iec958 'cards.pcm.iec958'
> spdif 'cards.pcm.iec958'
> I don't have a /etc/asound.conf. Instead, I have this in ~mythtv/.asoundrc:
> # grep "pcm.digital-hw" -A 3 ~mythtv/.asoundrc
> pcm.digital-hw {
>   type hw
>   card 0
>   device 1
> Anything obvious look wrong to you? In my startup scripts, I restore the
> alsactl settings.

The only other thing I can think of is whether your S/PDIF is enabled
in your mixer (or whether it needs to be - I guess some cards will
work regardless). I needed to enable my digital output in alsamixer
before I would work. I can see this using

# grep "IEC958 Playback" -A 1 /etc/asound.state

(where asound.state is the saved mixer settings for my nForce3
motherboard) which gives the the following:

                name 'IEC958 Playback Switch'
                value true
                name 'IEC958 Playback AC97-SPSA'
                value 3
                name 'IEC958 Playback Source'
                value PCM

One tip I have is that once the S/PDIF was working, ensuring the mixer
settings are read-only to stop the S/PDIF from being disabled
inbetween reboots if bad settings are saved at shutdown. You can save
the mixer setting to another state file, and by selectively restoring
that at boot time if required to correct any problems ALSA gives by
restoring bad settings that disable digital output..


MythTV Official wiki:
MythTV users list archive:

"An investment in knowledge always pays the best interest." - Benjamin Franklin

More information about the mythtv-users mailing list