From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 23:16:28 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C82D016A420 for ; Tue, 3 Jan 2006 23:16:28 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88CEB43D91 for ; Tue, 3 Jan 2006 23:16:17 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so1788760wxc for ; Tue, 03 Jan 2006 15:16:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QZ5oc2AD0WEE5bCoAs9ADSQs3fRSMQmIoajL8nLXuTWl2SxusbR2BJB04A11tpOayDEj6GYIhPCXxW3yisqVqe09Ubo2TOObqTVsThu3KVJE4PcGmDVpSil6Eato13M28gx/xiNiTtC8vDpwNBcxzGidxOGhIMZdPEQfvuFuZMU= Received: by 10.70.54.8 with SMTP id c8mr343851wxa; Tue, 03 Jan 2006 15:16:16 -0800 (PST) Received: by 10.70.66.9 with HTTP; Tue, 3 Jan 2006 15:16:16 -0800 (PST) Message-ID: Date: Tue, 3 Jan 2006 17:16:16 -0600 From: Nikolas Britton To: Simon Barner In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060103213654.GA1039@zi025.glh.mhn.de> <20060104055721.4182120e.skywizard@MyBSD.org.my> <20060103225947.GA2815@zi025.glh.mhn.de> Cc: freebsd-multimedia@freebsd.org, netchild@freebsd.org, Ariff Abdullah Subject: Re: snd_solo broken after big MFC to RELENG_6 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: Tue, 03 Jan 2006 23:16:28 -0000 On 1/3/06, Nikolas Britton wrote: > On 1/3/06, Simon Barner wrote: > > > How about enabling vchans? Try to enable that first and see whether > > > that should help. If not, try this patch: > > > > > > http://people.freebsd.org/~ariff/test/solo.c.diff > > > > Hello Ariff, > > > > thanks for the quick reply :-) Unfortuantely, neither enabling vchans n= or > > your patch helped me. > > > > I did the following to enable vchans: > > > > # kldunload snd_solo.ko > > # sysctl hw.snd.maxautovchans=3D2 > > # kldload snd_solo.ko > > > > pcm0: port 0xb000-0xb03f,0xb400-0xb40f,0x= b800-0xb80f,0xbc00-0xbc03,0xc000-0xc003 irq 10 at device 20.0 on pci0 > > pcm0: [GIANT-LOCKED] > > pcm0: vchan_create(pcm0:play:0) =3D=3D -1 > > > > The same happens for other values (I tried 1 and 5), and when I reboot = the > > system and load the module and set the sysctl from loader.conf > > > > Your patch didn't make any difference (same error with vchans). I also = tried > > removing other output formats, leaving me with either of AFMT_S16_LE > > AFMT_STEREO | AFMT_S16_LE (I also tried various other combinations) gav= e me > > the same error about vchan_create. > > > > Don't you need to set vchans *before* the system is running? such as > in /boot/loader.conf: > > ## Sound Support > #sound_load=3D"YES" > #snd_emu10k1_load=3D"YES" > #snd_driver_load=3D"YES" > hw.snd.maxautovchans=3D4 > hw.snd.targetirqrate=3D36 > hint.pcm.0.buffersize=3D"16384" > > ## Misc. Sound > #hw.snd.report_soft_formats: 1 > #hw.snd.verbose: 1 > #hw.snd.unit: 0 > #hw.snd.maxautovchans: 4 > #hw.snd.pcm0.buffersize=3D8192 > #hw.snd.pcm0.vchans: 0 > Sorry I guess I should have read a bit more of your post because you did try that... Have you try'd not using the autovchans... I think the other one is hw.snd.pcm0.vchans=3Dfoo