From owner-freebsd-current Tue Dec 7 14: 0:15 1999 Delivered-To: freebsd-current@freebsd.org Received: from uni-sb.de (uni-sb.de [134.96.252.33]) by hub.freebsd.org (Postfix) with ESMTP id 6C87514EEE for ; Tue, 7 Dec 1999 14:00:07 -0800 (PST) (envelope-from schuerge@wjpserver.CS.Uni-SB.DE) Received: from cs.uni-sb.de (cs.uni-sb.de [134.96.252.31]) by uni-sb.de (8.9.3/1999070600) with ESMTP id XAA09843; Tue, 7 Dec 1999 23:00:03 +0100 (CET) Received: from wjpserver.cs.uni-sb.de (wjpserver.cs.uni-sb.de [134.96.247.42]) by cs.uni-sb.de (8.9.3/1999031900) with ESMTP id XAA09140; Tue, 7 Dec 1999 23:00:02 +0100 (CET) Received: (from schuerge@localhost) by wjpserver.cs.uni-sb.de (8.9.3/8.9.3/wjp-SVR4/1999052600) id XAA14065; Tue, 7 Dec 1999 23:00:02 +0100 (MET) From: Thomas Schuerger Message-Id: <199912072200.XAA14065@wjpserver.cs.uni-sb.de> Subject: Re: AWE64 problems In-Reply-To: <19991207222414.A555@radio-do.de> from Frank Nobis at "Dec 7, 1999 10:24:15 pm" To: Frank Nobis Date: Tue, 7 Dec 1999 23:00:02 +0100 (MET) Cc: freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL57 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > I am still having problems getting my AWE64 soundcard to > > work with the newpcm driver (the "old" pcm driver worked > > fine). > > > > Any ideas what I am doing wrong? Are there more people > > having problems with their AWE64? > > I had the same problem with my AWE64. An older kernel > @(#)FreeBSD 4.0-CURRENT #1: Sun Nov 28 18:54:55 CET 1999 > was working correct with "device pcm" and "device sbc" > > I dived into the source and put some printf's. I noticed that the > sbc_attach never got called. This is my patch. Now it is working again, > but I don't have a clue if I did it the right way. > > > --- sbc.c.orig Mon Dec 6 19:26:31 1999 > +++ sbc.c Tue Dec 7 22:15:25 1999 > @@ -110,7 +110,7 @@ > if (error) > return error; > else > - return -100; > + return -1; > } > > static int Works fine for me. Thanks!!! Ciao, Thomas Schürger. http://www.menden.augustin.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message