diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2003-01-22 22:58:29 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2003-01-22 22:58:29 +0000 |
commit | 9348f715eb91755fbf54fb26bd9a01e443d74b0c (patch) | |
tree | 4db4631246a4cdd572cad0c0ea7aabf45274b89f /doc/faq/faq.html | |
parent | 7198872f870991af6f2747a5ed9830c558e8cdea (diff) | |
download | xine-lib-9348f715eb91755fbf54fb26bd9a01e443d74b0c.tar.gz xine-lib-9348f715eb91755fbf54fb26bd9a01e443d74b0c.tar.bz2 |
sb live information provided by Marcel Janssen
CVS patchset: 3992
CVS date: 2003/01/22 22:58:29
Diffstat (limited to 'doc/faq/faq.html')
-rw-r--r-- | doc/faq/faq.html | 389 |
1 files changed, 389 insertions, 0 deletions
diff --git a/doc/faq/faq.html b/doc/faq/faq.html index f8f45d6aa..81faaed8f 100644 --- a/doc/faq/faq.html +++ b/doc/faq/faq.html @@ -312,6 +312,41 @@ HREF="#SPDIF" ></DT ><DT ><A +HREF="#SBLIVESPDIF" +>Getting SPDIF output from a SBLive 5.1 using OSS drivers</A +></DT +><DD +><DL +><DT +><A +HREF="#AEN357" +>Requirements</A +></DT +><DT +><A +HREF="#AEN369" +>The OSS driver is maintained by creative and can be downloaded at + <A +HREF="http://opensource.creative.com/" +TARGET="_top" +> http://opensource.creative.com/ </A +></A +></DT +><DT +><A +HREF="#AEN391" +>Setting up xine for SPDIF (AC3_passthrough) output</A +></DT +><DT +><A +HREF="#AEN396" +>The cable used for the SBLive can easily be self-made + or buy a stereo 3.5mm jack to dual RCA cable.</A +></DT +></DL +></DD +><DT +><A HREF="#VOLUMECONTROL" >Changing the volume with the GUI control has no effect! What's up!?</A ></DT @@ -2260,6 +2295,360 @@ CLASS="SECT1" ><HR><H2 CLASS="SECT1" ><A +NAME="SBLIVESPDIF" +></A +>Getting SPDIF output from a SBLive 5.1 using OSS drivers</H2 +><P +> The following explains how to get the above configuration + going with xine. Some parts of it may applicable to other + configurations (cards that use the EMU10k1 chip) as well. + </P +><P +> </P +><DIV +CLASS="SECT2" +><HR><H3 +CLASS="SECT2" +><A +NAME="AEN357" +></A +>Requirements</H3 +><P +></P +><OL +TYPE="1" +><LI +><P +> xine-lib >= 1.x.x </P +></LI +><LI +><P +> OSS driver </P +></LI +><LI +><P +> An external decoder </P +></LI +><LI +><P +> A cable to connect the SBLive to the external decoder </P +></LI +></OL +><P +> The configuration described was tested using the following equipment : + Soundblaster live 5.1 (rev 7) + Yamaha DSP-AX620 external decoder + </P +></DIV +><DIV +CLASS="SECT2" +><HR><H3 +CLASS="SECT2" +><A +NAME="AEN369" +></A +>The OSS driver is maintained by creative and can be downloaded at + <A +HREF="http://opensource.creative.com/" +TARGET="_top" +> http://opensource.creative.com/ </A +></H3 +><P +> The driver package contains documentation on how to install it. + Besides that I'd like to add the following notes. + </P +><P +> In order to compile and install these drivers, you need a valid kernel + configuration file. For RedHat Linux's pre-compiled kernels these + configuration files can be found in + <TT +CLASS="FILENAME" +>/usr/src/linux/configs</TT +> + After you've located the correct config file for your kernel, + you need to copy it to <TT +CLASS="FILENAME" +>/usr/src/linux/.config</TT +> + For example, when you run the 2.4.18-i686 kernel do : + <TABLE +BORDER="0" +BGCOLOR="#E0E0E0" +WIDTH="100%" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +> cp /usr/src/linux/configs/kernel-2.4.18-i686.config /usr/src/linux/.config + </PRE +></TD +></TR +></TABLE +> + Make sure that the emu10k1 module that is currently installed is + not loaded. To unload the modules : + <TABLE +BORDER="0" +BGCOLOR="#E0E0E0" +WIDTH="100%" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +> /sbin/modprobe -rv emu10k1.o ac97_codec.o + </PRE +></TD +></TR +></TABLE +> + + If this mentions that the device is busy, some program is + using the driver. Some example could be a mixer application + or sound daemon like artsd. You'll need to close down the + applications before continuing. + At success it should print something like : + <TABLE +BORDER="0" +BGCOLOR="#E0E0E0" +WIDTH="100%" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +> # delete emu10k1 + # delete ac97_codec + # delete soundcore + </PRE +></TD +></TR +></TABLE +> + Run make in the directory where you unpacked the driver and follow the + instructions printed at the end of each step. + The last step should be: + <TABLE +BORDER="0" +BGCOLOR="#E0E0E0" +WIDTH="100%" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +> make install-tools + </PRE +></TD +></TR +></TABLE +> + + As the README of the driver package mentions the SPDIF AC3 + output doesn't work by default. In the directory + <TT +CLASS="FILENAME" +>utils/scripts</TT +> an <TT +CLASS="FILENAME" +>emu10k1.conf</TT +> + file can be found which need to be placed in the default + installation directory (<TT +CLASS="FILENAME" +>/usr/local/etc</TT +>). + After this the <TT +CLASS="FILENAME" +>emu10k1.conf</TT +> needs to be modified. + The following settings worked fine for me (I don't use the analog + outputs of the card) : + + <TABLE +BORDER="0" +BGCOLOR="#E0E0E0" +WIDTH="100%" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +> CARD_IS_5_1=yes + USE_DIGITAL_OUTPUT=yes + ENABLE_TONE_CONTROL=yes + AC3PASSTHROUGH=yes + ENABLE_LIVEDRIVE_IR=no + INVERT_REAR=no + MULTICHANNEL=yes + ROUTE_ALL_TO_SUB=no + ANALOG_FRONT_BOOST=no + SURROUND=no + PROLOGIC=no + ENABLE_CD_Spdif=yes + ENABLE_OPTICAL_SPDIF=no + ENABLE_LINE2_MIC2=no + ENABLE_RCA_SPDIF=no + ENABLE_RCA_AUX=no + </PRE +></TD +></TR +></TABLE +> + After modifying the <TT +CLASS="FILENAME" +>emu10k1.conf</TT +>, + you need to modify your <TT +CLASS="FILENAME" +>/etc/modules.conf</TT +> and + make sure the following lines are in there. + + <TABLE +BORDER="0" +BGCOLOR="#E0E0E0" +WIDTH="100%" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +> alias sound-slot-0 emu10k1 + post-install emu10k1 /usr/local/etc/emu-script + </PRE +></TD +></TR +></TABLE +> + + After saving the changes to <TT +CLASS="FILENAME" +>modules.conf</TT +>, + run + <TABLE +BORDER="0" +BGCOLOR="#E0E0E0" +WIDTH="100%" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +> /sbin/depmod -a + </PRE +></TD +></TR +></TABLE +> + + Now, you're ready to load the new modules and set the correct + options for it. To load the modules run : + <TABLE +BORDER="0" +BGCOLOR="#E0E0E0" +WIDTH="100%" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +> /sbin/modprobe emu10k1 + </PRE +></TD +></TR +></TABLE +> + </P +></DIV +><DIV +CLASS="SECT2" +><HR><H3 +CLASS="SECT2" +><A +NAME="AEN391" +></A +>Setting up xine for SPDIF (AC3_passthrough) output</H3 +><P +> You can either use the config dialog or edit the config file + (<TT +CLASS="FILENAME" +>~/.xine/config2</TT +>) yourself: + <TABLE +BORDER="0" +BGCOLOR="#E0E0E0" +WIDTH="100%" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +> audio.a52_pass_through:1 + </PRE +></TD +></TR +></TABLE +> + In case the setting is not in the file you can add it. + </P +></DIV +><DIV +CLASS="SECT2" +><HR><H3 +CLASS="SECT2" +><A +NAME="AEN396" +></A +>The cable used for the SBLive can easily be self-made + or buy a stereo 3.5mm jack to dual RCA cable.</H3 +><TABLE +BORDER="0" +BGCOLOR="#E0E0E0" +WIDTH="100%" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +> What you need to make the cable yourself : + a) stereo 3.5mm jack plug + b) RCA plug + c) shielded cable (video coax 75 Ohm will do) + + Connect them as follows : + + center pin jackplug ------|----- center pin RCA plug + GND __|__ GND + </PRE +></TD +></TR +></TABLE +><P +> In order to test it use a DVD with AC3 or DTS track + start xine and select the right audio track + from user interface or start xine as: + <TABLE +BORDER="0" +BGCOLOR="#E0E0E0" +WIDTH="100%" +><TR +><TD +><PRE +CLASS="PROGRAMLISTING" +> xine dvd://1 -a 0 + </PRE +></TD +></TR +></TABLE +> + The external decoder should display something like + "Dolby Digital" in case the + selected audio track contains AC3 data or "DTS" + in case the selected audio + track contains DTS data. + Of course stereo audio also goes through the SPDIF output, so the analog + outputs of the SBLive 5.1 are not needed anymore. + </P +></DIV +></DIV +><DIV +CLASS="SECT1" +><HR><H2 +CLASS="SECT1" +><A NAME="VOLUMECONTROL" ></A >Changing the volume with the GUI control has no effect! What's up!?</H2 |