From owner-freebsd-sparc64@FreeBSD.ORG Fri Dec 25 00:56:59 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 59848106566B for ; Fri, 25 Dec 2009 00:56:59 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 173DC8FC15 for ; Fri, 25 Dec 2009 00:56:59 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NNyUB-0003N1-4U; Fri, 25 Dec 2009 00:56:58 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NNyU9-0004Ci-PH; Fri, 25 Dec 2009 00:56:54 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBP0urlA002336; Fri, 25 Dec 2009 00:56:53 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBP0uqVQ002335; Fri, 25 Dec 2009 00:56:52 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 25 Dec 2009 00:56:52 +0000 From: Anton Shterenlikht To: Anton Shterenlikht Message-ID: <20091225005652.GA2322@mech-cluster241.men.bris.ac.uk> References: <20091224193546.GA29965@mech-cluster241.men.bris.ac.uk> <4B33D8EB.2000107@acm.poly.edu> <20091224214312.GA1344@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091224214312.GA1344@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -2.1 X-Spam-Level: -- Cc: freebsd-sparc64@freebsd.org Subject: Re: sound on blade 1500? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2009 00:56:59 -0000 On Thu, Dec 24, 2009 at 09:43:12PM +0000, Anton Shterenlikht wrote: > On Thu, Dec 24, 2009 at 04:11:07PM -0500, Boris Kochergin wrote: > > > How can I check which chip I've got in blade 1500? > > > I couldn't find anything is dmesg > > > > > Have a look at the output of "pciconf -lv". A device in the multimedia > > class and audio subclass will be your sound card. > > cool, thank you > > none1@pci0:0:8:0: class=0x040100 card=0x545110b9 chip=0x545110b9 rev=0x02 > hdr=0x00 > vendor = 'Acer Labs Incorporated (ALi/ULi)' > device = 'ALI M5451 PCI AC-Link Controller Audio Device' > class = multimedia > subclass = audio > > I see here > http://www.freebsd.org/news/status/report-2009-04-2009-09.html#FreeBSD/sparc64 > > that snd_t4dwave(4) might be working on sparc64 for this device. kind of worked: mech-anton242# dmesg|grep pcm pcm1: port 0x900-0x9ff mem 0x100000-0x100fff at device 8.0 on pci0 pcm1: pcm1: [GIANT-LOCKED] pcm1: [ITHREAD] mech-anton242# cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/sparc64) Installed devices: pcm1: at io 0x900 irq 1956 [GIANT] (1p:1v/1r:1v channels duplex default) and 'ls -al > /dev/dsp' produces some sound, however, playing a cd with cdcontrol gives only perfect silence: cdcontrol> status Audio status = 17, current track = 1, current position = 0:25.05 No media catalog info available Left volume = 255, right volume = 255 cdcontrol> The volume is max (I think) and no other obvious problems. How can I debug this further? many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423