From owner-freebsd-hackers Fri Jun 22 11: 3:47 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from w2xo.pgh.pa.us (18.gibs5.xdsl.nauticom.net [209.195.184.19]) by hub.freebsd.org (Postfix) with ESMTP id 8384237B401 for ; Fri, 22 Jun 2001 11:03:43 -0700 (PDT) (envelope-from durham@w2xo.pgh.pa.us) Received: from w2xo (w2xo [192.168.5.1]) by w2xo.pgh.pa.us (8.11.3/8.11.3) with ESMTP id f5MHxeQ45854; Fri, 22 Jun 2001 17:59:40 GMT (envelope-from durham@w2xo.pgh.pa.us) Date: Fri, 22 Jun 2001 17:59:40 +0000 (GMT) From: Jim Durham X-Sender: durham@w2xo.int To: Farooq Mela Cc: FreeBSD-Hackers@FreeBSD.ORG Subject: Re: Sound driver changes between 4.2 and 4.3 In-Reply-To: <3B3379BB.949592E3@sm.socccd.cc.ca.us> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 22 Jun 2001, Farooq Mela wrote: > Hi -hackers, > > Several people have made it known to me that games such as Quake2 > which ran fine with sound under the 4.2 kernel are not able to have > sound in 4.3. I have verified this myself - with quake2 under 4.3 > ktrace reports that opening /dev/dsp fails with EBUSY - even though > nothing is using /dev/dsp and other programs are able to open it and > play sound just fine immediately afterwards. Under 4.2 on the same > machine, open()ing /dev/dsp is successful and sound functions. > Figuring out what's going wrong is further complicated by the fact > that these are linux binaries and run under the linux emulator. Could > it be the linux emulator messing something up, and not the sound card? > > Since this is an issue of the userland's interface to the sound driver > and is not concerned with sound driver internals or driving a specific > card (since this problem occurs regardless of sound card), I thought I > might try and see if could fix the problem. I've not done any kernel > programming before, but I'd like to get my feet wet and this seems > like a relatively small project. Any pointers as to where to start? > Anybody else run into similar problems and try to see what is going > wrong? > Are you running gnome desktop? I've been thrashing with esd and it sounds somewhat similar. lsof reports that /dev/dsp is not open to any process, but if you try to run timidity, it says "/dev/dsp busy". I have killed esd and made it work, but not always. I don't know what that my mean. -Jim Durham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message