disabling full duplex in oss emulation
Is there a way to disable full duplex mode at runtime for OSS emulation? Perhaps a writable /proc entry or an environment variable? I have a SBLive, which uses the emu10k1 driver.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 3 lines · James C Georgas
Is there a way to disable full duplex mode at runtime for OSS emulation? Perhaps a writable /proc entry or an environment variable? I have a SBLive, which uses the emu10k1 driver.
I don't think so. What problem are you trying to solve?
Lee
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
A message that is not in the archive (sent off-list or not yet received): 1155509598.8211.5.camel@Rainsong
A message that is not in the archive (sent off-list or not yet received): 1155514074.19474.7.camel@mindpipe
Quoted 8 lines · Lee Revell
Quoted 3 lines · James C Georgas
Is there a way to disable full duplex mode at runtime for OSS emulation? Perhaps a writable /proc entry or an environment variable? I have a SBLive, which uses the emu10k1 driver.
I don't think so. What problem are you trying to solve?
Lee
The problem is a game called Terminus. It spawns separate threads to handle each half of the duplex. However, one of the threads has a bug in it I think, because it goes into an endless loop and hangs the whole app. It works fine with native OSS drivers, because the OSS emu10k1 driver doesn't implement full duplex, and the program skips spawning the thread.
So basically, I need a way to turn off full duplex before running this program.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 9 lines · James C Georgas
The problem is a game called Terminus. It spawns separate threads to handle each half of the duplex. However, one of the threads has a bug in it I think, because it goes into an endless loop and hangs the whole app. It works fine with native OSS drivers, because the OSS emu10k1 driver doesn't implement full duplex, and the program skips spawning the thread.
So basically, I need a way to turn off full duplex before running this program.
I have posted to this list about 'Linux Duplex bug', which arises because the OSS control can only set one value for DSP_NUMBER_OF_CHANNELS. Problems occur if the duplex stream has different record and playback numbers of channels. Just in case this is relevant here, look up the posting.
Alan
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
At Sun, 13 Aug 2006 17:27:39 -0400,
Quoted 4 lines · James C Georgas
Is there a way to disable full duplex mode at runtime for OSS emulation? Perhaps a writable /proc entry or an environment variable? I have a SBLive, which uses the emu10k1 driver.
Yes, see ALSA-Configuration.txt and Procfile.txt.
Takashi
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 9 lines · Takashi Iwai
At Sun, 13 Aug 2006 17:27:39 -0400,
Quoted 4 lines · James C Georgas
Is there a way to disable full duplex mode at runtime for OSS emulation? Perhaps a writable /proc entry or an environment variable? I have a SBLive, which uses the emu10k1 driver.
Yes, see ALSA-Configuration.txt and Procfile.txt.
Thanks for the tip.
Seems that I don't have the /proc/asound/card0/pcm#[cp]/oss entries. I'm running 1.0.11 (gentoo packages). Any thoughts?
james@Rainsong /proc/asound/card0 $ ls
codec97#0/ fx8010_code fx8010_tram_data midi1 voices emu10k1 fx8010_gpr id midi2 wavetableD1 fx8010_acode fx8010_tram_addr midi0 oss_mixer
james@Rainsong /proc/asound/card0 $
Quoted 12 lines
Takashi
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
At Wed, 16 Aug 2006 16:18:19 -0400,
Quoted 13 lines · James C Georgas
Quoted 9 lines · Takashi Iwai
At Sun, 13 Aug 2006 17:27:39 -0400,
Quoted 4 lines · James C Georgas
Is there a way to disable full duplex mode at runtime for OSS emulation? Perhaps a writable /proc entry or an environment variable? I have a SBLive, which uses the emu10k1 driver.
Yes, see ALSA-Configuration.txt and Procfile.txt.
Thanks for the tip.
Quoted 8 lines
Seems that I don't have the /proc/asound/card0/pcm#[cp]/oss entries. I'm running 1.0.11 (gentoo packages). Any thoughts?
james@Rainsong
/proc/asound/card0$ lscodec97#0/ fx8010_code fx8010_tram_data midi1 voices emu10k1 fx8010_gpr id midi2 wavetableD1 fx8010_acode fx8010_tram_addr midi0 oss_mixerjames@Rainsong
/proc/asound/card0$
Did you enable CONFIG_SND_VERBOSE_PROCFS?
Takashi
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 18 lines · Takashi Iwai
At Wed, 16 Aug 2006 16:18:19 -0400,
Quoted 16 lines · James C Georgas
Quoted 9 lines · Takashi Iwai
At Sun, 13 Aug 2006 17:27:39 -0400,
Quoted 4 lines · James C Georgas
Is there a way to disable full duplex mode at runtime for OSS emulation? Perhaps a writable /proc entry or an environment variable? I have a SBLive, which uses the emu10k1 driver.
Yes, see ALSA-Configuration.txt and Procfile.txt.
Thanks for the tip.
Seems that I don't have the /proc/asound/card0/pcm#[cp]/oss entries. I'm running 1.0.11 (gentoo packages). Any thoughts?
Quoted 8 lines
Quoted 5 lines
james@Rainsong
/proc/asound/card0$ lscodec97#0/ fx8010_code fx8010_tram_data midi1 voices emu10k1 fx8010_gpr id midi2 wavetableD1 fx8010_acode fx8010_tram_addr midi0 oss_mixerjames@Rainsong
/proc/asound/card0$Did you enable
CONFIG_SND_VERBOSE_PROCFS?
That did the trick. Thanks.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642