On Wed, 10 Apr 2002, 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.

You can use fuser for this job as well:

fuser -v /dev/snd/*

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project  http://www.alsa-project.org
SuSE Linux    http://www.suse.com


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

Reply via email to