From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 23:40:37 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 2982A16A420; Tue, 3 Jan 2006 23:40:37 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id C589B43D6D; Tue, 3 Jan 2006 23:39:14 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id DD28E6CC2B; Wed, 4 Jan 2006 07:45:37 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (TOMOYO.MYBSD.ORG.MY [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 45489-02; Wed, 4 Jan 2006 07:45:36 +0800 (MYT) Received: from misaki (misaki.MyBSD.org.my [IPv6:2001:328:2002:aa2:dead:babe:feed:beef]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 306C56CC2A; Wed, 4 Jan 2006 07:45:35 +0800 (MYT) Date: Wed, 4 Jan 2006 07:39:03 +0800 From: Ariff Abdullah To: Simon Barner Message-Id: <20060104073903.1c21146e.skywizard@MyBSD.org.my> In-Reply-To: <20060103225947.GA2815@zi025.glh.mhn.de> References: <20060103213654.GA1039@zi025.glh.mhn.de> <20060104055721.4182120e.skywizard@MyBSD.org.my> <20060103225947.GA2815@zi025.glh.mhn.de> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by Amavisd AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@FreeBSD.org 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:40:37 -0000 On Tue, 3 Jan 2006 23:59:47 +0100 Simon Barner wrote: > > I did the following to enable vchans: > > # kldunload snd_solo.ko > # sysctl hw.snd.maxautovchans=2 > # kldload snd_solo.ko > > pcm0: port > 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb80f,0xbc00-0xbc03,0xc000-0xc0 > 03 irq 10 at device 20.0 on pci0 pcm0: [GIANT-LOCKED] > pcm0: vchan_create(pcm0:play:0) == -1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Pretty much what I need :) > > 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) gave me the same error about vchan_create. > Ignore that patch entirely. I'll come to you as soon I have something for you to test with. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)