From owner-freebsd-sparc64@FreeBSD.ORG Fri Jun 23 09:57:29 2006 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70BF116A494 for ; Fri, 23 Jun 2006 09:57:29 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id D21ED43D46 for ; Fri, 23 Jun 2006 09:57:28 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by nz-out-0102.google.com with SMTP id n29so681982nzf for ; Fri, 23 Jun 2006 02:57:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=iICNIb6zh1/JOlgAVu/+q1T1phLPWPOLzbgb+0Utfb3+MpEVQfdZ3eG2227dRx5CYqm4uC/cBbDVO1z0zLRh/yObmvRTUN+sFZHCvwuxHbIzre4O1dBMQedaZ6KTy7cXtbNAA004YuBXFyucXWgI5r30gE1Cbfr7zb3str4ifvM= Received: by 10.37.13.43 with SMTP id q43mr3511546nzi; Fri, 23 Jun 2006 02:57:28 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.gmail.com with ESMTP id 10sm4285288nzo.2006.06.23.02.57.26; Fri, 23 Jun 2006 02:57:27 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id k5N9wJoo023532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 Jun 2006 18:58:19 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id k5N9wJqo023531; Fri, 23 Jun 2006 18:58:19 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Fri, 23 Jun 2006 18:58:19 +0900 From: Pyun YongHyeon To: Kirill Timofeev Message-ID: <20060623095819.GB21302@cdnetworks.co.kr> References: <4c89aea20606230007n154783cbo60f664d44b18228c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4c89aea20606230007n154783cbo60f664d44b18228c@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-sparc64@freebsd.org Subject: Re: audio support on sun blade 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: Fri, 23 Jun 2006 09:57:29 -0000 On Fri, Jun 23, 2006 at 11:07:32AM +0400, Kirill Timofeev wrote: > Folks, > > I installed freebsd on sun blade 100 > > root@d-espb04-125-186:~>uname -a > FreeBSD d-espb04-125-186 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Jun 20 > 07:18:58 MSD 2006 kvt@d-espb04-125-186:/usr/obj/usr/src/sys/GENERIC > sparc64 > root@d-espb04-125-186:~> > > and can not enable audio hardware. I see the following line in dmesg output > (using default kernel): > > pci0: at device 8.0 (no driver attached) > > I tryed to load audio support using "kldload sound". After that I get > /dev/sndstat, but: > > root@d-espb04-125-186:/usr/src>cd > root@d-espb04-125-186:~>kldload sound > root@d-espb04-125-186:~>cat /dev/sndstat > FreeBSD Audio Driver (newpcm) > Installed devices: > root@d-espb04-125-186:~> > > Sun blade 100 is listed among fully supported systems, so I assumed, that > its sound hardware is also supported. Please let me know if I'm wrong, and > audio hardware is currently not supported, or I'm doing something wrong. > I have no audio hardware experience on blade 100. But I think it has a Trident 4DWave NX/DX compatible chip. The audio hardware is supported with snd_t4dwave(4) on i386. However AFAIK the hardware can't handle DMA addresses located above 1GB. Since sparc64 uses DVMA and if the DVMA address is higher than 1GB it wouldn't work at all. I don't know how Solaris handled this limitation but if there is a way that solves the issue we can easily support a bunch of old PCI audio hardware including SoundBlaster Live! -- Regards, Pyun YongHyeon