<br><br><div><span class="gmail_quote">On 12/17/05, <b class="gmail_sendername">Marius Schrecker</b> <<a href="mailto:marius@schrecker.org">marius@schrecker.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> I finally got it working.<br>><br>> Here is what I did to enable spdif output to my amp when I switched from a<br>> SB Live! 5.1 analog surround card to the on-board audio on my Asus<br>> motherboard.<br>
><br>> The obvious first step was to remove the SB Live! Card from the PC. During<br>> the Power On Self Test (POST), I entered the BIOS settings and enabled the<br>> on-board audio. Saved the settings ant continued with the boot up.
<br>><br>> KDE informed me that the default audio device was missing. I went to the<br>> Start menu --> System Settings --> Soundcard Detection. KDE found my<br>> Soundcard and played a test tune. The analog sound was coming out of my TV
<br>> Speakers and nothing was coming out of my Receiver.<br>><br>> I opened up a terminal and typed alsamixer. I was given an error message<br>> :<br>><br>> alsamixer: function snd_ctl_open failed for default: no such file or
<br>> directory.<br>><br>> Googling for that error led me to believe that my modprob.conf file was to<br>> blame so. . .<br>><br>> # (any text editor) /etc/modprob.conf<br>><br>> -----Before------<br>
><br>> alias eth0 sk98lin<br>> options snd-emu10k1 index=0<br>> remove snd-emu10k1 { /usr/sbin/alsactl store 0 >/dev/null 2>&<br>> 1 || : ; }; /sbin/modprobe -r --ignore-remove snd-emu10k1<br>> alias char-major-81 cx8800
<br>> alias usb-controller ehci-hcd<br>> alias usb-controller1 uhci-hcd<br>> alias ieee1394-controller ohci1394<br>> # nvidia kernel module<br>> alias char-major-195 nvidia-1_0-7174<br>> alias nvidia nvidia-1_0-7174
<br>> options snd-intel8x0 index=1<br>> remove snd-intel8x0 { /usr/sbin/alsactl store 1 >/dev/null 2>&1 || : ; };<br>> /sbin/modprobe -r --ignore-remove snd-intel8x0<br>> alias snd-card-0 snd-intel8x0
<br>> options snd-card-0 index=0<br>> options snd-intel8x0 index=0<br>> remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; };<br>> /sbin/modprobe -r --ignore-remove snd-intel8x0<br>
><br>> The intel8x0 is my on-board audio device, and the emu10k1 was my old card.<br>> I<br>> commented out the lines referencing my old sound card and made a few<br>> number<br>> changes in the file. This is my file after editing it.
<br>><br>> -------After--------<br>><br>> alias eth0 sk98lin<br>> #options snd-emu10k1 index=0<br>> #remove snd-emu10k1 { /usr/sbin/alsactl store 0 >/dev/null 2>&<br>> 1 || : ; }; /sbin/modprobe -r --ignore-remove snd-emu10k1
<br>> alias char-major-81 cx8800<br>> alias usb-controller ehci-hcd<br>> alias usb-controller1 uhci-hcd<br>> alias ieee1394-controller ohci1394<br>> # nvidia kernel module<br>> alias char-major-195 nvidia-1_0-7174
<br>> alias nvidia nvidia-1_0-7174<br>> #changed index=1 to index=0 and ... store 1 to store 0<br>> options snd-intel8x0 index=0<br>> remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; };
<br>> /sbin/modprobe -r --ignore-remove snd-intel8x0<br>> alias snd-card-0 snd-intel8x0<br>> options snd-card-0 index=0<br>> options snd-intel8x0 index=0<br>> remove snd-intel8x0 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; };
<br>> /sbin/modprobe -r --ignore-remove snd-intel8x0<br>><br>> I rebooted and still no dice. Same error message from alsamixer. I tried<br>> creating a .asoundrc file like like the example on the ALSA website.
<br>><br>> $ vi /home/mythtv/.asoundrc<br>><br>> pcm.intel8x0 {<br>> type hw<br>> card 0<br>> }<br>><br>> ctl.intel8x0 {<br>> type hw<br>> card 0<br>> }<br>><br>> Still no digital sound. I attempt to run alsamixer and receive this error
<br>> message:<br>><br>> alsamixer: relocation error: alsamixer: symbol<br>> snd_mixer_selem_get_playback_dB, version ALSA_0.9 not defined in file<br>> libasound.so.2 with link time reference<br>><br>> After a few Google's, I find out what needs to be done.
<br>> It is time to update drivers and such. But first a little house cleaning.<br>><br>> # mv /usr/lib/libasound.so.2 moved.libasound.so.2<br>> # mv /usr/lib/libasound.so.2.0.0 moved.libasound/so/2/0/0<br>>
<br>> --- I later went back and deleted them but you can't be too careful ---<br>><br>> # yum install alsa-utils<br>> # yum install alsa-lib<br>> # yum install alsa-driver<br>><br>> I tried alsamixer again and it worked.
<br>> In alsamixer I un-muted IEC958, turned ICE958 Playback all the way down,<br>> set<br>> ICE958 Playback source to [AC-Link], un-muted External Amplifier, turned<br>> <PCM> and <Master> up to 90%. ESC to exit.
<br>><br>> --- I don't know if all of this was necessary, but it worked for me. ---<br>><br>> I started up mythfrontend, and navigated to Utilities/Setup -> Setup -><br>> General. On the 3rd page I selected "Enable AC3 to SPDIF passthrough" and
<br>> "Audio output device" was already on "/dev/dsp".<br>> Finish going through the menu's in order to make the settings take effect.<br>> After I verified that it worked, I spent a few minutes patting myself on
<br>> the<br>> back, and then decided to save my settings.<br>><br>> # /usr/sbin/alsactl store<br>><br>> -- That's it. I hope someone can find this information useful. -Mat<br>><br></blockquote></div>
<br>I am trying to get my SPDIF to work. I have an onboard soundcard (ASUS A8V Deluxe with VIA chipset)<br><br>/sbin/lspci -v<br><br>00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
<br> Subsystem: ASUSTeK Computer Inc.: Unknown device 812a<br> Flags: medium devsel, IRQ 5<br> I/O ports at e800 [size=256]<br> Capabilities: [c0] Power Management version 2<br><br>[mythtv@HTPC
~]$ vi /home/mythtv/.asoundrc<br>pcm.via82xx {<br> type hw<br> card 0<br>}<br><br>ctl.via82xx {<br> type hw<br> card 0<br>}<br><br>I can turn up alsamixer just fine but can't get any sound to the SPDIF (connected to a receiver).
<br><br>In your description I can not figure out where you sets the ICE958 Playback source to [AC-Link] as someone else also wondered about.<br><br>What can be wrong??<br><br>BR Joacim<br>