From owner-freebsd-multimedia Sat Jun 2 16:34:14 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by hub.freebsd.org (Postfix) with ESMTP id 8C67A37B423 for ; Sat, 2 Jun 2001 16:34:10 -0700 (PDT) (envelope-from scott_long@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id QAA06652; Sat, 2 Jun 2001 16:34:09 -0700 (PDT) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [162.62.64.10]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id QAA12345; Sat, 2 Jun 2001 16:23:50 -0700 (PDT) Received: from btcexc01.btc.adaptec.com (btcexc01 [162.62.147.10]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id RAA08361; Sat, 2 Jun 2001 17:34:05 -0600 (MDT) Received: by btcexc01.btc.adaptec.com with Internet Mail Service (5.5.2650.21) id ; Sat, 2 Jun 2001 17:34:06 -0600 Message-ID: From: "Long, Scott" To: "'Ben Speirs'" , Jamie Bowden Cc: multimedia@freebsd.org Subject: RE: ESS Maestro 3 and XAnim Date: Sat, 2 Jun 2001 17:34:00 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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