ld10k1-devel Mailing List for EMU10K1 patch loader for ALSA (Page 2)
Status: Alpha
Brought to you by:
pzmt
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(7) |
Jul
|
Aug
(14) |
Sep
(3) |
Oct
|
Nov
(1) |
Dec
(13) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(10) |
Feb
(9) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
From: Peter Z. <pz...@po...> - 2004-12-30 08:17:09
|
Hi, There is bug - in ld10k1 or in alsa-driver. This bug affect only sb live (audigy works). I am unable to find it, because I have only audigy. ld10k1 0.1.8 is current CVS - there is nothing new. 0.1.8 will work only with ALSA 1.0.8rc1 - looks like you have alsa 1.0.8rc1, because you compiled it. Peter Zubaj =0A____________________________________=0ARAMMSTEIN, 22.02.2005 o 20,00, Br= atislava Incheba, =0AInfo: 0904 666 363, http://www.xl.sk =0A |
From: Lee R. <rlr...@jo...> - 2004-12-30 02:31:20
|
On Thu, 2004-12-30 at 05:26 +0300, di...@dg... wrote: > Hello. > > I have a SBLive card. > You've already discussed this bug, but what packages a need to install now ? > I've installed alsa-XXX-1.0.8rc1 and ld10k1-0.1.8 and it's not work ! I think you might need to use ld10k1 CVS to make it work with such a new ALSA version. Lee |
From: <di...@dg...> - 2004-12-30 02:27:01
|
Hello. I have a SBLive card. You've already discussed this bug, but what packages a need to install no= w ? I've installed alsa-XXX-1.0.8rc1 and ld10k1-0.1.8 and it's not work ! P.S. Sorry for my English. ---- With best regards, Guryanov Dmitry. |
From: Peter Z. <pz...@po...> - 2004-12-06 20:26:31
|
I looked at code, and I can't find bug in it. Someone with sb live have to look at it. :-( Peter Zubaj =0A____________________________________=0Ahttp://www.pobox.sk/ - najvacsi s= lovensky freemail=0A=0A=0A |
From: Peter Z. <pz...@po...> - 2004-12-06 09:43:45
|
I updated ld10k1 CVS to latest ALSA cvs (if ld10k1 from CVS compiles, then it is updated and corect version), but I tested this only on my Audigy (yesterday again, and it was ok) - I don't have sb live. Looks like there is bug that affect only sb live. I will look at it this evening if I have time. Peter Zubaj=0A____________________________________=0Ahttp://www.pobox.sk/ -= najvacsi slovensky freemail=0A=0A=0A |
From: Melanie <me...@t-...> - 2004-12-06 09:16:01
|
Hi, this is what I get from init_live: Error: unable to load patch tone.emu10k1 Failed /usr/bin/lo10k1 -n --ctrl c-bass0,bass1,bass2,bass3,bass4:Tone Control - Bass,t-Tone Control - Bass:2,v-Tone Control - Bass:1,c-treble0,treble1,treble2,treble3,treble4:Tone Control - Treble,t-Tone Control - Treble:3,v-Tone Control - Treble:1,c-toneonoff:Tone Control - Switch,t-Tone Control - Switch:4 --patch_name Tone Control -a tone.emu10k1 Several more screenful of errors about the various patches follow. Audio playback still works at this point, so ld10k1 apparently was unable to unload the DSP. This is ALSA CVS as of today and CVS versions of ld10k1 et al. I used all of Alsa, driver, kernel, lib and utils from CVS. I suppose alsa CVS has all the changes made between 1.0.7rc2 and 1.0.7 and so no longer matches your ld10k1 version from CVS. Some changes may be in order. I really don't like the idea of downgrading Alsa on my system. Melanie Peter Zubaj wrote: > There is not bug. > > You must use ALSA CVS version and ld10k1 CVS version and everything > will be all right. |
From: Peter Z. <pz...@po...> - 2004-12-06 07:13:23
|
Agrr, wrong field, sending again. There is not bug. You must use ALSA CVS version and ld10k1 CVS version and everything will be all right. When new ALSA version will be released, I will release ld10k1 version. Peter Zubaj =0A____________________________________=0Ahttp://www.pobox.sk/ - najvacsi s= lovensky freemail=0A=0A=0A |
From: Lee R. <rlr...@jo...> - 2004-12-05 21:08:16
|
On Sun, 2004-12-05 at 21:58 +0100, Peter Zubaj wrote: > Hi, > > If you use: > you should use > alsa-driver-1.0.7rc2 - alsa-lib-1.0.7rc2 - ld10k1 version 0.1.7test3 > > or > alsa-driver-1.0.7 or later - you must use alsa-lib - CVS version - and > ld10k1 - CVS version. > > Otherways it will not work, because there were changes in emu10k1 > hwdep and in alsa 1.0.7 these changes were made in alsa-driver but not > in alsa-lib. I can confirm it works with the ALSA in kernel 2.6.9. I can't use 1.0.7-rc2 from CVS because of an incompatibility with my kernel. Do you know the exact ALSA bug? We should just try to get this fixed in ALSA CVS. Lee |
From: Peter Z. <pz...@po...> - 2004-12-05 20:58:20
|
Hi, If you use: you should use alsa-driver-1.0.7rc2 - alsa-lib-1.0.7rc2 - ld10k1 version 0.1.7test3 or alsa-driver-1.0.7 or later - you must use alsa-lib - CVS version - and ld10k1 - CVS version. Otherways it will not work, because there were changes in emu10k1 hwdep and in alsa 1.0.7 these changes were made in alsa-driver but not in alsa-lib. alsa-driver-1.0.7 + alsa-lib - CVS + ld10k1 - CVS - should be OK Peter Zubaj =0A____________________________________=0Ahttp://www.pobox.sk/ - najvacsi s= lovensky freemail=0A=0A=0A |
From: Lee R. <rlr...@jo...> - 2004-12-05 04:32:44
|
On Sat, 2004-12-04 at 22:20 -0500, Lee Revell wrote: > On Sat, 2004-12-04 at 21:54 -0500, Lee Revell wrote: > > On Sat, 2004-12-04 at 14:19 +0100, Melanie wrote: > > > Error: unable to peek code > > > Error: error in main loop > > > > > > I have a SB Live! 5.1 card with LiveDrive IR. > > > > I get the exact same error. I have an Audigy 2 ZS. Looks like a bug. > > > > This ioctl is failing: > > 292 /* get count of controls */ > 293 code.gpr_list_control_count = 0; > 294 if (snd_hwdep_ioctl(handle, SNDRV_EMU10K1_IOCTL_CODE_PEEK, &code) < 0) { > 295 error("getting ctl count: unable to peek code"); > 296 return LD10K1_ERR_DRIVER_CODE_PEEK; > 297 } > 298 > I tried with the ALSA modules from kernel 2.6.9 and it works fine. So the problem is one of the recent changes to the DSP code handling: http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-kernel/pci/emu10k1/emufx.c?rev=1.66&view=log Also, I cannot get qlo10k1 to build: rlrevell@mindpipe:~/cvs/qlo10k1-0.1.1test2$ make make all-recursive make[1]: Entering directory `/home/rlrevell/cvs/qlo10k1-0.1.1test2' Making all in src make[2]: Entering directory `/home/rlrevell/cvs/qlo10k1-0.1.1test2/src' make all-am make[3]: Entering directory `/home/rlrevell/cvs/qlo10k1-0.1.1test2/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -I/usr/share/qt3/include -MT ld10k1file.o -MD -MP -MF ".deps/ld10k1file.Tpo" -c -o ld10k1file.o ld10k1file.cpp; \ then mv -f ".deps/ld10k1file.Tpo" ".deps/ld10k1file.Po"; else rm -f ".deps/ld10k1file.Tpo"; exit 1; fi ld10k1file.cpp: In static member function `static int LD10k1File::LoadFromFile(QString, LD10k1File**)': ld10k1file.cpp:417: error: 'struct liblo10k1_file_info_t' has no member named ' license' ld10k1file.cpp: In member function `int LD10k1File::SaveToFile(QString)': ld10k1file.cpp:439: error: 'struct liblo10k1_file_info_t' has no member named ' license' ld10k1file.cpp: In static member function `static int LD10k1DspFile::LoadFromFile(QString, LD10k1DspFile**)': ld10k1file.cpp:540: error: 'struct liblo10k1_file_info_t' has no member named ' license' ld10k1file.cpp: In member function `int LD10k1DspFile::SaveToFile(QString)': ld10k1file.cpp:562: error: 'struct liblo10k1_file_info_t' has no member named ' license' make[3]: *** [ld10k1file.o] Error 1 make[3]: Leaving directory `/home/rlrevell/cvs/qlo10k1-0.1.1test2/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/rlrevell/cvs/qlo10k1-0.1.1test2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/rlrevell/cvs/qlo10k1-0.1.1test2' make: *** [all] Error 2 Lee |
From: Lee R. <rlr...@jo...> - 2004-12-05 03:20:34
|
On Sat, 2004-12-04 at 21:54 -0500, Lee Revell wrote: > On Sat, 2004-12-04 at 14:19 +0100, Melanie wrote: > > Error: unable to peek code > > Error: error in main loop > > > > I have a SB Live! 5.1 card with LiveDrive IR. > > I get the exact same error. I have an Audigy 2 ZS. Looks like a bug. > This ioctl is failing: 292 /* get count of controls */ 293 code.gpr_list_control_count = 0; 294 if (snd_hwdep_ioctl(handle, SNDRV_EMU10K1_IOCTL_CODE_PEEK, &code) < 0) { 295 error("getting ctl count: unable to peek code"); 296 return LD10K1_ERR_DRIVER_CODE_PEEK; 297 } 298 I tried updating my alsa-lib to the latest CVS to match my alsa-driver version, and now it *really* blows up: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -Wall -MT ld10k1-ld10k1_driver.o -MD -MP -MF ".deps/ld10k1-ld10k1_driver.Tpo" -c -o ld10k1-ld10k1_driver .o `test -f 'ld10k1_driver.c' || echo './'`ld10k1_driver.c; \ then mv -f ".deps/ld10k1-ld10k1_driver.Tpo" ".deps/ld10k1-ld10k1_driver.Po"; else rm -f ".deps/ld10k1-ld10k1_driver.Tpo"; exit 1; fi ld10k1_driver.c: In function `ld10k1_update_driver': ld10k1_driver.c:189: warning: passing arg 7 of `ld10k1_syntetize_instr' makes pointer from integer without a cast ld10k1_driver.c:194: warning: passing arg 7 of `ld10k1_syntetize_instr' makes pointer from integer without a cast ld10k1_driver.c:201: warning: passing arg 7 of `ld10k1_syntetize_instr' makes pointer from integer without a cast ld10k1_driver.c:206: warning: passing arg 7 of `ld10k1_syntetize_instr' makes pointer from integer without a cast ld10k1_driver.c: In function `ld10k1_init_driver': ld10k1_driver.c:362: warning: passing arg 7 of `ld10k1_syntetize_instr' makes pointer from integer without a cast ld10k1_driver.c:366: warning: passing arg 7 of `ld10k1_syntetize_instr' makes pointer from integer without a cast ld10k1_driver.c:373: warning: passing arg 7 of `ld10k1_syntetize_instr' makes pointer from integer without a cast ld10k1_driver.c: In function `ld10k1_check_must_init_output': ld10k1_driver.c:447: warning: passing arg 7 of `ld10k1_syntetize_instr' makes pointer from integer without a cast if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -Wall -MT ld10k1-comm.o -MD -MP -MF ".deps/ld10k1-comm.Tpo" -c -o ld10k1-comm.o `test -f 'comm.c' || ech o './'`comm.c; \ then mv -f ".deps/ld10k1-comm.Tpo" ".deps/ld10k1-comm.Po"; else rm -f ".deps/ld10k1-comm.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -Wall -MT ld10k1-ld10k1_tram.o -MD -MP -MF ".deps/ld10k1-ld10k1_tram.Tpo" -c -o ld10k1-ld10k1_tram.o `te st -f 'ld10k1_tram.c' || echo './'`ld10k1_tram.c; \ then mv -f ".deps/ld10k1-ld10k1_tram.Tpo" ".deps/ld10k1-ld10k1_tram.Po"; else rm -f ".deps/ld10k1-ld10k1_tram.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -Wall -MT ld10k1-ld10k1_dump.o -MD -MP -MF ".deps/ld10k1-ld10k1_dump.Tpo" -c -o ld10k1-ld10k1_dump.o `te st -f 'ld10k1_dump.c' || echo './'`ld10k1_dump.c; \ then mv -f ".deps/ld10k1-ld10k1_dump.Tpo" ".deps/ld10k1-ld10k1_dump.Po"; else rm -f ".deps/ld10k1-ld10k1_dump.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -Wall -MT ld10k1-ld10k1_mixer.o -MD -MP -MF ".deps/ld10k1-ld10k1_mixer.Tpo" -c -o ld10k1-ld10k1_mixer.o `test -f 'ld10k1_mixer.c' || echo './'`ld10k1_mixer.c; \ then mv -f ".deps/ld10k1-ld10k1_mixer.Tpo" ".deps/ld10k1-ld10k1_mixer.Po"; else rm -f ".deps/ld10k1-ld10k1_mixer.Tpo"; exit 1; fi /bin/sh ../libtool --mode=link gcc -g -O2 -Wall -o ld10k1 ld10k1-ld10k1.o ld10k1-ld10k1_fnc.o ld10k1-ld10k1_fnc1.o ld10k1-ld10k1_debug.o ld10k1-ld10k1_driver.o ld10k1-comm.o ld10k1-ld10k1_tram.o ld10k1-ld10k1_dump.o ld10k1-ld10k1_mixer.o -lasound -lm -ldl -lpthread -lasound -lm -ldl -lpthread -lasound -lm -ldl -lpthread gcc -g -O2 -Wall -o ld10k1 ld10k1-ld10k1.o ld10k1-ld10k1_fnc.o ld10k1-ld10k1_fnc1.o ld10k1-ld10k1_debug.o ld10k1-ld10k1_driver.o ld10k1-comm.o ld10k1-ld10k1_tram.o l d10k1-ld10k1_dump.o ld10k1-ld10k1_mixer.o /usr/lib/libasound.so -lm -ldl -lpthread if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -Wall -MT dl10k1-dl10k1.o -MD -MP -MF ".deps/dl10k1-dl10k1.Tpo" -c -o dl10k1-dl10k1.o `test -f 'dl10k1.c' || echo './'`dl10k1.c; \ then mv -f ".deps/dl10k1-dl10k1.Tpo" ".deps/dl10k1-dl10k1.Po"; else rm -f ".deps/dl10k1-dl10k1.Tpo"; exit 1; fi dl10k1.c: In function `driver_init_dsp': dl10k1.c:159: error: subscripted value is neither array nor pointer dl10k1.c:160: error: subscripted value is neither array nor pointer dl10k1.c:162: error: subscripted value is neither array nor pointer dl10k1.c:163: error: subscripted value is neither array nor pointer dl10k1.c: In function `dump_load': dl10k1.c:358: error: subscripted value is neither array nor pointer dl10k1.c:359: error: subscripted value is neither array nor pointer dl10k1.c:362: error: subscripted value is neither array nor pointer dl10k1.c:363: error: subscripted value is neither array nor pointer dl10k1.c:368: error: subscripted value is neither array nor pointer dl10k1.c:369: error: subscripted value is neither array nor pointer dl10k1.c:372: error: subscripted value is neither array nor pointer dl10k1.c:373: error: subscripted value is neither array nor pointer make[2]: *** [dl10k1-dl10k1.o] Error 1 make[2]: Leaving directory `/home/rlrevell/cvs/ld10k1-0.1.7test3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/rlrevell/cvs/ld10k1-0.1.7test3' make: *** [all] Error 2 Lee |
From: Lee R. <rlr...@jo...> - 2004-12-05 02:54:46
|
On Sat, 2004-12-04 at 14:19 +0100, Melanie wrote: > Error: unable to peek code > Error: error in main loop > > I have a SB Live! 5.1 card with LiveDrive IR. I get the exact same error. I have an Audigy 2 ZS. Looks like a bug. Lee |
From: Melanie <me...@t-...> - 2004-12-04 13:29:02
|
Hi, I just installed ld10k1. When I try to start it, I get: Error: unable to peek code Error: error in main loop I have a SB Live! 5.1 card with LiveDrive IR. I would appreciate some pointers. Melanie |
From: Lee R. <rlr...@jo...> - 2004-11-17 01:07:19
|
Peter, Now that the emu10k1's timer is supported, the following might be relevant. I found that the kX driver does not use this for PCM timing. The timer is only active when the kX mixer app is running, and the rate is always 480 which is 100Hz. This leads me to believe that the timer is being used to update the VU meters. Does this sound reasonable? Lee |
From: Peter Z. <pz...@po...> - 2004-09-27 08:23:19
|
New release of ld10k1 and qlo10k1 is available at <http://ld10k1.sourceforge.net> ld10k1 0.1.7test3 =09Fixed bug in liblo10k1lf_save_patch - Mikael Magnusson =09ld10k1 will exit with error code if it can not connect to ld10k1 - Mikael Magnusson=20 qlo10k1 0.1.1test1 =09No more needs for kde - only qt is needed =09Sync with lo10k1 - save dsp config, load dsp config, save patch =09Source cleanup Peter Zubaj =0A____________________________________=0Ahttp://www.pobox.sk/ - spolahliva= a bezpecna prevadzka=0A=0A=0A |
From: Peter Z. <pz...@po...> - 2004-09-21 11:40:48
|
New release of ld10k1 is available at <http://ld10k1.sourceforge.net> 0.1.7test2 =09License for liblo10k1 was changed from GPL to LGPL. Other parts are still GPLed. =09Fixed getopt_long handling - Mikael Magnusson =09Fixed free bug in liblo10k1lf_get_dsp_config - Mikael Magnusson =09Fixed (copy & paste) bug in liblo10k1lf_load_patch - thanks to Mikael Magnusson=20 Peter Zubaj =0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REKLA= MA =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =0ASpolocnost SUN Microsystems uviedla na trh novy server Sun Fire V20z=0Az= alozeny procesoroch AMD Opteron.=0AViac informacii najdete na : http://www.= somi.sk/sun/v20z.php=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A |
From: Peter Z. <pz...@po...> - 2004-09-17 11:26:23
|
New release of ld10k1 is available at <http://ld10k1.sourceforge.net> 0.1.7test1 =09!!! This version of ld10k1 requires ALSA 1.0.7 - both alsa-lib and alsa-driver !!! =09!!! In current kernel 2.6.8.1 is still ALSA 1.0.4 !!! =09Moved emu patch loading to liblo10k1 =09Moved emu patch to ld10k1 patch transforming to liblo10k1 =09DSP config can by stored and restored. =09New lo10k1 options --store, --restore, --save_patch, --load_patch, --wai= t =09Some source reorganization. This is test relase, because there were many changes in file handling. This release should simplify compilation, because no more kernel headers are needed. qlo10k1 will not compile with this release (qlo10k will be fixed later). Peter Zubaj =0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D REKLAMA =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A*BUENA VISTA SOCIAL CLUB* Info: += 421 904 666 363=0A*Ibrahim Ferrer* http://www.xl.sk=0A*3.= oktobra 2004 o 20,00 hod* email: mailto:bu...@xl...=0A*Bratislava, IN= CHEBA - hala C*=0A |
From: Erik S. <er...@ol...> - 2004-08-31 19:46:16
|
Hi, Bothering you once more... I appear to have only one subdevice (hw:0,0), no (hw:0,1) etc. Your suggestion to have aplayer route the samples to front/rear etc. won't work because the programs I am using, don't understand that (mpg321, esound+alsaplayer). Do you have another solution to put two audio streams into the emu10k1 where I can treat them seperately? |
From: Erik S. <er...@ol...> - 2004-08-31 17:17:07
|
This is what I did a few min's ago (nicked from the sblive_init script): lo10k1 --patch_name "FX Bus" -a fxbus.emu10k1 lo10k1 --conadd "PIN(FX Bus)=FX(FX_PCM_Left,FX_PCM_Right,FX_PCM_Surr_Left,FX_PCM_Surr_Right,FX_MIDI_Left,FX_MIDI_Right,FX_Center,FX_LFE,8,9)" lo10k1 -n --ctrl "c-Left,Right:pcmvol,t-pcmvol:1,s-pcmvol:100#100" --patch_name pcmvol -a vol_2.emu10k1 lo10k1 --conadd "PIN(pcmvol,0,1)=POUT(FX Bus,0,1)" lo10k1 --conadd "POUT(pcmvol,0,1)=OUT(2,3)" It's also sort of recommended by Peter and... it works. I don't get it. I am happy though ;-) I suspect the --ctrl "v-pcmvol:1" was the problem. Thanks for the help. |
From: Erik S. <er...@ol...> - 2004-08-31 15:57:07
|
> If you use app with ALSA OSS emulation then for 1 oss device you can > use only one card: > /dev/dsp0 = SB Live and you can not use /dev/dsp1 = Sb Live too at > same time. Ok, clear. All the apps I am planning to run support alsa anyway, although I have to find out to make them use the other pcm device. At the moment I focus on step 1: routing pcm input to spdif output with a volume control. As long as I can't get that working, the rest will have to wait. > These FX buses are from /dev/dsp0 (OSS) and from alsa front device > FXBUS_PCM_LEFT 0x00 > FXBUS_PCM_RIGHT 0x01 Yep, these are for the moment the only ones I am interested in. > First load six 2 channel volume control patches (number 0 to 5) > > make these connection: > PIN(0,0,1)=FX(0,1) > PIN(1,0,1)=FX(2,3) > > PIN(2,0,1)=POUT(0,0,1) > PIN(3,0,1)=POUT(1,0,1) > PIN(4,0,1)>POUT(0,0,1) > PIN(5,0,1)>POUT(1,0,1) > > headphone output > POUT(2,0,1)=OUT(6,7) > POUT(3,0,1)>OUT(6,7) > > optical output > POUT(4,0,1)=OUT(2,3) > POUT(5,0,1)>OUT(2,3) This is what I did for step 1 (see above): # this would make a 2 channel volume control with 1 "knob" lo10k1 -n --ctrl "c-Left,Right:pcmvol,t-pcmvol:1,s-pcmvol:100" --patch_name pcmvol -a vol_2.emu10k1 # this would connect the PCM channels to the volume patch lo10k1 --conadd "PIN(pcmvol,0,1)=FX(0,1)" # this would connect the volume patch to the spdif outputs lo10k1 --connadd "POUT(pcmvol,0,1)=OUT(2,3)" That's it. It gives me one channel only. I have this feeling that (from /proc/asound/card0/emu10k1) this is bad, but I don't know how to fix it: Captured FX Outputs : Output 00 [PCM Left] Output 12 [MIDI Reverb] > diffrence between = and > is that = first disconnect target and then > connect and > will only connect to target Yep, I already figured that. But it's not a problem for the moment. > If you have still problem, than I can make this script for you, but I > can do this next week. Or you can try qlo10k1. That's a nice offer, but I prefer to do it myself, I want to understand the whole thing. Also I can't compile ql10k1 because I don't have kde... But with some help I am sure I'll manage somehow. With the oss driver I managed too after a lot of hassle. Thank you for your help so far. |
From: Peter Z. <pz...@po...> - 2004-08-31 14:21:53
|
Hi, If you use app with ALSA OSS emulation then for 1 oss device you can use only one card: /dev/dsp0 =3D SB Live and you can not use /dev/dsp1 =3D Sb Live too at same time. If you use alsa app then you can specify diffrent device and this will be no problem. For example you can use aplay -D front to play sound only on front speakers and aplay -D rear speakers. Each of these devices maps to to diffrent FX buses. These FX buses are from /dev/dsp0 (OSS) and from alsa front device FXBUS_PCM_LEFT=09=090x00 FXBUS_PCM_RIGHT=09=090x01 These FX buses are from alsa rear device FXBUS_PCM_LEFT_REAR=090x02 FXBUS_PCM_RIGHT_REAR=090x03 These FX buses are from alsa center/lfe device FXBUS_PCM_CENTER=090x06 FXBUS_PCM_LFE=09=090x07 For ALSA you can define more devices with .asoundrc for OSS emulation you are limited to FX bus 0 and 1. For SB Live you may use "FX Bus" patch from init_sblive to corect volumes. I think, that you can do what you need with ld10k1 for alsa app (you needs specify device names). For oss apps you can not play diffrent sound to diffren speakers (they all will end in FX bus 0,1). First load six 2 channel volume control patches (number 0 to 5) make these connection: PIN(0,0,1)=3DFX(0,1) PIN(1,0,1)=3DFX(2,3) PIN(2,0,1)=3DPOUT(0,0,1) PIN(3,0,1)=3DPOUT(1,0,1) PIN(4,0,1)>POUT(0,0,1) PIN(5,0,1)>POUT(1,0,1) headphone output POUT(2,0,1)=3DOUT(6,7) POUT(3,0,1)>OUT(6,7) optical output POUT(4,0,1)=3DOUT(2,3) POUT(5,0,1)>OUT(2,3) diffrence between =3D and > is that =3D first disconnect target and then connect and > will only connect to target If you have still problem, than I can make this script for you, but I can do this next week. Or you can try qlo10k1. Peter Zubaj =0A____________________________________=0Ahttp://www.logofun.pobox.sk - uro= bte radost svojmu telefonu=0A |
From: Erik S. <er...@ol...> - 2004-08-31 13:25:09
|
On Tue, 2004-08-31 at 14:24, Erik Slagter wrote: > Hi, > > I use my sblive+livedrive to have music 24x7 in my bathroom and on > demand in the living room (which obviously need different volume > settings). > > Until recently I was using the oss emu10k1 driver and I used a script > that > > - cleared out all routing in the emu10k1 > - attached a volume patch+control (1) to /dev/dsp > - attached a volume patch+control (2) to /dev/dsp1 > - attached (1) to a volume patch+control to optical out (/dev/dsp -> > living room) > - attached (2) to a volume patch+control to optical out (/dev/dsp1 -> > living room) > - attached (1) to a volume patch+control to headphone out (/dev/dsp -> > bathroom) > - attached (2) to a volume patch+control to headphone out (/dev/dsp1 -> > bathroom) > > This is all I want to do, I do not even use AC'97, 5.1 or capturing. It > all worked fine. > > Now I want to do the same thing with ld10k1 using alsa, but I cannot get > it working. > > I already found out that the pcm devices (both alsa and oss) are > available on the FX bus (and not as INput). Whatever I do though, I only > get one of both channels. > > If I simply route FX(0,1) to OUT(2,3), I only get 1 channel (and also > attenuated) > > Then I added the "FX Bus" patch from init_sblive script. It boosts the > volume to a normal level (I know there is some issue with the emu10k1 > giving too low levels on pcm), but if I connect the outputs FX Bus(0,1) > outputs to something I still only get 1 channel. > > Is there a clean way to get only L+R from the alsa/oss pcm devices (I > only put in L+R, so any other channels aren't used anyway), run it > through a volume control and have to output to optical and headphone? > > Suggestions? Even some explication or pointers about the FX bus on alsa > would be very welcome. > > Thanks. Hmmm. Cat /proc/asound/card0/emu10k1 says: Captured FX Outputs: Output 00 [PCM Left] Output 12 [MIDI Reverb] Could this be the cause maybe? |
From: Erik S. <er...@ol...> - 2004-08-31 12:24:08
|
Hi, I use my sblive+livedrive to have music 24x7 in my bathroom and on demand in the living room (which obviously need different volume settings). Until recently I was using the oss emu10k1 driver and I used a script that - cleared out all routing in the emu10k1 - attached a volume patch+control (1) to /dev/dsp - attached a volume patch+control (2) to /dev/dsp1 - attached (1) to a volume patch+control to optical out (/dev/dsp -> living room) - attached (2) to a volume patch+control to optical out (/dev/dsp1 -> living room) - attached (1) to a volume patch+control to headphone out (/dev/dsp -> bathroom) - attached (2) to a volume patch+control to headphone out (/dev/dsp1 -> bathroom) This is all I want to do, I do not even use AC'97, 5.1 or capturing. It all worked fine. Now I want to do the same thing with ld10k1 using alsa, but I cannot get it working. I already found out that the pcm devices (both alsa and oss) are available on the FX bus (and not as INput). Whatever I do though, I only get one of both channels. If I simply route FX(0,1) to OUT(2,3), I only get 1 channel (and also attenuated) Then I added the "FX Bus" patch from init_sblive script. It boosts the volume to a normal level (I know there is some issue with the emu10k1 giving too low levels on pcm), but if I connect the outputs FX Bus(0,1) outputs to something I still only get 1 channel. Is there a clean way to get only L+R from the alsa/oss pcm devices (I only put in L+R, so any other channels aren't used anyway), run it through a volume control and have to output to optical and headphone? Suggestions? Even some explication or pointers about the FX bus on alsa would be very welcome. Thanks. |
From: Peter Z. <pz...@po...> - 2004-08-27 13:11:12
|
Hi, Try this: ./configure --prefix=3D/usr make make install to use qlo10k1 ./configure make make install in one terminal use su to become root ld10k1 in second terminal as normal user init_audigy - if you have audigy card init_sblive - if you have sb live then you can run qlo10k1 to change routing Warning: This is still not user friendly as it can be, and is still development version, so expect problems. Peter Zubaj=0A____________________________________=0Ahttp://www.logofun.pob= ox.sk - urobte radost svojmu telefonu=0A |
From: Sebastian J. <seb...@ho...> - 2004-08-26 18:55:38
|
I read the INSTALL file and followed the instructions but it dosn't work. :( What I did: ./configure make make install What should I do? _________________________________________________________________ Lättare att hitta drömresan med MSN Resor http://www.msn.se/resor/ |