Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2001 17:34:00 -0600 
From:      "Long, Scott" <scott_long@btc.adaptec.com>
To:        "'Ben Speirs'" <igiveup@ix.netcom.com>, Jamie Bowden <ragnar@sysabend.org>
Cc:        multimedia@freebsd.org
Subject:   RE: ESS Maestro 3 and XAnim
Message-ID:  <DE0BBA556B46D511BB5F0000D11ABE9228CC39@btcexc01.btc.adaptec.com>

next in thread | raw e-mail | index | archive | help
I've never used xanim, but this behaviour doesn't surprise me.  Two things
here:

1.  Don't forget that there are four channels on the Maestro3 than can be
used for playback.  /dev/dsp is actaully /dev/dsp0.0, and there is dsp0.1,
dsp0.2, and dsp0.3 (along with the dspW variants, etc).  I don't think that
4.x makes these extra /dev nodes by default, so you will have to run
/dev/MAKEDEV.  Yes, the driver will not unload until all channels have been
closed.  So if you get in a pinch, use another channel.

2.  There seems to be an issue where if 'device pcm' is compiled into the
kernel and you load snd_maestro3, it will erroneously load snd_pcm.  Once
this has happened, any attempts to unload snd_pcm will result in a panic.
The workaround is to remove 'device pcm' from your kernel.

Scott

> -----Original Message-----
> From: Ben Speirs [mailto:igiveup@ix.netcom.com]
> Sent: Friday, June 01, 2001 7:06 PM
> To: Jamie Bowden
> Cc: multimedia@freebsd.org
> Subject: Re: ESS Maestro 3 and XAnim
> 
> 
> Jamie Bowden wrote:
> > 
> > Got a wierd one.  If I use xanim (pkg or compile it myself, 
> either way
> > yields the same result), it locks the dsp device up when it exits.
> > Annoying but liveable, or so I thought.
> > 
> > I attempted to unload the snd_maestro3.ko module and get 
> told the channel
> > is locked and that I can't.  Okay, so I try to unload the snd_pcm.ko
> > module instead, thinking that will free up the channel.  It 
> freed it up in
> > the form of a kernel panic.  Unfortunately, I don't have 
> that in front of
> > me, or I'd include a screen dump.  Anyone else seen this?  It is
> > repeatable.
> > 
> > Jamie Bowden
> 
> 
> If you are seeing the same thing I am, xanim starts up two processes
> (forks?).  One probably controls the Video and controls, the other
> audio.  When you exit the process with the lowest PID goes 
> away but the
> second one with the higher PID lives on.  It seems to jam the dsp
> device.  Kill it and you get your sound back.  You probably get the
> ability to unload sound kernel drivers too.
> 
> I have stopped using xanim because of this problem.  Too bad, it was a
> cool little utility.
> --
> -Ben Speirs
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-multimedia" in the body of the message
> 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DE0BBA556B46D511BB5F0000D11ABE9228CC39>