From owner-freebsd-sparc64@FreeBSD.ORG Thu Aug 20 22:31:14 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A34B2106568C for ; Thu, 20 Aug 2009 22:31:14 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 533878FC60 for ; Thu, 20 Aug 2009 22:31:14 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so168934qwe.7 for ; Thu, 20 Aug 2009 15:31:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=a80iFzd1Jj61keKdz3pHbM00V9pOiNKruVlfDOggDTI=; b=vtl21UoTExPtaB7uWDxQSaS3Wl1tffsK2l2fgbx2LGduSoiaswqXyXXApfgDdtBxMX 8fEp9QMS6WzrNP2vNQ7Xwi5i1G/xe5Z8ruafZpvEqmEqK6MgyrwLGFYBIvKdPlbrV1F+ NZErqZSRlGuKR5xCZSBkRVREkRbS3DEI625Oo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=EdNX+BKQvj7LXh/DL0cJHpKmxZ69gECtTo9RCcBmx57tSbnzt6iMN+da9P31BRymPp R2EQaYgZY9qOOw6tCYXdkDBiNDweR6dsngOJCMFwdjNTdRA4JI/eL3X/pxO+RIvkE+gG enG9Crr11HsV44jxorNqMkOXXDQff8bMs2N8Y= Received: by 10.224.96.207 with SMTP id i15mr311609qan.179.1250807473542; Thu, 20 Aug 2009 15:31:13 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 7sm2848713qwb.4.2009.08.20.15.31.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 20 Aug 2009 15:31:12 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Thu, 20 Aug 2009 15:30:34 -0700 From: Pyun YongHyeon Date: Thu, 20 Aug 2009 15:30:34 -0700 To: Christian Ramseyer Message-ID: <20090820223034.GD1262@michelle.cdnetworks.com> References: <4A7C6B50.3070503@networkz.ch> <20090817205340.GA75477@alchemy.franken.de> <20090817215612.GB75477@alchemy.franken.de> <20090818192748.GA6585@alchemy.franken.de> <20090819161410.GA19351@alchemy.franken.de> <4A8DC0DF.4040701@networkz.ch> <20090820214938.GC1262@michelle.cdnetworks.com> <4A8DCA9F.80902@networkz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A8DCA9F.80902@networkz.ch> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: Audio on Sunblade 100 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2009 22:31:14 -0000 On Fri, Aug 21, 2009 at 12:13:51AM +0200, Christian Ramseyer wrote: > > >> > >> Unfortunately, the actual "playing sound part" is not going too well. > >> When I do e.g. : > >> > >> rc@ds9000:~ $ mpg321 03\ Wonderful\ Night\ \(feat\ Lateef\).mp3 > >> High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3. > >> > >> I sometimes get some seconds of sound, but most of the time only silence > >> or a short burst of static, and then > >> > >> pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead > >> > >> appears on the console. > >> > > > > How about disabling vchans in /boot/loader.conf? > > (dev.pcm.0.play.vchans="0") > > Setting this in /boot/loader.conf didn't seem to have any effect: > > [root@ds9000 ~]# cat /boot/loader.conf > dev.pcm.0.play.vchans="0" > > (reboot) > > [root@ds9000 ~]# sysctl dev.pcm.0.play > dev.pcm.0.play.vchans: 1 > > However, I was able to set it via sysctl (is this the same?): > > [root@ds9000 ~]# sysctl dev.pcm.0.play.vchans="0" > dev.pcm.0.play.vchans: 1 -> 0 > > There isn't any sound either, but the logged message changes: > > pcm0:play:dsp0.p0: play interrupt timeout, channel dead > Hmm, I think this rules out vchans, so let's see marious' opinion.