Hi Takashi ,

Takashi Iwai wrote:

>Hi Darryl,
>
>At Sat, 23 Feb 2002 19:54:24 +1000,
>Darryl Cording wrote:
>
>>Darryl Cording wrote:
>>
>>>Takashi Iwai wrote:
>>>
>>>>As default ALSA cs46xx doesn't support OSS mmap (I forgot why..)
>>>>and some games require mmap inevitablly.
>>>>You can try to enable it by defining SND_CONFIG_CS46XX_ACCEPT_VALID
>>>>(around line 51 of pci/cs46xx/cs46xx_lib.c).
>>>>
>>>Thanks Takashi,  this has got it working.   :-)
>>>No real problems discovered yet, shall let you know if something come up.
>>>
>>>darryl
>>>
>>Well it seems I didn't do enough testing. Rtcw  mutilplayer is OK but 
>>single player freezes when initialising sound.
>>
>
>hmm, that's bad..  no kernel oops?
>
No oops, just a slient hang...

One thing I have noticed, that in rtcw muilt-player the sound works ok 
but when you
exit the game, it doesn't exit cleanly. The driver is kept open and in 
use until I issue an
interrupt in the terminal window that the game was run in. Not sure if 
this is significant
or not but I thought I better mention it just in case.

>>Have no option but to kill it at this point.  Unfortunately no error is 
>>produced either, so I have no clue where the problem
>>may lie.  
>>
>>I'll try compiling some debugging options in and re-test. Are there any 
>>specific options that maybe handy for the cs46xx??
>>
>
>the attached patch will add an option snd_mmap_valid.
>
Thanks. I applied the patch ok, configured and compiled ok. 
Unfortunately I get the same original
"cannot open /dev/dsp" error message. I went back and specifically added 
the directive for
SND_CONFIG_CS46XX_ACCEPT_VALID to cs46xx_lib.c, but the problem 
persists. If I try it
without the patch in,  the 'cannot open' error message goes away. The 
patch seems to not use the
SND_CONFIG_CS46XX_ACCEPT_VALID options anymore but instead uses 
directives of the
form CS46XX_BAx_... .I wonder then if SND_CONFIG_CS46XX_ACCEPT_VALID 
should be
define somewhere else or is it retired for this round of testing??

I tried compiling the cvs without the patch in and configured it with 
debug=full, when I get the hang
in rtcw single-user mode,  no error message is produced either on the 
console or in the system log.
There is no core dump produced either.

I can't seem to get the system to cough up an error message so we can 
move forward with this.

>
>
>Takashi
>
regards
Darryl

>



_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to