My mobo is MSI K9N platinum with alc883 onboard sound. I am trying to setup optical out. The driver is hda-intel. I have already run alsamixer and set IEC958 to 00 and adjusted volumes. In mythtv I set driver to ALSA:default and mixer to default. Also tried ALSA:digital and ALSA:analog. Using debian with ivtv
0.6, mythtv 0.19, kernel 2.6.16. Alsa is version 1.0.13. Here is my .asoundrc. Also tried the /etc/asound.state file from HOWTO, but it doesn't help and I don't think I really need it. I can 'aplay -D default file.wav' and it plays the sound. But just doesn't work in mythtv. Any help is appreciated. I have an awesome PVR except for no sound!
<br><br>~/.asoundrc<br><br># ALSA configuration file<br><br> pcm.!default {<br> type plug<br> slave.pcm "digital-hw"<br> }<br><br> ctl.!default {<br> type hw<br> card 0<br> }<br><br> pcm.analog {<br>
type plug<br> slave.pcm "analog-hw"<br> }<br><br> ctl.analog {<br> type hw<br> card 0<br> }<br><br> pcm.mixed-analog {<br> type plug<br> slave.pcm "dmix-analog"<br> }<br>
<br> ctl.mixed-analog {<br> type hw<br> card 0<br> }<br><br> pcm.digital {<br> type plug<br> slave.pcm "digital-hw"<br> }<br><br> ctl.digital {<br> type hw<br> card 0<br> }
<br> pcm.mixed-digital {<br> type plug<br> slave.pcm "dmix-digital"<br> }<br>ctl.mixed-digital {<br> type hw<br> card 0<br> }<br><br>pcm.analog-hw {<br> type hw<br> card 0<br> device 1<br>
}<br>ctl.analog-hw {<br> type hw<br> card 0<br> }<br>pcm.digital-hw {<br> type hw<br> card 0<br> device 1<br> }<br><br>ctl.digital-hw {<br> type hw<br> card 0<br>}<br><br> pcm.dmix-analog {<br> type dmix
<br> ipc_key 1234<br> slave {<br> pcm "analog-hw"<br> period_time 0<br> period_size 1024<br> buffer_size 4096<br> rate 48000<br> }<br> }<br>
ctl.dmix-analog {<br> type hw<br> card 0<br> }<br><br> pcm.dmix-digital {<br> type dmix<br> ipc_key 1235<br> slave {<br> pcm "digital-hw"<br> }<br> ctl.dmix-analog {<br> type hw
<br> card 0<br> }<br><br> pcm.dmix-digital {<br> type dmix<br> ipc_key 1235<br> slave {<br> pcm "digital-hw"<br> period_time 0<br> period_size 1024<br> buffer_size 4096
<br> rate 48000<br> }<br> }<br><br> ctl.dmix-digital {<br> type hw<br> card 0<br> }