From owner-freebsd-multimedia@FreeBSD.ORG Sat Mar 31 12:44:34 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7469E16A402; Sat, 31 Mar 2007 12:44:34 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id ABCED13C44B; Sat, 31 Mar 2007 12:44:33 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [193.217.102.48] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe06.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 453368645; Sat, 31 Mar 2007 14:44:32 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, freebsd-multimedia@freebsd.org Date: Sat, 31 Mar 2007 14:44:12 +0200 User-Agent: KMail/1.9.5 References: <008701c77317$1dfbc5f0$59f351d0$@net> <200703311315.31654.hselasky@c2i.net> <009d01c77390$66923050$33b690f0$@net> In-Reply-To: <009d01c77390$66923050$33b690f0$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200703311444.12171.hselasky@c2i.net> Cc: "Hofmann, Laurent" Subject: Re: Memory leak / Kernel Panic using snd_uaudio (USB Sound Card) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2007 12:44:34 -0000 On Saturday 31 March 2007 14:30, Hofmann, Laurent wrote: > -----Message d'origine----- > De=A0: owner-freebsd-usb@freebsd.org [mailto:owner-freebsd-usb@freebsd.or= g] > De la part de Hans Petter Selasky > Envoy=E9=A0: samedi 31 mars 2007 13:16 > =C0=A0: freebsd-usb@freebsd.org > Objet=A0: Re: Memory leak / Kernel Panic using snd_uaudio (USB Sound Card) > > > Just do a SVN update and try again. By a mistake I removed a patch for > FreeBSD > 6.2. > > --HPS > > > Thank you very much. It compiled like a charm. I also included the driver > in the kernel instead of using it as a module. > I'm now playing some music, I will tell you if the kernel panic still > occur... Ok. > > Just one more remark : > The driver is not detected as before : > uaudio0: > uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format > uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format > uaudio0: No midi sequencer > uaudio0: WARNING: Unplugging the device while it is in use will cause a > panic! > pcm0: on uaudio0 > > dolphin# cat /dev/sndstat > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: at ? (1p/1r/0v channels duplex default) > > Before I had more lines, one of these lines was indicating a 6 channel > device. Now I have the feeling that only the front channels are available= ? I don't know if the current audio system supports more than 2 channels. There is a knob in uaudio.c that you can tune: static u_int8_t uaudio_default_channels =3D 2; But you probably have to add some code to tell the upper sound layers that= =20 there is more than 2 channels! > > PS : Do you know when these drivers will be included in Freebsd ? > I hoped before 7.0 was out, but it might be later. I am not the one decidin= g=20 that. But if many people like you turn up and tell the list how much faster= =20 and how much more solid the new USB stack is, then it might happen faster ;= =2D) =2D-HPS