At Wed, 10 Apr 2002 18:57:40 +1000,
Darryl Cording wrote:
>
> Jaroslav Kysela wrote:
>
> > On Wed, 10 Apr 2002, Darryl Cording wrote:
> >
> >
> >>>I'll try another snapshot in the morning to test.
> >>>
> >>>regards
> >>>darryl
> >>>
> >>>
> >>Ok, this mornings snapshot restores the sound again :-)
> >>
> >>RTCW in single-player still hangs when initialising sound.
> >>
> >>If I run strace on the pid I see it is trying to access /dev/dsp.
> >>
> >>Output from strace.
> >>open("/dev/dsp", O_RDWR
> >>
> >
> > It looks like another process is using PCM device. Look for artsd or
> > esound or some other audio daemons. You should kill them before..
> >
> > Jaroslav
>
> Thanks, I generally kill off artsd and make sure that lsmod doesn't list
> anything using the snd modules before testing. That's the only way I
> know how to start from a clean baseline. Sometimes though I see
> something using the cs46xx module but can't identify which process is
> using it. I usually reboot in these cases. Is there a way to check which
> pid is using what module? something like fuser for filesystems would be
> nice.
i don't know a general way to check the module, too.
but in your case, "fuser /dev/dsp*" would be enough.
also, try to set the default opening mode of oss device as
non-blocking, so that the program won't hang at least. add the
following to /etc/modules.conf
options snd-pcm-oss snd_nonblock_open=1
Takashi
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user