LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Audigy and SCRIPT...for Digital Output and AC3 (https://www.linuxquestions.org/questions/linux-hardware-18/audigy-and-script-for-digital-output-and-ac3-41911/)

cnc76 01-18-2003 05:45 AM

Audigy and SCRIPT...for Digital Output and AC3
 
Hello....

I have installed emu10k1 and emu-tools

I changed my modules.conf in this way:

alias sound emu10k1
alias sound-service-0-0 sound
alias sound-slot-0 sound
post-install sound-slot-0 /usr/local/etc/emu-script
post-install emu10k1 /usr/local/etc/audigy-script restore
pre-remove emu10k1 /usr/local/etc/audigy-script save


I put the script audigy-script, emu10k1.conf and emu-script
in /usr/local/etc

I'am a newbie and I have download the script from

http://basic-rip.co.uk/tenpin/linux_audigy_faq.html


Now....when I start linux....I have analogical mode..... but I changed script and I put "yes" to use_digital_mode and AC3passthrou

If I write:

emu-config -d

I active digital mode....and all OK.

But however I'm not able to listen ac3 file.

Which is the "command" to active ac3passthrou ???
Why it doesn't read script???

Can you help me?

bye by CNC

unSpawn 01-18-2003 09:23 AM

The default conf sez:
# Set to yes if you want digital output
USE_DIGITAL_OUTPUT=no
AC3PASSTHROUGH=no
If you didn't change these you'll have to add "-d yes -3 yes" to your commandline.

cnc76 01-18-2003 12:31 PM

I have changed in YES what you say.....but don't work.

I try to write:

/usr/local/etc/audigy-script

and i receive 4 errors of BAD COMMAND.


I think that this is the problem.

I have to change this script....but I'm not able.

Can you help me?

bye by CNC

unSpawn 01-18-2003 02:43 PM

ok, execute your script like this:
"sh -x /usr/local/etc/audigy-script 2> /tmp/error.log", then post those contents here.

cnc76 01-19-2003 03:09 PM

Hello..... I do what you say....
but I don't understand nothing.

[root@xp-1800 etc]# sh -x /usr/local/etc/audigy-script > /tmp/error.log
+ BASE_PATH=/usr/local
+ DSPPATH=/usr/local/share/emu10k1
++ which aumix
+ AUMIX=/usr/bin/aumix
+ DSPDEV=
+ MIXERDEV=
+ DSPMGR=/usr/local/bin/emu-dspmgr
+ CONFIG=/usr/local/bin/emu-config
+ SAVEARGS=
+ load
+ . /usr/local/etc/emu10k1.conf
++ USE_DIGITAL_OUTPUT=yes
++ ENABLE_TONE_CONTROL=no
++ AC3PASSTHROUGH=yes
++ ENABLE_LIVEDRIVE_IR=no
++ ENABLE_CD_Spdif=no
++ ENABLE_OPTICAL_SPDIF=no
++ ENABLE_LINE2_MIC2=no
++ ENABLE_RCA_SPDIF=no
++ ENABLE_RCA_AUX=no
+ getopts d:t:3:i: OPT
+ '[' yes = yes ']'
+ FRONT=Dig Front
+ CENTER=Dig Center
+ SUB=Dig LFE
+ REAR=Dig rear
+ CTR_SUB=Dig ctr/sub
+ /usr/local/bin/emu-dspmgr -x -z
+ /usr/local/bin/emu-dspmgr '-aPcm:Dig Front' '-aPcm Rear:Dig rear' '-aPcm ctr/sub:Dig ctr/sub' -aPcm:Headphones
Error: Bad route specified
Error: Bad route specified
Error: Bad route specified
Error: Bad route specified
+ /usr/local/bin/emu-dspmgr -lpcm '-lPcm Rear' '-lPcm Ctr/sub' -f/usr/local/share/emu10k1/vol_pcm.bin -cVol_L -mpcm_l -cVol_R -mpcm_r
Error:Bad Line name
+ '[' no = yes ']'
+ '[' no = yes ']'
+ '[' no = yes ']'
+ '[' no = yes ']'
+ '[' no = yes ']'
+ /usr/local/bin/emu-dspmgr -aAnalog:Recording -aAnalog:Headphones
Error: Bad route specified
Error: Bad route specified
+ '[' yes = yes ']'
+ /usr/local/bin/emu-dspmgr '-aAnalog:Dig Front'
Error: Bad route specified
+ enable_volume 'Dig Front' vol
+ INPUT=Dig Front
+ VOLUME=vol
+ /usr/local/bin/emu-dspmgr '-pvol Vol' '-lDig Front' -f/usr/local/share/emu10k1/vol_2.bin -cVol_L -mvol_l -cVol_R -mvol_r
Error:Bad Line name
+ enable_volume 'Dig rear' ogain
+ INPUT=Dig rear
+ VOLUME=ogain
+ /usr/local/bin/emu-dspmgr '-pogain Vol' '-lDig rear' -f/usr/local/share/emu10k1/vol_2.bin -cVol_L -mogain_l -cVol_R -mogain_r
Error:Bad Line name
+ enable_volume 'Dig ctr/sub' igain
+ INPUT=Dig ctr/sub
+ VOLUME=igain
+ /usr/local/bin/emu-dspmgr '-pigain Vol' '-lDig ctr/sub' -f/usr/local/share/emu10k1/vol_2.bin -cVol_L -migain_l -cVol_R -migain_r
Error:Bad Line name
+ '[' no = yes ']'
+ '[' yes = yes ']'
+ /usr/local/bin/emu-config -d
+ '[' no = yes ']'
+ '[' yes = yes ']'
+ '[' yes = yes ']'
+ /usr/local/bin/emu-dspmgr '-ldig front' -F/usr/local/share/emu10k1/ac3pass-audigy.bin
Error:Bad Line name
+ /usr/local/bin/emu-dspmgr -y



Help me.

bye by CNC

cnc76 01-23-2003 02:17 AM

UP

unSpawn 01-23-2003 04:46 AM

Ok, when I'm reading the emu-tools-0.9.4 docs then for instance for option "-l" there is no line called "Dig rear", for instance output to "Digital Front out" is called with "Digital L" and input from /dev/dsp (PCM) is called "Pcm L". You should reread the docs and choose your options more carefully IMHO.

cnc76 01-24-2003 03:05 AM

I want active ONLY Digital Output and AC3pass

I used these commands but the ac3pass doesn't work.

I wrote:
emu-dspmgr -x -z
emu-dspmgr -a"Analog:Digital"
emu-config -d
emu-dspmgr -l"Digital" -F"/usr/local/share/emu10k1/ac3pass-audigy.bin

I don't receive any message....
Digital output works but the ac3pass doesn't work.

Can you help me?

bye by CNC

unSpawn 01-24-2003 08:21 AM

I think it's time you searched LQ for other Audigy posts or if it turns up zilch contact the maker of the Linux Audigy FAQ.


All times are GMT -5. The time now is 08:59 AM.